-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
131 lines (114 loc) · 2.74 KB
/
Copy pathpyproject.toml
File metadata and controls
131 lines (114 loc) · 2.74 KB
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
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pyforge-deploy"
dynamic = ["version"]
description = "Lightweight automation tool designed to streamline the transition from development to distribution."
readme = "README.md"
requires-python = ">=3.12"
license = "MIT"
dependencies = [
"toml",
"jinja2",
"packaging",
"python-dotenv",
"build",
"twine"
]
keywords = [
"python",
"docker",
"pypi",
"cli",
"devops",
"automation",
"workflow",
"packaging",
]
authors = [
{ name = "Ertan Tunç Türk", email = "ertantuncturk61@gmail.com" },
]
maintainers = [
{ name = "Ertan Tunç Türk", email = "ertantuncturk61@gmail.com" },
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Typing :: Typed",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Build Tools",
]
[tool.setuptools.dynamic]
version = {file = ".pyforge-deploy-cache/version_cache"}
[project.optional-dependencies]
dev = [
"ruff",
"mypy",
"pytest",
"pytest-cov",
"bandit",
"pip-audit",
"pre-commit",
"coverage",
"types-toml"
]
[project.urls]
Homepage = "https://github.com/ertanturk/pyforge-deploy"
Repository = "https://github.com/ertanturk/pyforge-deploy"
Documentation = "https://github.com/ertanturk/pyforge-deploy#readme"
Issues = "https://github.com/ertanturk/pyforge-deploy/issues"
[project.scripts]
pyforge-deploy = "pyforge_deploy.cli:main"
pyforge = "pyforge_deploy.cli:main"
[tool.ruff]
line-length = 88
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP"]
ignore = []
[tool.pyforge-deploy]
default_bump = "patch"
auto_confirm = true
verbose = true
docker_push = true
docker_platforms = "linux/amd64"
docker_python = "3.12-slim"
docker_user = "ertantuncturk"
docker_wheelhouse = true
docker_non_root = true
pypi_build_target = "wheel"
pypi_reuse_dist = true
pypi_skip_preflight = false
pypi_retries = 2
pypi_backoff = 1
plugin_timeout = 300
[tool.pyforge-deploy.plugins]
before_build = []
after_build = []
before_release = []
after_release = []
[tool.mypy]
python_version = "3.12"
strict = true
ignore_missing_imports = true
warn_unused_configs = true
[tool.pytest.ini_options]
addopts = "-v --tb=short"
testpaths = ["tests"]
minversion = "7.0"
[tool.coverage.run]
branch = true
source = ["."]
omit = ["tests/*", ".venv/*"]
[tool.coverage.report]
show_missing = true
fail_under = 70
[tool.bandit]
exclude_dirs = ["tests", ".venv"]
skips = ["B101"]