Archived
Add formatting and type checks
This commit is contained in:
1 parent
c0d82eaf26
commit
24747866bc
38 files changed
+800
-265
No files matched your search
@@ -33,7 +33,9 @@ Issues = "https://github.com/StasonJatham/karldns.de/issues"
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = [
|
||||
"black>=26.5.1",
|
||||
"httpx>=0.28",
|
||||
"mypy>=2.1.0",
|
||||
"pytest>=8.2",
|
||||
"ruff>=0.8",
|
||||
]
|
||||
@@ -55,3 +57,15 @@ target-version = "py311"
|
||||
[tool.ruff.lint]
|
||||
select = ["E", "F", "I", "UP", "B"]
|
||||
ignore = ["E501"]
|
||||
|
||||
[tool.black]
|
||||
line-length = 120
|
||||
target-version = ["py311"]
|
||||
|
||||
[tool.mypy]
|
||||
python_version = "3.11"
|
||||
files = ["karldns"]
|
||||
check_untyped_defs = true
|
||||
warn_unused_ignores = true
|
||||
warn_redundant_casts = true
|
||||
show_error_codes = true
|
||||
Reference in new issue
Block a user