pyproject.toml 2.74 KB
Newer Older
David Runge's avatar
David Runge committed
1
2
[tool.poetry]
name = "arch-release-promotion"
David Runge's avatar
David Runge committed
3
version = "0.2.1"
4
description = "Promote official Arch Linux releases and synchronize them"
David Runge's avatar
David Runge committed
5
6
7
8
9
10
authors = ["David Runge <dvzrv@archlinux.org>"]
license = "GPL-3.0-or-later"
packages = [
  {include = 'arch_release_promotion'}
]
include = [
11
12
  {path = 'tests/*', format = 'sdist'},
  {path = 'examples/*', format = 'sdist'},
David Runge's avatar
David Runge committed
13
]
David Runge's avatar
David Runge committed
14
15
16
17
readme = "README.rst"
homepage = "https://gitlab.archlinux.org/archlinux/arch-release-promotion"
repository = "https://gitlab.archlinux.org/archlinux/arch-release-promotion"
documentation = "https://gitlab.archlinux.org/archlinux/arch-release-promotion/-/blob/master/README.rst"
18
keywords = ["arch linux", "releases", "pgp", "signature", "synchronization", "torrent"]
David Runge's avatar
David Runge committed
19
20
21
22
23
24
25
26
27
28
29
30
31
classifiers = [
  "Development Status :: 3 - Alpha",
  "Intended Audience :: Developers",
  "Natural Language :: English",
  "Operating System :: POSIX :: Linux",
  "Topic :: Security :: Cryptography",
  "Topic :: Software Development",
  "Topic :: System :: Operating System",
  "Topic :: Utilities",
]

[tool.poetry.urls]
"Bug Tracker" = "https://gitlab.archlinux.org/archlinux/arch-release-promotion/-/issues/"
David Runge's avatar
David Runge committed
32
33

[tool.poetry.dependencies]
34
python = "^3.10"
David Runge's avatar
David Runge committed
35
pydantic = "^1.8.2"
36
python-dotenv = "^0.20.0"
David Runge's avatar
David Runge committed
37
38
39
pyxdg = "^0.27"
email-validator = "^1.1.3"
torrentool = "^1.1.1"
40
41
python-gitlab = "^2.10.0"
orjson = "^3.6.1"
42
prometheus-client = "^0.14.1"
David Runge's avatar
David Runge committed
43
44
45
toml = "^0.10.2"

[tool.poetry.dev-dependencies]
46
pytest = "^7.1"
David Runge's avatar
David Runge committed
47
isort = "^5.8.0"
48
49
50
51
black = "^22.3"
mypy = "^0.942"
flake8 = "^4.0.1"
coverage = "^6.1"
David Runge's avatar
David Runge committed
52
53
54

[tool.poetry.scripts]
arch-release-promotion = "arch_release_promotion.cli:main"
55
arch-release-sync = "arch_release_promotion.cli:arch_release_sync"
David Runge's avatar
David Runge committed
56
57

[build-system]
58
requires = ["poetry-core>=1.0.0", "setuptools"]
David Runge's avatar
David Runge committed
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
build-backend = "poetry.core.masonry.api"

[tool.black]
line-length = 120
exclude = '''
/(
  \.direnv|
  |\.eggs
  |\.git
  |\.hg
  |\.mypy_cache
  |\.nox
  |\.tox
  |\.venv
  |\.svn
  |_build
  |buck-out
  |db-write
  |db2json
  |dbscripts
  |build
  |dist
)/
'''

[tool.coverage.path]
source = "arch_release_promotion"

[tool.coverage.report]
omit = ["tests/*", ".tox/*"]
precision = 2
show_missing = true

[tool.coverage.run]
branch = true
command_line = "-m pytest -v tests/ -m 'not integration'"
omit = ["tests/*", ".tox/*"]

[tool.isort]
profile = "black"
multi_line_output = 3

[tool.mypy]
ignore_missing_imports = true
follow_imports = "silent"
follow_imports_for_stubs = true
warn_unused_ignores = true
warn_no_return = true
warn_return_any = true
warn_incomplete_stub = true
warn_redundant_casts = true
warn_unused_configs = true
no_implicit_optional = true
warn_unreachable = true
check_untyped_defs = true
disallow_any_generics = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
118
show_error_codes = true