David-Wobrock
|
fe6433a065
|
Use a custom migration operation instead of a RunSQL statement
|
2018-12-23 17:46:57 +01:00 |
|
Felix
|
6fe51d2e08
|
Remove duplication
|
2018-12-23 17:46:57 +01:00 |
|
Felix
|
ff8e1b4363
|
Remove sqlparse
|
2018-12-23 17:46:57 +01:00 |
|
Felix
|
9e3dbf7778
|
Mark migrations as ignored
|
2018-12-23 17:46:57 +01:00 |
|
Felix
|
357f0aebf4
|
Adapt tests so that not relying on undefined
behaviour.
The app directories can appear in any order, we need to allow that
in tests.
|
2018-12-23 12:25:41 +01:00 |
|
David-Wobrock
|
395379178b
|
Fix linting through using a raw python string
|
2018-12-23 12:25:41 +01:00 |
|
David-Wobrock
|
c26bd2b628
|
Provide a default value to next() function in case of empty errors array
|
2018-09-06 21:47:28 +02:00 |
|
David-Wobrock
|
d672f06635
|
Drop django 1.10 support (and fix some PEP8)
|
2018-07-19 22:14:13 +02:00 |
|
David-Wobrock
|
555d17adcd
|
Rename log object to logger (to follow the standard)
|
2018-07-19 22:03:37 +02:00 |
|
Serj Zavadsky
|
bfb32ba312
|
logging config fixed
|
2018-07-19 22:01:12 +02:00 |
|
Serj Zavadsky
|
10d36bbab2
|
logging config fixed (now logging is made not by root logger, but by 'django_migration_linter.sql_analyzer')
|
2018-07-19 22:01:12 +02:00 |
|
David-Wobrock
|
eebbcc4cc0
|
Fix PEP8 requirement
|
2018-01-20 16:10:41 +01:00 |
|
David-Wobrock
|
3037585cc2
|
Fix #9 - add information message when altering columns - may be backward compatible
|
2018-01-20 15:59:38 +01:00 |
|
David-Wobrock
|
698e658faa
|
Fix test : do not consider deleted migrations
* Change way to detect deleted migrations (diff-filter of 'git diff' command)
|
2018-01-20 15:50:45 +01:00 |
|
David-Wobrock
|
fffdf5714e
|
Fix that linter actually ignores deleted files and add a specific test for this
|
2018-01-18 23:56:33 +01:00 |
|
Felix Bauer
|
5bef4e7a17
|
Only consider added migrations
|
2018-01-18 21:45:27 +01:00 |
|
David-Wobrock
|
e4880c5600
|
Consider altering a column as backward incompatible
* Resolves #9
* With test
* For mysql only currently
|
2018-01-14 15:52:46 +01:00 |
|
David-Wobrock
|
306551234a
|
Fix import errors for python3 & print error message on stderr (through exception message)
|
2018-01-13 00:40:03 +01:00 |
|
David-Wobrock
|
61cd48dc8c
|
Merge branch 'dev' into small-improvements
|
2018-01-13 00:11:53 +01:00 |
|
David-Wobrock
|
317156bf2b
|
Remove django 1.9 support and fix PEP8
|
2018-01-12 23:23:11 +01:00 |
|
David-Wobrock
|
dcbcb0883c
|
Use python exe in current venv
|
2018-01-12 23:01:11 +01:00 |
|
Felix Bauer
|
d5c659db86
|
Improve error output
|
2018-01-11 16:06:50 +01:00 |
|
David-Wobrock
|
55e1e13ad5
|
Update copyright year to 2018
|
2018-01-07 12:15:23 +01:00 |
|
David Wobrock
|
dce73390fb
|
Bump version to 0.0.2 and add missing LICENSE header in some files
|
2017-12-01 14:38:31 +01:00 |
|
David Wobrock
|
15b2fbb9e1
|
Add tests from command line directly
* Test options
* Syntax error fix
* Ajust the commit id for a test (was wrongly set)
|
2017-11-30 17:44:12 +01:00 |
|
David-Wobrock
|
fc8f405801
|
Fix tests, flake8 and update README
|
2017-11-30 00:09:18 +01:00 |
|
David Wobrock
|
50ce4f4cad
|
Large code refactoring
* Add tests
* Remove git dependency (only needed when a git identifier is specified)
|
2017-11-29 23:57:23 +01:00 |
|
David-Wobrock
|
844fbc3c1a
|
Add pycodestyle and flake8 tests to Travis
Refactor style issues for pycodestyle tests to pass
|
2017-11-22 17:10:01 +01:00 |
|
David-Wobrock
|
174bb19319
|
Adapt code to python3.4 and add it to travis
Added to travis explicitly python 2.7, 3.4, 3.5, 3.6
|
2017-11-22 17:03:48 +01:00 |
|
David-Wobrock
|
c5fc3ae896
|
Add entry point for console script in setup.py
|
2017-10-31 17:24:14 +01:00 |
|
David-Wobrock
|
1cd36825c1
|
Start large refactoring of tests and project structure
* Put tests in tests/ diretory
* Write functional tests
* Create setup.py
* Put sources into django_migration_linter folder (for future PyPi publishing)
|
2017-10-30 23:31:13 +01:00 |
|