forked from geobeyond/fastgeoapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
105 lines (95 loc) · 2.66 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
[tool.poetry]
name = "fastgeoapi"
version = "0.0.1"
description = "fastgeoapi"
authors = ["Francesco Bartoli <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/geobeyond/fastgeoapi"
repository = "https://github.com/geobeyond/fastgeoapi"
documentation = "https://fastgeoapi.readthedocs.io"
classifiers = [
"Development Status :: 1 - Planning",
]
packages = [
{ include = "cli.py" },
{ include = "app" },
{ include = "app/**/*.py" },
]
[tool.poetry.urls]
Changelog = "https://github.com/geobeyond/fastgeoapi/releases"
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
mangum = "^0.14.1"
loguru = "^0.7.0"
jinja2 = "3.0.3"
fastapi-opa = "^1.4.5"
rasterio = "1.3.7" # fix https://github.com/rasterio/rasterio/issues/2333
pygeoapi = {git = "https://github.com/geopython/pygeoapi", rev = "master"}
uvicorn = {extras = ["standard"], version = "^0.23.0"}
fastapi = {extras = ["all"], version = "^0.103"}
typer = {extras = ["all"], version = "^0.7.0"}
# pydantic = {extras = ["dotenv", "email"], version = "^2.0"}
nest-asyncio = "^1.5.6"
fastapi-key-auth = "^0.12.0"
sqlalchemy = "^1.4.49"
geoalchemy2 = "^0.12.5"
shapely = "<2.0"
psycopg2 = "^2.9.7"
openapi-pydantic = "^0.3.1"
pygeofilter = {extras = ["backend-sqlalchemy"], version = "^0.2.1"}
pydantic-settings = "^2.0.3"
[tool.poetry.scripts]
fastgeoapi = "fastgeoapi.cli:main"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.0"
coverage = {extras = ["toml"], version = "^6.5.0"}
typeguard = "^2.13.3"
xdoctest = {extras = ["colors"], version = "^0.15.10"}
pre-commit = "^2.21.0"
black = "^22.12.0"
flake8-bandit = "^4.1.1"
flake8-bugbear = "^21.11.29"
flake8-docstrings = "^1.7.0"
flake8-rst-docstrings = "^0.2.7"
pep8-naming = "^0.12.1"
darglint = "^1.8.1"
reorder-python-imports = "^3.9.0"
pre-commit-hooks = "^4.0.1"
pyupgrade = "^3.3.1"
mkdocs = "^1.3.0"
mkdocs-material = "^9.2.1"
mkdocs-material-extras = "^0.0.8"
mkdocs-material-extensions = "^1.1.1"
bandit = "^1.7.5"
ipython = "^8.12.2"
safety = "<2.0"
mypy = "^1.5.0"
commitizen = "^3.6.0"
pdbpp = "^0.10.3"
[tool.coverage.paths]
source = [".", "*/site-packages"]
tests = ["tests", "*/tests"]
[tool.coverage.run]
branch = true
source = ["fastgeoapi", "tests"]
[tool.coverage.report]
show_missing = true
fail_under = 100
[tool.mypy]
strict = true
warn_unreachable = true
pretty = true
show_column_numbers = true
show_error_codes = true
show_error_context = true
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "$version"
version_scheme = "semver"
version_provider = "poetry"
update_changelog_on_bump = true
major_version_zero = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"