Add pre-commit hook and use in CI.

This commit is contained in:
David Wobrock authored and David Wobrock committed 2022-12-26 16:26:24 +01:00
1 parent 2ee7dac3b3
commit f86e0622a5
8 files changed
+53 -27

No files matched your search

-1
View File
@@ -6,4 +6,3 @@ A small note on how the linter is usually published to PyPi:
- `pip install wheel twine`
- `python3 setup.py sdist bdist_wheel --universal`
- `twine upload dist/django_migration_linter-X.Y.Z-py3-none-any.whl dist/django-migration-linter-X.Y.Z.tar.gz`
+1 -1
View File
@@ -11,4 +11,4 @@ You can either tweak the ``tests/test_project/settings.py`` file to get your DB
## Database setup
By default, the test Django project in the repository has multiple databases configured in order to make the CI tests work.
Do not hesitate to modify [the configured test databases](../../tests/test_project/settings.py).
Do not hesitate to modify [the configured test databases](../../tests/test_project/settings.py).