-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
100 lines (89 loc) · 1.97 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
[project]
name = "drivecycle"
description = "Create drivecycles and energy consumption simulations for vehicles."
readme = "README.md"
requires-python = ">=3.8"
license = {file = "LICENSE"}
authors = [
{name = "Saadiq Mohiuddin", email = "saadiq.mohiuddin@gmail.com"},
]
keywords = ["drivecycle"]
classifiers = [
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: GIS",
]
dynamic = ["version"]
dependencies = [
"numpy",
"scipy",
"geopandas"
]
[project.optional-dependencies]
test = [
"pytest"
]
dev = [
"black",
"flake8",
"isort",
"mypy",
"pytest",
"sphinx",
]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q"
testpaths = [
"tests"
]
[project.urls]
Homepage = 'https://saadiqm.com/drivecycle/'
[tool.hatch.version]
path = "drivecycle/__init__.py"
[tool.hatch.build.targets.sdist]
exclude = [
"/tests",
"/docs",
".github",
".history",
".bumpversion.cfg",
".flake8",
".gitignore",
".pre-commit-config.yaml",
"AUTHORS.txt",
"CHANGES.md",
"CONTRIBUTING.md",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.coverage.run]
branch = true
parallel = true
[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
[tool.mypy]
no_strict_optional = true
[tool.ruff]
select = [
"D1", # pydocstyle errors
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # flake8
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"B905", # ignore zip() without an explicit strict= parameter, only support with python >3.10
]