David Wobrock
70db245df3
Adapt migration linter to handled returned warnings
2021-06-19 18:15:40 +02:00
David Wobrock
343d163c88
Add Postgresql warning when using CREATE INDEX without CONCURRENTLY keyword
2021-06-19 18:15:40 +02:00
David Wobrock
9ea8872a29
Add warnings type to SQL analyser
2021-06-19 18:15:40 +02:00
David Wobrock
a119b4ba1f
Add codecov coverage
2021-06-06 16:44:20 +02:00
David Wobrock
d8b899248a
Update linting dependencies to latest version
2021-05-26 19:05:33 +02: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
6d595f1555
Add support for positional app_label and migration_name arguments
2021-05-26 18:53:19 +02:00
David Wobrock
bf525ae79d
Make git commit id a named CLI parameter
2021-05-26 18:53:19 +02:00
91e0147f9b
load config from pyproject.toml ( #143 )
...
* load-toml
* move toml to extras_require
* fix linter, add hint
* Update toml PR
- always install toml deps, we can add it to all installs
- don't override the command line config values with the ones from the config files
- handle getboolean again for configparser
- be able to have both a toml and another config file, and both configs are taken into account
* Add changelog message for later
Co-authored-by: aakrivonos <aakrivonos@domclick.ru >
Co-authored-by: David-Wobrock <david.wobrock@gmail.com >
2021-05-25 23:20:07 +02:00
David Wobrock
e56d96a35b
Edit master->main GitHub Actions
2021-05-25 23:15:10 +02:00
David Wobrock
8e57fb2fb0
Add main branch rename to CHANGELOG
2021-05-24 20:23:48 +02:00
David Wobrock
062c60cd31
Add DEFAULT_AUTO_FIELD to settings for explicit PK field
2021-05-02 15:07:16 +02:00
David Wobrock
c988ee3d51
Delete apps.py files for Django 3.2 automatic discovery
2021-05-02 15:07:16 +02:00
David-Wobrock
b2f4c634b5
Bump to 2.5.3
2021-04-12 18:58:02 +02:00
David-Wobrock
f9b172f1b1
Upgrade flake and isort versions for linting
2021-04-12 18:57:03 +02:00
David-Wobrock
09983f5c4c
Add Django 3.2 support
2021-04-12 18:57:03 +02:00
David-Wobrock
4665d167df
Update CHANGELOG with 2.5.3 info
2021-04-12 18:52:15 +02:00
David-Wobrock
27d9115e2e
Update MANIFEST.in content
2021-04-12 18:52:15 +02:00
David-Wobrock
629ff558ef
Fix setup 'packages' argument
...
So that we don't install a 'tests' module globally in each env
2021-04-12 18:52:15 +02:00
David-Wobrock
aec14ccd53
Bump to 2.5.2
2021-04-01 23:11:35 +02:00
David-Wobrock
2f3ce1d7cc
Remove toml support
2021-04-01 23:11:35 +02:00
David-Wobrock
b16081fecf
Fix linting
2021-02-04 22:00:59 +01:00
David Wobrock
1586a3f607
Bump to 2.5.1
2021-02-04 19:30:09 +01:00
David Wobrock
48f199a91b
Use utf-8 encoding on config files
2021-02-04 19:28:09 +01:00
Łukasz Skarżyński
ba62f664d4
update supported config files names
2021-02-04 19:22:57 +01:00
Łukasz Skarżyński
0750ecf593
remove .editorconfig from supported config files
2021-02-04 19:22:57 +01:00
David-Wobrock
bfce31f229
Bump to 2.5.0
2021-01-31 17:51:21 +01:00
David-Wobrock
60364050bd
Update CHANGELOG
2021-01-31 17:44:58 +01:00
David-Wobrock
137089573c
Implement include migration name options
2021-01-31 17:44:58 +01:00
David-Wobrock
1eccbbfc07
Fix configuration file for boolean values
2021-01-17 16:28:31 +01:00
David-Wobrock
2dc4caadf9
Implement config files
2021-01-17 16:28:31 +01:00
Andy Dau
fa9b2f977a
Fix typo in makemigrations command
2021-01-14 22:05:27 +01:00
Nikita Sobolev
08e250a54c
Adds django-test-migrations as a related project
...
I think that our projects fit together prefectly!
We are already have you in "Related" section:
https://github.com/wemake-services/django-test-migrations/blob/master/README.md#related-projects
2020-12-25 13:21:57 +01:00
David-Wobrock
d207bf14b3
Fix import order which was important
2020-11-30 21:58:28 +01:00
David-Wobrock
e51073ef46
Fixes #129 - use single logger
2020-11-30 21:53:38 +01:00
David-Wobrock
6ab1d58c47
Apply isort to the project
2020-11-30 21:46:40 +01:00
David-Wobrock
4b15e11faa
Rename data migration lint checks
2020-11-30 21:40:57 +01:00
David-Wobrock
1824410ac5
Fix linting errors
2020-11-26 19:02:57 +01:00
David-Wobrock
f795fa07d2
Add tests for RunSQL tests
2020-11-26 19:02:57 +01:00
David-Wobrock
f5d0da4932
Run some checks on RunSQL migration operation
2020-11-26 19:02:57 +01:00
David-Wobrock
780630131f
Add warning if RunPython model variable name not the same as model class
2020-11-26 19:02:57 +01:00
David-Wobrock
601e02e024
Rename method name and add comments
2020-11-26 19:02:57 +01:00
David-Wobrock
a68ff7c306
Make data migration model import check a bit less strict
...
It now allows:
* get_model(...) calls with one parameter only
* allows the variable name to be not the same as the model name itself (this will become a warning)
2020-11-26 19:02:57 +01:00
David-Wobrock
5e26d9a910
Document the incompatibility codes
2020-11-26 19:02:57 +01:00
David-Wobrock
b38da345d7
Add Python 3.9 support
2020-11-26 18:54:02 +01:00
David-Wobrock
06c197f546
Do lint in another job than the build
2020-11-26 18:43:34 +01:00
David-Wobrock
321b41ddd0
Start using GitHub Actions and remove Travis
2020-11-26 18:43:34 +01:00
David-Wobrock
50294a213b
Add Dj3.1 support and update flake8 and black versions
2020-10-10 18:14:56 +02:00
David Wobrock
39a21ad46a
Add pages referencing the linter to the readme
2020-10-10 16:33:10 +02:00