Skip to content

Commit

Permalink
Revert fixing codacy complaints via "setup.cfg"
Browse files Browse the repository at this point in the history
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 [prospector-dev/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]: prospector-dev/prospector#376
[^0]: 20a155a
  • Loading branch information
gnn committed Nov 12, 2020
1 parent 20a155a commit 1da7466
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .prospector.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ignore-paths: ["ci"]
pep257:
disable: ["210", "212", "213"]
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,3 @@ coverage_flags =
nocov: false
environment_variables =
-

[pydocstyle]
ignore = 210, 212, 213

0 comments on commit 1da7466

Please sign in to comment.