Commit Graph
392 Commits
Author SHA1 Message Date
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
Felix f351b71d6a Fix flake8 2018-12-20 14:53:25 +01:00
Felix b68c0183bb Finish up cache and fix tests.
Still TODO: Merge with ignore functionality.
2018-12-20 14:45:35 +01:00
Felix 9608e99150 #23 Fix errors and flake8 2018-12-18 15:54:47 +01:00
Felix b3815b6b98 #23 Add tests for caching 2018-12-18 15:33:26 +01:00
David-Wobrock 178d8036c2 Bump to version 0.0.7 2018-09-06 21:48:52 +02: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 6174c76c36 Bump to version 0.0.6 2018-07-19 22:14:25 +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
Serj Zavadsky a37cef0560 logging config fixed 2018-07-16 12:50:41 +02:00
Serj Zavadsky df7befa43d logging config fixed (now logging is made not by root logger, but by 'django_migration_linter.sql_analyzer') 2018-07-16 12:31:55 +02:00
David-Wobrock 7364455073 Add test to assert that a not null FK on a new table is accepted 2018-05-07 20:36:20 +02:00
David-Wobrock f692a39030 Add sentence about example integration in readme 2018-01-20 16:24:31 +01:00
David-Wobrock 7a69d36393 Bump version to 0.0.5 2018-01-20 16:20:09 +01:00
David-Wobrock 416a102186 Merge branch 'dev' 2018-01-20 16:19:32 +01:00
David-Wobrock 6add9fefbf Merge branch 'add-example-to-readme' into dev 2018-01-20 16:15:27 +01:00
David-Wobrock eebbcc4cc0 Fix PEP8 requirement 2018-01-20 16:10:41 +01:00
David-Wobrock 07de522fce Remove git samples 2018-01-20 16:02:58 +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 cbbcdc2e2c Merge pull request #14 from 3YOURMIND/only-consider-added-migrations
Only consider added migrations
2018-01-20 15:57:42 +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 ced0b8c3ef Merge pull request #13 from 3YOURMIND/create-readme-rst
Fix #11 - Change readme to reStructuredText
2018-01-17 18:02:16 +01:00
David Wobrock 3e27f117ba Migrate the complete readme to reStructuredText 2018-01-17 17:41:24 +01:00
Felix Bauer 59ba4cc1ea Add README.rst 2018-01-17 17:37:21 +01:00
Felix Bauer 1fca277fc2 Add test example 2018-01-17 10:59:58 +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 3ad331f644 Bump version 2018-01-13 00:48:42 +01:00
David-Wobrock 5f078506a4 Merge branch 'dev' 2018-01-13 00:48:07 +01:00
David-Wobrock b24315c1d9 Add contributing section to README 2018-01-13 00:47:29 +01:00
David Wobrock 69f5846890 Merge pull request #10 from 3YOURMIND/small-improvements
Improve Error Reporting
2018-01-13 00:47:13 +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 388f4e565c Merge pull request #8 from 3YOURMIND/better-description-for-pypi
Use pypandoc to convert markdown to pypi friendly format
2018-01-13 00:09:45 +01:00
David-Wobrock 8da1466f8d Merge branch 'dev' into better-description-for-pypi 2018-01-12 23:55:52 +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
Felix Bauer d6c8793d60 Use pypandoc to convert markdown to pypi friendly format
See https://pypi.python.org/pypi/django-migration-linter
And then see https://stackoverflow.com/questions/26737222/pypi-description-markdown-doesnt-work
2018-01-11 15:04:02 +01:00
David-Wobrock 8adffed958 Call venv linter in tests 2018-01-07 17:34:08 +01:00
David-Wobrock d1d296b826 Add manifest for tox tests on travis 2018-01-07 12:44:59 +01:00
David-Wobrock 55e1e13ad5 Update copyright year to 2018 2018-01-07 12:15:23 +01:00
David-Wobrock ad3b17229c Add tox to test different python and django versions 2018-01-07 12:09:07 +01:00
David Wobrock 71b29d9694 Bump version to 0.0.3 2017-12-01 14:55:36 +01:00