-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
34 lines (29 loc) · 900 Bytes
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# SPDX-License-Identifier: ISC
#
# Copyright (c) 2024 Johnathan C. Maudlin <[email protected]>
[tool.black]
line-length = 100
[tool.mypy]
mypy_path = ["plugins/modules/"]
ignore_missing_imports = true
show_error_context = true
strict = true
strict_optional = true
# Disable specific strict checks
disallow_any_generics = false
[tool.ruff]
line-length = 100
src = ["plugins/modules/"]
[tool.ruff.format]
docstring-code-format = true
docstring-code-line-length = 80
[tool.ruff.lint]
ignore = [
"D", # Ignore all documentation lints
"ANN101", # Missing type annotation for `self` in method
"C901", # Method is too complex
"COM812", # Trailing comma missing
"INP001", # File is part of an implicit namespace package. Add an `__init__.py`
"PLR0912", # Too many branches
"PLR2004", # Magic value used in comparison, consider replacing with a constant variable
]