-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
80 lines (70 loc) · 1.58 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
[tool.poetry]
name = "geonames"
version = "0.1.0"
description = "A package for managing and querying geonames data"
authors = ["Aareon Sullivan <[email protected]>"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
httpx = "^0.27.2"
pytest = "^8.3.3"
python-dotenv = "^1.0.1"
sqlalchemy = {extras = ["asyncio"], version = "^2.0.35"}
loguru = "^0.7.2"
pandas = "^2.2.2"
aiohttp = "^3.10.5"
aiofiles = "^24.1.0"
aioresponses = "^0.7.6"
click = "^8.1.7"
aiosqlite = "^0.20.0"
tqdm = "^4.66.5"
numpy = "^2.1.1"
[tool.poetry.group.develop.dependencies]
ruff = "^0.6.5"
mypy = "^1.11.2"
isort = "^5.13.2"
flake8 = "^7.1.1"
[tool.poetry.group.test.dependencies]
pytest = "^8.3.3"
pytest-asyncio = "^0.24.0"
pytest-cov = "^5.0.0"
pytest-mock = "^3.14.0"
pytest-aiohttp = "^1.0.5"
aioresponses = "^0.7.6"
[tool.black]
line-length = 100
target-version = ['py310']
[tool.isort]
profile = "black"
line_length = 100
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
geonames-cli = "geonames.cli:cli"
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
strict_equality = true
ignore_missing_imports = false
[[tool.mypy.overrides]]
module = [
"sqlalchemy.*",
"loguru.*",
"pandas.*",
"aiohttp.*",
"aiofiles.*",
"tqdm.*",
"click.*",
"dotenv.*"
]
ignore_missing_imports = true