-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpyproject.toml
79 lines (71 loc) · 1.74 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
[tool.poetry]
name = "goodmap"
version = "0.4.3"
description = "Map engine to serve all the people :)"
authors = ["Krzysztof Kolodzinski <[email protected]>"]
readme = "README.md"
exclude = ["goodmap/locale/*/LC_MESSAGES/*.po"]
[tool.poetry.dependencies]
python = "^3.10"
Flask = "3.0.3"
flask-restx = "^1.3.0"
Flask-Babel = "^4.0.0"
Babel = "^2.10.3"
gunicorn = "^20.1.0"
google-cloud-storage = "^2.7.0"
PyYAML = "^6.0"
humanize = "^4.6.0"
Flask-WTF = "^1.2.1"
gql = "^3.4.0"
aiohttp = "^3.8.4"
pydantic = "^2.7.1"
platzky = "^0.2.5"
deprecation = "^2.1.0"
[tool.poetry.group.dev.dependencies]
pytest = "^7.1.2"
coverage = "^6.4.3"
coveralls = "^3.3.1"
pyright = "^1.1.291"
freezegun = "^1.2.2"
black = "^24.8.0"
ruff = "^0.0.257"
platzky = {path = "vendor/platzky", develop = true}
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pyright]
pythonVersion = "3.10"
pythonPlatform = "All"
typeCheckingMode = "strict"
reportMissingImports = true
reportMissingTypeStubs = false
reportMissingParameterType = false
reportUnknownArgumentType = false
reportUnknownMemberType = false
reportUnknownVariableType = false
reportUnknownParameterType = false
reportUnusedFunction = false
reportUnnecessaryTypeIgnoreComment = true
reportUntypedClassDecorator = false
reportUnusedClass = false
reportUntypedBaseClass = false
[tool.black]
line-length = 100
target-version = ["py310"]
[tool.ruff]
line-length = 100
target-version = "py310"
show-fixes = true
select = [
"I", # isort
"F", # Pyflakes
"E", # pycodestyle Error
"W", # pycodestyle Warning
"RUF", # Ruff-specific rules
]
ignore = []
[tool.pytest.ini_options]
addopts = "--ignore=vendor"
markers = [
"skip_coverage: skip coverage for this test"
]