Updated project configurations

- pre-commit to ignore certain files
- ignore some documentation errors
This commit is contained in:
Corey Oordt 2021-12-22 12:02:54 -06:00
parent 2d6905486d
commit f9a46848b2
2 changed files with 5 additions and 3 deletions

View file

@ -35,7 +35,7 @@ repos:
rev: 6.1.1
hooks:
- id: pydocstyle
exclude: test.*
exclude: test.*|custom_.*|\d\d\d\d_.*
additional_dependencies: [toml]
- repo: https://github.com/terrencepreilly/darglint
rev: v1.8.1
@ -45,6 +45,8 @@ repos:
- -v 2
- "--message-template={path}:{line} in `{obj}`:\n {msg_id}: {msg}"
- --strictness=short
exclude: test.*|custom_.*|\d\d\d\d_.*
- repo: https://github.com/econchick/interrogate
rev: 1.5.0 # or master if you're bold
hooks:

View file

@ -32,7 +32,7 @@ ignore-module = false
ignore-nested-functions = true
ignore-nested-classes = true
ignore-setters = false
fail-under = 95
fail-under = 60
exclude = ["setup.py", "docs", "build", "test"]
ignore-regex = ["^get$", "^mock_.*", ".*BaseClass.*"]
verbose = 0
@ -55,7 +55,7 @@ color_output = true
[tool.pydocstyle]
convention = "google"
add-ignore = ["D107", "D200", "D212"]
add-ignore = ["D104", "D105", "D106", "D107", "D200", "D212"]
match = "(?!test_).*\\.py"
[tool.black]