-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
81 lines (65 loc) · 2.07 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
[project]
name = "next-bus-bot"
description = "Get the next in coming buses at a Paris area Station."
dynamic = ["version"]
authors =[
{name="Pierre-Antoine Comby", email="pierre-antoine.comby@crans.org"}
]
dependencies = [
"requests",
"tomli; python_version <= '3.10'",
"importlib_resources; python_version <= '3.9'",
]
readme = "README.rst"
license = {file = "LICENSE.txt"}
requires-python = ">=3.7"
# For a list of valid classifiers, see https://pypi.org/classifiers/
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Utilities",
# Pick your license as you wish
"License :: OSI Approved :: MIT License",
# Specify the Python versions you support here. In particular, ensure
# that you indicate you support Python 3. These classifiers are *not*
# checked by "pip install". See instead "python_requires" below.
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
[project.scripts]
nbb = "nbb.cli:main"
[project.optional-dependencies]
test = ["pytest", "pytest-cov", "pytest-xdist", "pytest-sugar"]
dev = ["black", "isort"]
discord = ["discord.py"]
[build-system]
# These are the assumed default build requirements from pip:
# https://pip.pypa.io/en/stable/reference/pip/#pep-517-and-518-support
requires = ["setuptools>=43.0.0", "setuptools_scm[toml]>=6.2", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where=["src"]
[tool.setuptools_scm]
write_to = "src/nbb/_version.py"
version_scheme = "python-simplified-semver"
local_scheme="no-local-version"
[tool.coverage.run]
omit = ["*tests*"]
[tool.coverage.report]
precision = 2
exclude_lines = ["pragma: no cover", "raise NotImplementedError"]
# Formatting using black.
[tool.black]
[tool.isort]
profile="black"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = [
"--cov=nbb",
"--cov-report=term-missing",
"--cov-report=xml"
]