-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
84 lines (73 loc) · 2 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
[build-system]
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=7.0.5"]
build-backend = "setuptools.build_meta"
[project]
name = "calct"
authors = [
{name = "Philippe Warren", email = "[email protected]"},
]
description = "Easily do calculations on hours and minutes using the command line"
readme = "README.md"
license = {text = "GPLv3"}
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Natural Language :: English",
"Natural Language :: French",
"Topic :: Utilities",
"Typing :: Typed",
]
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"ipython>=8.4.0",
"black>=22.6.0",
"isort>=5.10.1",
"mypy>=0.971",
"pylint>=2.15.0",
"flake8>=5.0.4",
"Flake8-pyproject>=1.2.1",
]
test = [
"pytest>=7.1.2",
"pytest-cov>=3.0.0",
]
[project.urls]
homepage = "https://github.com/philippewarren/calct"
repository = "https://github.com/philippewarren/calct"
changelog = "https://github.com/philippewarren/calct/releases"
[project.scripts]
calct = "calct.main:main"
[tool.setuptools]
packages = ["calct"]
dynamic = {version = {attr = "calct.__version__"}}
[tool.pytest.ini_options]
required_plugins = "pytest-cov>=3.0.0"
addopts = "--cov=calct --cov-branch --cov-report=html:htmlcov_calct"
[tool.setuptools_scm]
write_to_template = """
# file generated by setuptools_scm
# don't change, don't track in version control
__version__ = "{version}"
__version_tuple__ = {version_tuple}
"""
write_to = "calct/__version__.py"
[tool.isort]
profile = "black"
[tool.black]
line-length = 120
[tool.pylint]
disable = [
"logging-fstring-interpolation",
"missing-module-docstring",
"missing-function-docstring",
"fixme",
]
enable = ["useless-suppression"]
max-line-length = 120
[tool.flake8]
max_line_length = 120