Skip to content

Commit 499b18d

Browse files
author
Oleksandr Volha
committed
pyproject.toml
1 parent 42c2cc2 commit 499b18d

File tree

2 files changed

+29
-5
lines changed

2 files changed

+29
-5
lines changed

translator/pyproject.toml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
[tool.ruff]
2+
line-length = 120
3+
target-version = "py39"
4+
5+
select = ["A", "ANN", "ARG", "C4", "E", "F", "ICN", "N", "PL", "Q", "RET", "RSE", "RUF", "SIM", "TID", "TRY", "UP", "W"]
6+
ignore = [
7+
"ANN002", "ANN003", "ANN101", "ANN102", "ANN204",
8+
"N818",
9+
"PLR0913",
10+
"PLW2901",
11+
"RET502", "RET503",
12+
"TRY002", "TRY003",
13+
"UP007",
14+
"W605"
15+
]
16+
17+
exclude = [
18+
"app/translator/platforms/arcsight/",
19+
"app/translator/platforms/datadog/",
20+
"app/translator/platforms/devo/",
21+
"app/translator/platforms/sigma",
22+
"app/translator/platforms/sumo_logic"
23+
]
24+
25+
[tool.ruff.format]
26+
skip-magic-trailing-comma = true
27+
28+
[tool.ruff.lint.flake8-builtins]
29+
builtins-ignorelist = ["id", "max", "min", "sum"]

translator/requirements.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)