From ab993fc030e8b8109b6192acb1a18722c45b37e3 Mon Sep 17 00:00:00 2001 From: Daniel Tomlinson Date: Sat, 25 Sep 2021 00:47:49 +0100 Subject: [PATCH] adding prospector.yaml --- prospector.yaml | 68 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 prospector.yaml diff --git a/prospector.yaml b/prospector.yaml new file mode 100644 index 0000000..fbfeef5 --- /dev/null +++ b/prospector.yaml @@ -0,0 +1,68 @@ +# This will enable almost every single warning +output-format: vscode +doc-warnings: true +# allow-shorthand: false +strictness: none + +ignore-patterns: + - (^|/)\..+ + +pylint: + run: true + disable: + - fixme + - bad-continuation + - missing-module-docstring + - logging-fstring-interpolation + - missing-function-docstring + enable: + + options: + max-locals: 15 + max-returns: 6 + max-branches: 12 + max-statements: 50 + # max-parents: 7 + max-attributes: 20 + min-public-methods: 0 + max-public-methods: 25 + max-module-lines: 1000 + max-line-length: 88 + +mccabe: + run: true + options: + max-complexity: 10 + +pep8: + run: true + options: + max-line-length: 88 + single-line-if-stmt: n + disable: + - E501 # line too long + +pyroma: + run: false + disable: + - PYR19 + - PYR16 + +pep257: + disable: + - D000 + - D203 + # - D213 + - D212 # multiline docstrings on first line only. + - D404 + - D100 + - D407 # numpy docstring format + - D107 # missing docstring in __init__ + # Docstrings ending with newlines and : in Returns block. + - D413 + - D406 + - D103 + + +dodgy: + run: true