-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
37 lines (30 loc) · 929 Bytes
/
pyproject.toml
File metadata and controls
37 lines (30 loc) · 929 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
35
36
37
# ScriptHammer Python tooling configuration
[tool.ruff]
# Target Python 3.12 (matching .speckit/specify-cli)
target-version = "py312"
# Lint only project Python files, not virtualenv
include = ["docs/design/wireframes/*.py", "scripts/*.py"]
exclude = [".speckit", "__pycache__", ".git"]
# Line length matches common standards
line-length = 100
[tool.ruff.lint]
# Enable common rule sets
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
# Ignore rules that conflict with project style
ignore = [
"E501", # Line too long (handled by formatter)
"B008", # Function calls in argument defaults (common in CLI tools)
]
[tool.ruff.format]
# Use double quotes for strings
quote-style = "double"
# Indent with 4 spaces
indent-style = "space"