forked from holgern/pyedflib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
35 lines (32 loc) · 1.01 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
[build-system]
requires = [
"setuptools",
"numpy>=1.9.1",
"cython"
]
build-backend = "setuptools.build_meta"
[tool.ruff]
target-version = "py38"
[tool.ruff.lint]
extend-select = [
"UP", # pyupgrade
"C4", # flake8-comprehensions
"ISC", # flake8-implicit-str-concat
"PIE", # flake8-pie
"FLY", # flynt
"PERF", # Perflint
"RUF", # Ruff-specific rules
]
ignore = [
"F841", # Local variable is assigned to but never used
"UP031", # Use format specifiers instead of percent format
"UP032", # Use f-string instead of `format` call
"ISC002", # Implicitly concatenated string literals over multiple lines
"PERF203", # `try`-`except` within a loop incurs performance overhead
"RUF003",
"RUF005", # Consider iterable unpacking instead of concatenation
"RUF012", # Mutable class attributes should be annotated with `typing.ClassVar`
"RUF100", # Unused `noqa` directive
]
[tool.ruff.lint.extend-per-file-ignores]
"**/__init__.py" = ["F401", "F403"]