mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
parent
9b2f014eec
commit
461e186f5b
31
.prospector.yaml
Normal file
31
.prospector.yaml
Normal file
@ -0,0 +1,31 @@
|
||||
test-warnings: true
|
||||
|
||||
ignore-paths:
|
||||
- gunicorn/_compat.py
|
||||
- gunicorn/argparse_compat.py
|
||||
- gunicorn/selectors.py
|
||||
- gunicorn/six.py
|
||||
- build
|
||||
- docs
|
||||
- examples
|
||||
- scripts
|
||||
- tests/requests/valid
|
||||
- tests/requests/invalid
|
||||
|
||||
pep8:
|
||||
disable:
|
||||
- E126
|
||||
- E128
|
||||
- E129
|
||||
- E302
|
||||
- E501
|
||||
|
||||
pyflakes:
|
||||
disable:
|
||||
# Redefinition of unused $X from line $LINE
|
||||
- F811
|
||||
# Access to a protected member $X of a client class
|
||||
- W0212
|
||||
|
||||
mccabe:
|
||||
run: false
|
||||
@ -16,6 +16,8 @@ matrix:
|
||||
env: TOXENV=py36-dev
|
||||
- python: nightly
|
||||
env: TOXENV=py37
|
||||
- python: 3.5
|
||||
env: TOXENV=lint
|
||||
allow_failures:
|
||||
- env: TOXENV=py36-dev
|
||||
- env: TOXENV=py37
|
||||
|
||||
6
tox.ini
6
tox.ini
@ -1,5 +1,5 @@
|
||||
[tox]
|
||||
envlist = py26, py27, py34, py35, py36, py36-dev, py37, pypy
|
||||
envlist = py26, py27, py34, py35, py36, py36-dev, py37, pypy, lint
|
||||
skipsdist = True
|
||||
|
||||
[testenv]
|
||||
@ -10,3 +10,7 @@ deps =
|
||||
py26: unittest2
|
||||
py{26,27},pypy: mock
|
||||
py{34,35,36,36-dev,37}: aiohttp
|
||||
|
||||
[testenv:lint]
|
||||
commands = prospector
|
||||
deps = prospector
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user