Skip to content

Commit

Permalink
CI: Add prospector config
Browse files Browse the repository at this point in the history
Codacy requires us to have a config file to be able to adjust the checks that we want to ignore in the individual tools that prospector is running.
  • Loading branch information
SchoolGuy committed Jun 2, 2023
1 parent 32e627a commit 61b2514
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .prospector.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Config must be compatible with prospector 1.7.7 due to Python 3.6 support.
# Pyright will run in a GitHub workflow as it was added in Prospector 1.10

max-line-length: 120
inherits:
- strictness_veryhigh

dodgy:
run: true

mccabe:
run: true

pydocstyle:
run: true

pyflakes:
run: true
disable:
- F841 # Covered by pylint

vulture:
run: true
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ lint_requires =
black>=22.1.0
pyright>=0.0.13
isort>=5.8.0
prospector>=1.7.7
doc =
Sphinx>=5.3.0
sphinx-rtd-theme>=1.2.0
Expand Down

0 comments on commit 61b2514

Please sign in to comment.