-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
76 lines (67 loc) · 1.36 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[project]
name = "poc-celery"
version = "0.1.0" # semantic-release
description = "Celery PoC"
readme = "README.md"
authors = [
{name = "Sandro Loch", email = "esloch@gmail.com"}
]
license = {text = "MIT License"}
requires-python = ">=3.8"
[tool.bandit]
exclude_dirs = ["tests"]
targets = "./"
[tool.vulture]
exclude = ["tests"]
ignore_decorators = ["@abc.abstractmethod"]
ignore_names = []
make_whitelist = true
min_confidence = 80
paths = ["./"]
sort_by_size = true
verbose = false
[tool.ruff]
line-length = 79
force-exclude = true
src = ["./"]
exclude = [
'docs',
'tests',
]
fix = true
[tool.ruff.lint]
ignore = ["PLR0913", "RUF012"]
select = [
"E", # pycodestyle
"F", # pyflakes
# "D", # pydocstyle
"YTT", # flake8-2020
"PL", # PL
"RUF", # Ruff-specific rules
"I001", # isort
]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.isort]
# Use a single line between direct and from import
lines-between-types = 1
[tool.ruff.format]
quote-style = "double"
[tool.mypy]
python_version = "3.8"
check_untyped_defs = true
strict = true
ignore_missing_imports = true
warn_unused_ignores = true
warn_redundant_casts = true
warn_unused_configs = true
exclude = [
'tests',
# excluded for now, otherwise it would take too much time to fix that
'src/poc_celery',
]
[[tool.mypy.overrides]]
module = [
"yaml",
]
ignore_missing_imports = true