-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
18 lines (16 loc) · 1.1 KB
/
pyproject.toml
File metadata and controls
18 lines (16 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[tool.black]
line-length = 120
skip-string-normalization = true
[tool.ruff]
line-length = 120
target-version = "py38"
lint.isort.force-single-line = true # All imports on individual lines
lint.isort.lines-between-types = 1 # One blank line between different types of imports (e.g., standard library, third-party, local imports).
lint.select = ['E', 'F', 'I', 'W']
[tool.mypy]
disallow_incomplete_defs = false # Disallows defining functions with incomplete type annotations
disallow_untyped_defs = false # Disallows defining functions without type annotations or with incomplete type annotations
ignore_missing_imports = true # Suppress error messages about imports that cannot be resolved
python_version = "3.8" # Specifies the Python version used to parse and check the target program
warn_no_return = true # Shows errors for missing return statements on some execution paths
warn_return_any = true # Shows a warning when returning a value with type Any from a function declared with a non- Any return type