-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
49 lines (44 loc) · 1.62 KB
/
pyproject.toml
File metadata and controls
49 lines (44 loc) · 1.62 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
[project]
name = "stream-watcher"
version = "1.0.0"
description = "Cross-platform automated file sync tool for the ACB Media team"
requires-python = ">=3.13"
# ---------------------------------------------------------------------------
# Ruff — linter & formatter
# ---------------------------------------------------------------------------
[tool.ruff]
target-version = "py313"
line-length = 88
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort (import ordering)
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"D", # pydocstyle (docstring conventions)
"RUF", # Ruff-specific rules
]
ignore = [
"D100", # Missing docstring in public module (module-level handled manually)
"D104", # Missing docstring in public package
"D203", # 1 blank line before class docstring (conflicts with D211)
"D213", # Multi-line summary second line (conflicts with D212)
"D400", # First line should end with a period (too strict)
"D415", # First line should end with punctuation (too strict)
]
[tool.ruff.lint.per-file-ignores]
"acb_sync/service.py" = ["D"] # pywin32 service methods have fixed names
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
# ---------------------------------------------------------------------------
# Pyright — type checking (basic mode for gradual adoption)
# ---------------------------------------------------------------------------
[tool.pyright]
pythonVersion = "3.13"
typeCheckingMode = "basic"
reportMissingImports = true
reportMissingTypeStubs = false