-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruff.toml
More file actions
39 lines (35 loc) · 1.19 KB
/
Copy pathruff.toml
File metadata and controls
39 lines (35 loc) · 1.19 KB
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
# ruff.toml — standalone config (NOT pyproject.toml format)
# https://docs.astral.sh/ruff/configuration/#ruff-toml
target-version = "py310"
line-length = 100
[lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"S", # flake8-bandit (security)
"UP", # pyupgrade
"N", # pep8-naming
"C4", # flake8-comprehensions
"SIM", # flake8-simplify
]
ignore = [
"S101", # assert statements — used extensively in tests
"S603", # subprocess call — used in main.py for OS startup integration (schtasks/launchctl/systemctl)
"S607", # partial executable path — same as above; these are well-known system tools on PATH
"B008", # function call in argument defaults — needed in validators
# E501: long lines are intentional in user-facing strings, argparse help
# text, regex patterns, and XML/plist templates. Wrapping them reduces
# readability without improving correctness or security.
"E501",
]
[lint.per-file-ignores]
"tests/*" = ["S", "N"]
[format]
quote-style = "double"
indent-style = "space"
line-ending = "lf"
[lint.isort]
known-first-party = ["standup"]