mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Update prospector configuration
* Disable pep8 and pyflakes * Disable unnecessary options of pylint
This commit is contained in:
parent
dd7c8f330b
commit
f859447a39
@ -11,21 +11,34 @@ ignore-paths:
|
|||||||
- scripts
|
- scripts
|
||||||
- tests/requests/valid
|
- tests/requests/valid
|
||||||
- tests/requests/invalid
|
- tests/requests/invalid
|
||||||
|
- tests/treq.py # We are going to replace this with pytest.
|
||||||
|
- tests/t.py # Same as above.
|
||||||
|
- tests/test_selectors.py # This basically port of upstream selectors tests.
|
||||||
|
- tests/test_gaiohttp.py # TODO: We are going to remove this worker.
|
||||||
|
|
||||||
pep8:
|
pep8:
|
||||||
disable:
|
run: false
|
||||||
- E126
|
|
||||||
- E128
|
|
||||||
- E129
|
|
||||||
- E302
|
|
||||||
- E501
|
|
||||||
|
|
||||||
pyflakes:
|
pyflakes:
|
||||||
|
run: false
|
||||||
|
|
||||||
|
pylint:
|
||||||
disable:
|
disable:
|
||||||
# Redefinition of unused $X from line $LINE
|
- bare-except
|
||||||
- F811
|
- misplaced-comparison-constant
|
||||||
# Access to a protected member $X of a client class
|
- protected-access
|
||||||
- W0212
|
- import-error
|
||||||
|
- too-many-branches
|
||||||
|
- too-many-arguments
|
||||||
|
- too-many-nested-blocks
|
||||||
|
- eval-used
|
||||||
|
- no-else-return
|
||||||
|
- wrong-import-position
|
||||||
|
- unused-argument
|
||||||
|
- import-self
|
||||||
|
- duplicate-bases
|
||||||
|
- no-staticmethod-decorator
|
||||||
|
- not-callable
|
||||||
|
|
||||||
mccabe:
|
mccabe:
|
||||||
run: false
|
run: false
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user