-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
88 lines (72 loc) · 1.71 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
85
86
87
88
[build-system]
requires = ["hatchling>=1.20.0"]
build-backend = "hatchling.build"
[project]
name = "bump-pep621"
version = "0.0.12"
description = "A simple comment to build package version defined in `project.version`"
license = { text = "MIT" }
requires-python = ">=3.8,<4.0"
authors = [
{ name = "trim21", email = "trim21me@gmail.com" },
]
readme = 'readme.md'
keywords = [
"pacaging",
"bump",
"pep621",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
]
dependencies = [
'packaging',
'click~=8.1.7',
'tomlkit~=0.11',
]
[project.optional-dependencies]
testing = [
'pytest==8.3.2',
'pytest-cov==5.0.0',
"pytest-github-actions-annotate-failures==0.2.0",
]
[project.urls]
Homepage = "https://github.com/trim21/bump-pep621"
[project.scripts]
pyproject-bump = 'bump_bep621.main:main'
[tool.hatch.build.targets.sdist]
sources = ["src/"]
include = ['src/']
[tool.hatch.build.targets.wheel]
packages = ["src/bump_bep621"]
[tool.black]
target-version = ['py38']
line-length = 88
[tool.ruff]
target-version = 'py38'
line-length = 88
src = ['src', 'tests']
[tool.ruff.lint]
extend-select = ['UP', 'I', 'E', "W", 'FA', 'ANN']
ignore = ['ANN101', 'ANN401']
[tool.ruff.lint.per-file-ignores]
"tests/**" = ['ANN']
"setup.py" = ['ANN']
[tool.coverage.run]
source = [
"src",
]
[tool.mypy]
python_version = "3.8"
strict = true
disallow_untyped_defs = true
ignore_missing_imports = true
warn_return_any = false
warn_unused_configs = true
show_error_codes = true
[tool.pytest.ini_options]
pythonpath = ['src']