Skip to content

Commit 3f898dc

Browse files
committed
pyproject.toml update.
1 parent f98b1c3 commit 3f898dc

File tree

1 file changed

+32
-4
lines changed

1 file changed

+32
-4
lines changed

pyproject.toml

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,38 @@
22

33
[tool.ruff]
44
line-length = 120
5-
exclude = ["nifi/user-scripts/legacy_scripts", "tests/resources"]
6-
target-version = "py38"
5+
exclude = []
6+
target-version = "py311"
7+
indent-width = 4
78

89
[tool.ruff.lint]
9-
# E=pycodestyle, F=pyflakes, B=bugbear, I=isort
10-
select = ["E", "F", "B", "I"]
10+
# Enable flake8-bugbear (`B`) rules, in addition to the defaults.
11+
select = [
12+
# pycodestyle
13+
"E",
14+
# Pyflakes
15+
"F",
16+
# pyupgrade
17+
"UP",
18+
# flake8-bugbear
19+
"B",
20+
# flake8-simplify
21+
"SIM",
22+
# isort
23+
"I",
24+
]
25+
1126
fixable = ["ALL"]
27+
28+
[tool.mypy]
29+
plugins = ["pydantic.mypy"]
30+
ignore_missing_imports = true
31+
strict = false
32+
33+
[tool.isort]
34+
line_length = 120
35+
skip = ["venv", "venv-test", "envs", "docker", "models"]
36+
37+
[tool.flake8]
38+
max-line-length = 120
39+
exclude = ["venv", "venv-test", "envs", "docker", "models"]

0 commit comments

Comments
 (0)