Mikuláš Poul
979b6b1046
Allow ignoring initial migrations
...
Sometimes, if your apps have cyclic dependencies or complicated FK structure,
django migrations creates multiple initial migration files, which can very
easily fail linting because they are adding foreign keys or constraints etc.
This adds an option to automatically ignore all initial migrations.
2025-03-30 19:29:56 +02:00
Artem Streltsov
b15924ca0f
Allow ignoring sqlmigrate errors.
2024-03-30 11:36:10 +01:00
David Wobrock
0320cf10dd
Migrate from setup.py and setup.cfg to pyproject.toml
2023-10-29 10:56:37 +01:00
David Wobrock
f86e0622a5
Add pre-commit hook and use in CI.
2022-12-26 16:26:24 +01:00
Sören Wegener
a3fc5f1a50
Improve error message when an unsupported database vendor/SQL analyser was selected.
2022-10-03 15:48:11 +02:00
David Wobrock
c7d9129db9
Adapt 'warnings-as-errors' option to allow taking migration test codes as input
2022-03-13 17:26:40 +01:00
David Wobrock
4fa6a33153
Fix #198 -- Allow using Django settings for linter configuration
2022-02-15 19:21:58 +01:00
David Wobrock
76a55dbb12
Raise when unsupported db vendor, and add option to specify SQL analyser
2022-01-30 15:20:18 +01:00
David Wobrock
0ac5a9dba3
Add pyproject.toml back to available config files
2021-05-26 19:05:33 +02:00
David Wobrock
7c5bcb9923
Document new lintmigrations command arguments
2021-05-26 18:53:19 +02:00
David-Wobrock
2f3ce1d7cc
Remove toml support
2021-04-01 23:11:35 +02:00
Łukasz Skarżyński
ba62f664d4
update supported config files names
2021-02-04 19:22:57 +01:00
David-Wobrock
137089573c
Implement include migration name options
2021-01-31 17:44:58 +01:00
David-Wobrock
2dc4caadf9
Implement config files
2021-01-17 16:28:31 +01:00
David-Wobrock
87040845ed
Fix #106 -- Add forgotten documentation about IgnoreMigration()
2020-05-04 20:41:51 +02:00
David Wobrock
e49f6dea9c
Document, add to changelog the data migrations and rename to 'warnings-as-errors' (plural)
2020-02-07 23:29:15 +01:00
David Wobrock
d01875b3be
add warnings and RunPython basic linting
2020-02-07 23:29:15 +01:00
David-Wobrock
f9dc725e00
Split documentation to multiple files in docs/ and use markdown
2020-01-11 22:35:20 +01:00