mirror of
https://github.com/jazzband/django-categories.git
synced 2026-03-16 14:20:24 +00:00
Updated project configurations
- pre-commit to ignore certain files - ignore some documentation errors
This commit is contained in:
parent
2d6905486d
commit
f9a46848b2
2 changed files with 5 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Reference in a new issue