-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
52 lines (44 loc) · 1.18 KB
/
pyproject.toml
File metadata and controls
52 lines (44 loc) · 1.18 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
40
41
42
43
44
45
46
47
48
49
50
51
52
[project]
name = "hackops"
version = "0.1.0"
description = "HackOps - Hackathon management platform for structured Microsoft Azure learning events"
requires-python = ">=3.13"
[tool.ruff]
# Exclude infrastructure folder and generated files
exclude = [
"infra/",
"node_modules/",
".git/",
"__pycache__/",
"*.egg-info/",
".venv/",
]
# Line length to match markdown lint
line-length = 120
# Target Python 3.10+
target-version = "py313"
[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
"SIM", # flake8-simplify
]
# Ignore rules that conflict with diagrams library patterns
ignore = [
"E501", # Line too long (handled by formatter)
"B008", # Function call in default argument (common in diagrams)
"SIM108", # Use ternary operator (readability preference)
]
[tool.ruff.lint.isort]
known-first-party = ["mcp", "scripts"]
[tool.ruff.format]
# Use double quotes for strings
quote-style = "double"
# Indent with spaces
indent-style = "space"