Commit Graph
8 Commits
Author SHA1 Message Date
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
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 7007e788be Add django as a requirement to the linter
Obviously it is needed when generating the sql through the sqlmigrate command
2018-01-14 13:51:01 +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 c07aeea780 Remove from test git folders all hook .sample files 2017-11-21 15:50:47 +01:00
David-Wobrock 6f84056aeb Change git fixtures, do not use submodule or subtree
Just rename git folder when testing and delete them at the end
2017-11-01 15:28:17 +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