-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
107 lines (93 loc) · 2.79 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
[tool.poetry]
name = "aio-taginfo"
version = "0.4.0"
description = "Async client for the OpenStreetMap taginfo API"
authors = ["Tim Wiechers <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/timwie/aio-taginfo"
documentation = "https://www.timwie.dev/aio-taginfo/"
packages = [{ include = "aio_taginfo" }]
keywords = [
"geospatial",
"gis",
"openstreetmap",
"osm",
"taginfo",
"spatial-analysis",
"spatial-data",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Framework :: aiohttp",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Topic :: Scientific/Engineering :: GIS",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Internet :: WWW/HTTP",
"Typing :: Typed",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
[tool.poetry.urls]
"Release Notes" = "https://github.com/timwie/aio-taginfo/blob/main/RELEASES.md"
"Test Coverage" = "https://codecov.io/gh/timwie/aio-taginfo"
[tool.poetry.dependencies]
aiohttp = { version = "^3.9", extras = ["speedups"] }
pydantic = "^2.8"
python = "^3.11"
[tool.poetry.group.dev.dependencies]
aioresponses = "^0.7.6"
codecov = "^2.1.13"
invoke = "^2.2.0"
isort = "^6.0.0"
loguru = "^0.7.2"
mypy = "^1.13.0"
pdoc = "^15.0.1"
pytest = "^8.3.4"
pytest-asyncio = "^0.25.0"
pytest-cov = "^6.0.0"
ruff = "^0.9.0"
pyright = "^1.1.390"
[tool.ruff]
# https://docs.astral.sh/ruff/settings/
# https://docs.astral.sh/ruff/rules/
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"COM812", "D203", "D212", "FIX", "G004", "I", "ISC001", "PLR0913", "PLR2004", "RUF022", "S101", "SLF001", "TD",
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["ANN", "ASYNC230", "C408", "C901", "D", "E501", "F401", "F811", "PLR0915"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.black]
# https://github.com/psf/black#configuration
line-length = 100
[tool.isort]
# https://pycqa.github.io/isort/docs/configuration/options.html
profile = "black"
line_length=100
indent=' '
multi_line_output=6
lines_after_imports=2
known_first_party="aio_taginfo"
sections="STDLIB,FIRSTPARTY,THIRDPARTY,LOCALFOLDER"
[tool.mypy]
# https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-library-stubs-or-py-typed-marker
ignore_missing_imports = true
[tool.coverage.run]
branch = true
[tool.coverage.report]
skip_empty = true
[tool.pytest.ini_options]
asyncio_default_fixture_loop_scope = "function" # function, class, module, package, session
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"