-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathruff.toml
More file actions
34 lines (30 loc) · 807 Bytes
/
ruff.toml
File metadata and controls
34 lines (30 loc) · 807 Bytes
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
# This file was automatically copied from notifications-utils@99.4.1
extend-exclude = [
"migrations/versions/",
"__pycache__",
"cache",
"migrations",
"build",
"sample_cap_xml_documents.py",
]
line-length = 120
target-version = "py311"
[lint]
select = [
"E", # pycodestyle
"W", # pycodestyle
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C90", # mccabe cyclomatic complexity
"G", # flake8-logging-format
"T20", # flake8-print
"UP", # pyupgrade
"C4", # flake8-comprehensions
"ISC", # flake8-implicit-str-concat
"RSE", # flake8-raise
"PIE", # flake8-pie
"N804", # First argument of a class method should be named `cls`
"RUF100", # Checks for noqa directives that are no longer applicable
]
ignore = []