-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
90 lines (78 loc) · 1.93 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[tool.poetry]
name = "offstreet-parking"
package-mode = false
description = "A tool to fetch and upload offstreet parking data to NIPKaart."
authors = ["NIPKaart <[email protected]>"]
maintainers = ["Klaas Schoute <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/nipkaart/offstreet-parking"
repository = "https://github.com/nipkaart/offstreet-parking"
documentation = "https://github.com/nipkaart/offstreet-parking"
keywords = ["offstreet", "parking", "nipkaart", "locations", "api"]
packages = [
{ include = "app" },
]
[tool.poetry.dependencies]
pymysql = "^1.1.0"
python = "^3.11"
python-dotenv = "^1.0.0"
pytz = "^2024.1"
[tool.poetry.group.cities.dependencies]
hamburg = "^3.0.0"
odp-amsterdam = "^6.0.0"
[tool.poetry.group.dev.dependencies]
pre-commit = "3.8.0"
pre-commit-hooks = "4.6.0"
pylint = "3.3.1"
ruff = "0.6.9"
yamllint = "1.35.1"
[tool.pylint.BASIC]
good-names = [
"_",
"ex",
"fp",
"i",
"id",
"j",
"k",
"on",
"Run",
"T",
]
[tool.pylint."MESSAGES CONTROL"]
disable= [
"too-few-public-methods",
"too-many-arguments",
"duplicate-code",
"format",
"unsubscriptable-object",
"broad-except",
]
[tool.pylint.SIMILARITIES]
ignore-imports = true
[tool.pylint.FORMAT]
max-line-length = 88
[tool.pylint.DESIGN]
max-attributes = 20
[tool.ruff]
target-version = "py311"
lint.select = ["ALL"]
lint.ignore = [
"ANN101", # Self... explanatory
"ANN401", # Opinioated warning on disallowing dynamically typed expressions
"D203", # Conflicts with other rules
"D213", # Conflicts with other rules
"D417", # False positives in some occasions
"PLR2004", # Just annoying, not really useful
"T201", # Allow the use of print()
# Conflicts with the Ruff formatter
"COM812",
"ISC001",
]
[tool.ruff.lint.flake8-pytest-style]
mark-parentheses = false
fixture-parentheses = false
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]