-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
66 lines (59 loc) · 1.53 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
[build-system]
requires = ["setuptools", "setuptools_scm"]
build-backend = "setuptools.build_meta"
[project]
name = "traveltimepy"
dynamic = ["version"]
description = "Python Interface to Travel Time."
readme = { file = "README.md", content-type = "text/markdown" }
keywords = ["traveltimepy", "api", "maps"]
license = { text = "MIT" }
authors = [{ name = "TravelTime" }]
requires-python = ">=3.8"
dependencies = [
"pydantic",
"typing-extensions",
"geojson-pydantic>=1.0.1",
"shapely",
"dacite",
"certifi>=2021.5.30",
"aiohttp",
"aiolimiter",
"aiohttp-retry",
"protobuf==4.21.12",
"types-protobuf",
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
]
[project.optional-dependencies]
test = [
"pytest",
"pytest-asyncio",
"flake8",
"flake8-pyproject",
"mypy",
"black",
"types-shapely",
]
[tool.setuptools]
zip-safe = false
include-package-data = true
packages = { find = {} }
[tool.setuptools_scm]
[tool.flake8]
per-file-ignores = ["**/__init__.py:F401"]
max-line-length = 88
extend-ignore = ["E203"] # See https://github.com/PyCQA/pycodestyle/issues/373
exclude = ["build/", "venv/", "traveltimepy/proto/"]
[tool.mypy]
exclude = "^(traveltimepy/proto/.*|build/.*|venv/.*)$"
[[tool.mypy.overrides]]
module = "traveltimepy.proto.*"
follow_imports = "skip"