forked from OpenLineage/OpenLineage
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ruff.toml
70 lines (64 loc) · 1.76 KB
/
ruff.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
line-length = 110
target-version = "py38"
namespace-packages = [
"client/openlineage/client",
"integration/airflow/openlineage/airflow",
"integration/common/openlineage/common",
"integration/dagster/openlineage/dagster"
]
[lint]
select = [
"E", # pyflakes
"F", # pycodestyle error
"W", # pycodestyle warning
"C90", # mccabe
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"YTT", # flake8-2020
# "ANN", # flake8-annotations
"S", # flake8-bandit
"BLE", # flake8-blind-except
"A", # flake8-builtins
"B", # flake8-bugbear
"COM", # flake8-commas
"T10", # flake8-debugger
"EM", # flake8-errmsg
"C4", # flake8-comprehensions
"ISC", # flake8-implicit-str-concat
"G", # flake8-logging-format
"PIE", # flake8-pie
"T20", # flake8-print
"PT", # flake8-pytest-style
"RSE", # flake8-raise
"RET", # flake8-return
"SLF", # flake8-self
"SIM", # flake8-simplify
"TID", # flake8-tidy-imports
"TCH", # flake8-type-checking
"ARG", # flake8-unused-arguments
"ERA", # eradicate
"PGH", # pygrep hooks
"PL", # pylint
"TRY", # tryceratops
"FLY", # flynt
"RUF", # Ruff
]
isort = { known-first-party = ["publication_set", "tests"] }
ignore = [
"ANN101", # Missing type annotation for `self` in method
"S101", # Use of `assert` detected
"ANN102", # Missing type annotation for `cls` in classmethod
"T201",
"COM812",
"ISC001",
]
[format]
# Like Black, use double quotes for strings.
quote-style = "double"
# Like Black, indent with spaces, rather than tabs.
indent-style = "space"
# Like Black, respect magic trailing commas.
skip-magic-trailing-comma = false
# Like Black, automatically detect the appropriate line ending.
line-ending = "auto"