add hooky config to pyproject.toml

This commit is contained in:
Samuel Colvin
2022-09-08 16:34:03 +01:00
parent 81b8cda305
commit c475a67690
+8
View File
@@ -58,6 +58,11 @@ filterwarnings = [
'ignore:path is deprecated.*:DeprecationWarning:certifi',
]
# configuring https://github.com/pydantic/hooky
[tool.hooky]
reviewers = ['samuelcolvin', 'PrettyWood', 'hramezani']
require_change_file = false
[tool.flake8]
max_line_length = 120
max_complexity = 14
@@ -70,6 +75,9 @@ per_file_ignores = [
'docs/examples/types_constrained.py:F722',
]
[tool.ruff]
line-length = 120
[tool.coverage.run]
source = ['pydantic']
branch = true