-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
83 lines (72 loc) · 1.85 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
[build-system]
requires = [
"setuptools >= 64",
"setuptools_scm >= 6.4"
]
build-backend = "setuptools.build_meta"
[project]
name = "relnotes"
description = "GitHub Action for extracting release notes"
readme = "README.rst"
authors = [{name = "Alex Grönholm", email = "alex.gronholm@nextday.fi"}]
license = {text = "MIT"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
requires-python = ">= 3.11"
dependencies = [
"pandoc >= 2.3",
]
dynamic = ["version"]
[project.urls]
Changelog = "https://github.com/agronholm/release-notes/README.rst"
"Source code" = "https://github.com/agronholm/release-notes"
"Issue tracker" = "https://github.com/agronholm/release-notes/issues"
[project.optional-dependencies]
test = [
"docker >= 6.1",
"pytest >= 7.0",
]
[tool.setuptools]
py-modules = ["relnotes"]
[tool.setuptools_scm]
version_scheme = "post-release"
local_scheme = "dirty-tag"
[tool.ruff]
select = [
"E", "F", "W", # default flake-8
"I", # isort
"PGH", # pygrep-hooks
"UP", # pyupgrade
]
[tool.ruff.isort]
"required-imports" = ["from __future__ import annotations"]
[tool.mypy]
strict = true
ignore_missing_imports = true
disallow_any_generics = false
warn_return_any = false
disallow_untyped_decorators = false
disallow_subclassing_any = false
show_error_codes = true
[tool.pytest.ini_options]
addopts = "-rsx --tb=short"
testpaths = ["tests"]
xfail_strict = true
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py311
skip_missing_interpreters = true
minversion = 4.0.0
[testenv]
package = editable
commands = pytest {posargs}
extras = test
"""