From f859447a39bd2805d8f7d9c6b36481f6e8a62f30 Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Wed, 12 Jul 2017 17:52:48 +0300 Subject: [PATCH] Update prospector configuration * Disable pep8 and pyflakes * Disable unnecessary options of pylint --- .prospector.yaml | 33 +++++++++++++++++++++++---------- 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/.prospector.yaml b/.prospector.yaml index c658e1d3..810aeba8 100644 --- a/.prospector.yaml +++ b/.prospector.yaml @@ -11,21 +11,34 @@ ignore-paths: - scripts - tests/requests/valid - 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: - disable: - - E126 - - E128 - - E129 - - E302 - - E501 + run: false pyflakes: + run: false + +pylint: disable: - # Redefinition of unused $X from line $LINE - - F811 - # Access to a protected member $X of a client class - - W0212 + - bare-except + - misplaced-comparison-constant + - protected-access + - 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: run: false