-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
109 lines (100 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
101
102
103
104
105
106
107
108
109
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
only-include = ["src/assess_gtfs", "data", "report", "utils"]
exclude = [
"/.github",
"/data",
"htmlcov",
"outputs",
"_quarto.yml",
".coverage",
".flake8",
"coverage.xml",
"index.qmd",
]
[tool.hatch.build.targets.wheel]
packages = ["src/assess_gtfs"]
[tool.hatch.build.targets.wheel.sources]
"src" = ""
"data" = "assess_gtfs/data"
"report" = "assess_gtfs/report"
"utils" = "assess_gtfs/utils"
[project]
name = "assess-gtfs"
authors = [
{name = "Data Science Campus", email = "[email protected]"}
]
description = "Inspect & validate General Transit Feed Specification"
readme = "README.md"
classifiers = [
"Development Status :: 1 - Planning",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Topic :: Scientific/Engineering :: GIS",
]
requires-python = ">=3.9"
version = "0.0.6"
dependencies = [
'beautifulsoup4',
'folium',
'geopandas',
'gtfs_kit==5.2.7',
'haversine',
'kaleido',
'numpy',
'pandas',
'plotly',
'pretty_html_table',
'pyprojroot',
'requests',
'tqdm',
]
[project.optional-dependencies]
test = [
'coverage',
'pre-commit',
'pytest',
'pytest-mock',
]
dev = [
'hatch',
]
docs = [
'ipykernel==6.23.1',
'jupyterlab',
'mapclassify', # for gdf.explore() in tutorial
'matplotlib', # for gdf.explore() in tutorial
'nbformat>=4.2.0',
'quartodoc',
]
[project.urls]
Repository = "https://github.com/datasciencecampus/assess_gtfs"
"Bug tracker" = "https://github.com/datasciencecampus/assess_gtfs/issues"
# `coverage` configurations
[tool.coverage.run]
source = [
"./src"
]
omit = ["**/__init__.py"]
[tool.coverage.report]
exclude_lines = [
"if __name__ == .__main__.:"
]
# `isort` configurations
[tool.isort]
profile = "black"
skip_glob = ["notebooks/*"]
line_length = 79
# `pytest` configurations
[tool.pytest.ini_options]
addopts = [
"-vv",
"--doctest-modules"
]
doctest_optionflags = "NORMALIZE_WHITESPACE"
testpaths = [
"./tests"
]