-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
60 lines (47 loc) · 1.34 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
[tool.poetry]
name = "mmdb"
version = "0.1.0"
description = ""
authors = ["Leon Rendel <[email protected]>"]
license = "MIT"
readme = "README.md"
packages = [{include = "mmdb"}]
[tool.poetry.scripts]
mmdb = "mmdb.cli:app"
[tool.poetry.dependencies]
python = ">=3.7,<4.0.0"
pydantic = ">=1.10.0,<2.0"
netaddr = ">=0.7.0,<1.0"
maxminddb = ">=2.0,<3.0"
tqdm = ">=4.0,<5.0"
mmdb-writer = "^0.1.1"
typer = ">=0.1.0,<1.0"
Sphinx = {version = ">=5.0,<6.0"}
sphinx-pydantic = ">=0.1,<1.0"
sphinx-rtd-theme = ">=1.0,<2.0"
tox-poetry = {version = ">=0.5,<1.0"}
tox = {version = ">=3.0,<4.0"}
pytest = {version = ">=7.2,<8.0"}
pytest-cov = {version = "^4.0.0"}
pre-commit = {version = ">=2.0,<3.0"}
[tool.poetry.extras]
docs = ["Sphinx", "sphinx-rtd-theme", "sphinxcontrib-napoleon", "sphinx-pydantic", "sphinx-rtd-theme"]
testing = ["pytest", "pytest-cov", "pre-commit", "tox", "tox-poetry"]
cli = ["parfive", "typer"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
exclude = ["docs/*", "tests/*"]
warn_return_any = true
warn_unused_configs = true
[[tool.mypy.overrides]]
module = "netaddr"
disallow_untyped_defs = true
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "mmdb_writer"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "parfive"
ignore_missing_imports = true