-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
100 lines (89 loc) · 2.13 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
[build-system]
requires = ["build", "setuptools-scm"]
[project]
dynamic = ["version"]
name = "transport-data"
description = "Tools for the Transport Data Commons"
authors = [{ name = "Transport Data Commons Initiative (TDCI)" }]
maintainers = [
{ name = "Paul Natsuo Kishimoto", email = "[email protected]" },
]
classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
readme = "README.rst"
requires-python = ">=3.9"
dependencies = [
"ckanapi",
"click",
"docutils",
"dsss[git-store] >= 1.3.0",
"Jinja2",
"openpyxl",
"packaging",
"pandas",
"platformdirs",
"pluggy",
"pooch",
"prompt-toolkit",
"pycountry",
"requests",
"sdmx1 >= 2.9",
"tqdm",
]
[project.optional-dependencies]
docs = ["Sphinx", "sphinx-autorun", "sphinx-book-theme"]
google = ["google-api-python-client", "google-auth-httplib2", "google-auth-oauthlib"]
tests = [
"pytest",
"pytest-cov",
"pytest-rerunfailures",
"pytest-timeout",
"pytest-xdist",
"transport-data[google]",
]
[project.urls]
homepage = "https://transport-data.org"
repository = "https://github.com/transport-data/tools"
[project.scripts]
tdc = "transport_data.cli:main"
[tool.coverage.report]
exclude_also = [
# Imports only used by type checkers
"if TYPE_CHECKING:",
# Abstract methods
'\.\.\.',
"raise NotImplementedError",
]
[tool.mypy]
exclude = ["build/"]
[[tool.mypy.overrides]]
module = [
"ckanapi.*",
"google_auth_oauthlib.*",
"google.*",
"googleapiclient.*",
"pooch",
"pycountry.*",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = """
-m "not network"
--cov=transport_data --cov-report="""
markers = ["network: tests that perform network requests"]
usefixtures = "tmp_store"
[tool.ruff.lint]
select = ["C9", "E", "F", "I", "W"]
ignore = ["E501", "W191"]
mccabe.max-complexity = 10
[tool.setuptools.packages]
find = {}
[tool.setuptools_scm]