-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (83 loc) · 1.86 KB
/
pyproject.toml
File metadata and controls
92 lines (83 loc) · 1.86 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[project]
name = "photon-docker"
version = "2.1.0"
description = "Unofficial docker image for the Photon Geocoder"
requires-python = ">=3.12"
dependencies = [
"apprise>=1.9.3",
"psutil>=5.9.0",
"python-dateutil>=2.9.0.post0",
"requests==2.32.5",
"schedule>=1.2.2",
"tqdm==4.67.3",
]
[dependency-groups]
dev = [
"prek>=0.3.4",
"pytest>=9.0.2",
"pytest-cov>=7.0.0",
"ruff>=0.12.7",
"ty>=0.0.1a16",
"vulture>=2.14",
]
[build-system]
requires = ["uv_build>=0.10.9,<0.11.0"]
build-backend = "uv_build"
[tool.ruff]
indent-width = 4
line-length = 120
[tool.ruff.lint]
# select = ["ALL"]
ignore = [
"ANN", # flake8-annotations
"COM", # flake8-commas
"C90", # mccabe complexity
"DJ", # django
"EXE", # flake8-executable
"BLE", # blind except
"PTH", # flake8-pathlib
"T10", # debugger
"TID", # flake8-tidy-imports
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D107",
"D101",
"D107", # missing docstring in public module
"D102", # missing docstring in public class
"D104", # missing docstring in public package
"D213",
"D203",
"D400",
"D415",
"G004",
"PLR2004",
"E501", # line too long
"TRY",
"SIM105", # faster without contextlib
]
extend-select = ["B", "S", "SIM", "T20", "C901", "RUF"]
fixable = ["ALL"]
unfixable = []
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.lint.mccabe]
max-complexity = 15
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["S101"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"
docstring-code-format = false
skip-magic-trailing-comma = true
[tool.tombi.format.rules]
indent-style = "space"
indent-width = 4
[tool.uv.build-backend]
module-name = "src"
module-root = ""