-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpyproject.toml
73 lines (63 loc) · 1.52 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
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
[project]
name = "dotenv-cli"
authors = [
{ name="Bastian Venthur", email="[email protected]" }
]
description = "Simple dotenv CLI."
keywords = ["dotenv", "cli", ".env"]
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.9"
dynamic = ["version"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
]
[project.scripts]
dotenv = "dotenv_cli.cli:main"
[project.urls]
'Documentation' = 'https://dotenv-cli.readthedocs.io/'
'Source' = 'https://github.com/venthur/dotenv-cli'
'Changelog' = 'https://github.com/venthur/dotenv-cli/blob/master/CHANGELOG.md'
[project.optional-dependencies]
dev = [
"build",
"mkdocs",
"mkdocs-material",
"mypy",
"pytest",
"pytest-cov",
"ruff",
"twine",
]
[tool.setuptools.dynamic]
version = { attr = "dotenv_cli.__VERSION__" }
[tool.setuptools]
packages = ["dotenv_cli"]
[tool.pytest.ini_options]
addopts = [
"--cov=dotenv_cli",
"--cov=tests",
"--cov-report=html",
"--cov-report=term-missing:skip-covered"
]
[tool.ruff]
line-length = 79
[tool.ruff.lint]
select = [
"F", # pyflakes
"E", "W", # pycodestyle
"C90", # mccabe
"I", # isort
"D", # pydocstyle
"UP" # pyupgrade
]
pydocstyle.convention = "numpy"
[tool.mypy]
files = ["dotenv_cli", "tests"]
strict = true