mirror of
https://github.com/jazzband/django-axes.git
synced 2026-03-16 22:30:23 +00:00
Use prospector with tox
This commit is contained in:
parent
6a07ca2dc7
commit
0191053f86
3 changed files with 17 additions and 0 deletions
14
.prospector.yaml
Normal file
14
.prospector.yaml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
ignore-paths:
|
||||
- docs
|
||||
- axes/migrations
|
||||
|
||||
pep8:
|
||||
options:
|
||||
max-line-length: 119
|
||||
|
||||
pyflakes:
|
||||
disable:
|
||||
- F401
|
||||
|
||||
dodgy:
|
||||
run: false
|
||||
|
|
@ -1,3 +1,4 @@
|
|||
django
|
||||
prospector
|
||||
sphinx-rtd-theme
|
||||
-e .
|
||||
|
|
|
|||
2
tox.ini
2
tox.ini
|
|
@ -12,6 +12,7 @@ deps =
|
|||
django-111: django>=1.11,<2.0
|
||||
django-20: django>=2.0,<2.1
|
||||
django-master: https://github.com/django/django/archive/master.tar.gz
|
||||
prospector
|
||||
py27: mock
|
||||
usedevelop = True
|
||||
ignore_outcome =
|
||||
|
|
@ -20,5 +21,6 @@ commands =
|
|||
coverage run -a --source=axes runtests.py -v2
|
||||
coverage run -a --source=axes runtests.py -v2 cache
|
||||
coverage report
|
||||
prospector --zero-exit
|
||||
setenv =
|
||||
PYTHONDONTWRITEBYTECODE=1
|
||||
|
|
|
|||
Loading…
Reference in a new issue