-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
68 lines (62 loc) · 1.56 KB
/
pyproject.toml
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[project]
name = "toolsync"
version = "0.1.0"
description = "sync issue & deploy status between external tools"
requires-python = "==3.12.*"
readme = "README.md"
dependencies = [
"click==8.1.8",
"pygithub==2.5.0",
"python-dotenv==1.0.1",
"requests[security]==2.32.3",
"semver==3.0.4",
"werkzeug==3.1.3",
]
[tool.ruff]
line-length = 120
target-version = "py312"
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint]
ignore = [
# Conflicting with formatting
"COM812", # Missing ending comma, conflicts with black magic trailing comma
"ISC001", # Conflicts with ruff format command
# Disabled rulesets we don't care about those
"BLE", # Blind exception catching
"C90", # Complexity
"D1", # missing docstrings
"D211",
"D213",
"ANN101", # Annotations for self
"ANN102", # Annotations for cls
"ANN204", # Return annotations for special methods
"ANN401", # Forbid Any
"N801",
"N802",
"N803",
"N805",
"N806",
"N811",
"N812",
"N814",
"N815",
"N816",
"N818",
"N999", # Various naming conventions around case
"PLR09", # Too many arguments
"S101", # Use of assert ..
]
select = ["ALL"]
[tool.pyright]
typeCheckingMode = "strict"
deprecateTypingAliases = true
reportCallInDefaultInitializer = true
reportImplicitOverride = true
reportImplicitStringConcatenation = true
reportPropertyTypeMismatch = true
reportUnnecessaryTypeIgnoreComment = true
reportShadowedImports = true
reportMissingTypeStubs = false
[tool.uv]
dev-dependencies = ["ruff==0.6.8"]