Skip to content

Commit

Permalink
Move flake8 and pytest config to setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelebleu committed Feb 9, 2020
1 parent 06c342e commit ae07d52
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
7 changes: 7 additions & 0 deletions setup.cfg
@@ -0,0 +1,7 @@
[flake8]
ignore = E501,E402

[tool:pytest]
testpaths = wagtailautocomplete docs
DJANGO_SETTINGS_MODULE = wagtailautocomplete.tests.settings
django_find_project = false
14 changes: 3 additions & 11 deletions tox.ini
Expand Up @@ -15,14 +15,6 @@ deps =
wagtail26: wagtail>=2.6,<2.7

[testenv:flake8]
basepython=python3.6
deps=flake8>3.7
commands=flake8 wagtailautocomplete

[flake8]
ignore: E501,E402

[pytest]
testpaths = wagtailautocomplete docs
DJANGO_SETTINGS_MODULE = wagtailautocomplete.tests.settings
django_find_project = false
basepython = python3.6
deps = flake8>3.7
commands = flake8 wagtailautocomplete

0 comments on commit ae07d52

Please sign in to comment.