forked from scabench-org/hound
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruff.toml
More file actions
34 lines (27 loc) · 667 Bytes
/
Copy pathruff.toml
File metadata and controls
34 lines (27 loc) · 667 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
# Ruff configuration for the Hound submodule
# Global settings
line-length = 120
target-version = "py310"
# Only lint Python files under this directory
include = ["**/*.py", "**/*.pyi"]
exclude = [
".git",
".venv",
"venv",
"__pycache__",
# Static web assets
"chatbot/static",
# Build artifacts or caches (if any)
".hound_debug",
]
[lint]
# Rule sets: Flake8 (E), Pyflakes (F), isort (I), pyupgrade (UP)
select = ["E", "F", "I", "UP"]
# Initial ignores to reduce noise on adoption
ignore = [
"E501", # line length
"E203", # whitespace before ':' (black compatibility)
]
[lint.isort]
known-first-party = ["hound"]
combine-as-imports = true