-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
47 lines (38 loc) · 901 Bytes
/
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
[build-system]
requires = ["flit_core >=2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "python-myrepo"
module = "myrepo"
authors = [{name = "Anton Hvornum", email = "anton.feeds+github@gmail.com"}]
readme = "README.md"
classifiers = ["License :: OSI Approved :: MIT License"]
dynamic = ["version", "description"]
dependencies = [
"systemd"
]
[project.urls]
Home = "https://github.com/Torxed/myrepo"
Documentation = "https://myrepo.readthedocs.io/"
Source = "https://github.com/Torxed/myrepo"
[project.optional-dependencies]
test = [
"pytest",
"mypy",
"flake8",
]
[project.scripts]
myrepo = "myrepo:main"
[tool.flit.sdist]
exclude = ["tests/", "test.py"]
[tool.flit.module]
name = "myrepo"
[tool.mypy]
python_version = "3.10"
exclude = "tests"
[[tool.mypy.overrides]]
module = "systemd.*"
ignore_missing_imports = true
[tool.bandit]
targets = ["myrepo"]
exclude = ["/tests"]