From 1da746659c1a04940d7c42a6a58980cefc537f8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20G=C3=BCnther?= Date: Thu, 12 Nov 2020 16:46:16 +0100 Subject: [PATCH] Revert fixing codacy complaints via "setup.cfg" This reverts commit 20a155a[^0], because `prospector` doesn't pick up `pep257` options from "setup.cfg", so these options don't actually fix the complaints. This means that, until [PyCQA/prospector#376][0] is implemented, or until `prospector` implements gathering tool configuration from "setup.cfg", we have to put yet another dotfile into the project root, if we want fine grained control over the applied checks. Since we have to do this anyway, this commit not only removes the section from "setup.cfg", but also puts the equivalent configuration into the new ".prospector.yaml". While at it, I took the liberty of also starting to configure paths which should be ignored by `prospector`, because that one line really doesn't have to be in its own commit. [0]: https://github.com/PyCQA/prospector/issues/376 [^0]: 20a155abf1b8855c9c8165ab79dd18229517ee29 --- .prospector.yaml | 3 +++ setup.cfg | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 .prospector.yaml diff --git a/.prospector.yaml b/.prospector.yaml new file mode 100644 index 000000000..6f074a5df --- /dev/null +++ b/.prospector.yaml @@ -0,0 +1,3 @@ +ignore-paths: ["ci"] +pep257: + disable: ["210", "212", "213"] diff --git a/setup.cfg b/setup.cfg index e1a995c4d..15b0c12e3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -99,6 +99,3 @@ coverage_flags = nocov: false environment_variables = - - -[pydocstyle] -ignore = 210, 212, 213