David Wobrock
|
1a9024e799
|
add test for git on non root location
|
2019-01-20 12:17:11 +01:00 |
|
David Wobrock
|
009153fbf4
|
handle linting a project in pwd
When calling "django-migration-linter ."
be able to handle it (especially with cache)
|
2019-01-20 12:17:11 +01:00 |
|
David-Wobrock
|
7a34ac9010
|
Fix tests and git migration gathering
|
2019-01-05 17:39:09 +01:00 |
|
David-Wobrock
|
952e596d92
|
Bump copyright version to 2019 in files
|
2019-01-03 22:05:00 +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
|
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
|
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
|
b68c0183bb
|
Finish up cache and fix tests.
Still TODO: Merge with ignore functionality.
|
2018-12-20 14:45:35 +01:00 |
|
Felix
|
b3815b6b98
|
#23 Add tests for caching
|
2018-12-18 15:33:26 +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 |
|
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
|
8adffed958
|
Call venv linter in tests
|
2018-01-07 17:34:08 +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
|
8f01e1e99d
|
Add basic travis.yml and refactor some tests
|
2017-11-20 23:11:33 +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 |
|