23 Commits
Author SHA1 Message Date
Felix 08dc26085b First check ignores then check cache
This gives you the possibility to add a errornous migration
to the ignore list. On the seccond run the linter will
first use the ignore list and not the cache first.
2019-05-12 15:32:57 +02:00
Felix b7c3ee38d7 Use logger.debug() for lowlevel information
Effectivly this will prevent printing those lines
in a lot of default setups. Those lines make it quite
hard to understand the output of the liter.
2019-05-12 15:32:57 +02:00
Felix 0bf7d5cc39 Use relative imports for easier in-place testing 2019-05-12 15:32:57 +02:00
Felix Bauer 32dc95601b Merge pull request #33 from 3YOURMIND/do-not-check-git-folder
Do not check if .git folder exists
2019-01-07 13:50:09 +01:00
Felix ab5536c8e7 Remove is_git_project from import 2019-01-07 12:25:57 +01:00
Felix 3ae4840e34 Merge branch 'master' into do-not-check-git-folder 2019-01-07 12:19:25 +01:00
Felix 92a686f13b Make imports relative 2019-01-05 22:24:33 +01:00
Felix Bauer b1716b9d1d Merge pull request #35 from 3YOURMIND/fix-cache-in-folder 2019-01-05 20:46:53 +01:00
Felix a159e29677 Print a better git error to the console 2019-01-05 19:35:55 +01:00
Felix 5be5e3f769 Use call_count instead of assert_called()
because later was introduced in python 3.6.
2018-12-23 23:46:33 +01:00
Felix 1c28412ebd Improve the cache
React to Comments and add a Test
2018-12-23 23:28:45 +01:00
Felix 03e48b7575 Adjust readme 2018-12-23 23:06:18 +01:00
Felix d3805d5210 Integrate IGNORE into cache 2018-12-23 22:49:36 +01:00
Felix 4bcb67c9f2 Merge branch 'master' into cache 2018-12-23 22:40:29 +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
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
Felix Bauer d9cf04c04a Create LICENSE 2017-04-06 16:20:47 +02:00