-
Notifications
You must be signed in to change notification settings - Fork 176
/
pyproject.toml
34 lines (30 loc) · 704 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
[tool.black]
line-length = 140
target-version = ['py312']
[tool.ruff]
line-length = 140
target-version = "py312"
exclude = ["files"]
src = ["*.py", "automation", "tests"]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
[tool.ruff.per-file-ignores]
"automation/driver/base.py" = ["B008"]
[tool.mypy]
strict = true
follow_imports = "silent"
warn_redundant_casts = true
warn_unused_ignores = true
disallow_any_generics = true
check_untyped_defs = true
no_implicit_reexport = true
exclude = "__init__.py"
python_version = "3.12"
[mypy-selenium]
ignore_missing_imports = true