forked from clintonshane84/PyMarkdownEditor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruff.toml
More file actions
28 lines (24 loc) · 659 Bytes
/
ruff.toml
File metadata and controls
28 lines (24 loc) · 659 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
# Ruff configuration (combines isort + pycodestyle + pyflakes + more)
line-length = 100
target-version = "py311"
[format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
[lint]
select = [
"E", "F", "I", # pycodestyle/pyflakes/imports
"UP", # pyupgrade
"B", # bugbear
"W", # warnings
"RUF", # ruff rules
]
ignore = [
# Add any rule codes to ignore here if needed.
]
[lint.isort]
# Keep 3rd-party vs first-party sections clean
known-first-party = ["pymd", "tests"]
[lint.per-file-ignores]
# Tests can be a bit looser
"tests/**" = ["S101"] # allow asserts