-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (66 loc) · 1.42 KB
/
Copy pathpyproject.toml
File metadata and controls
80 lines (66 loc) · 1.42 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
[build-system]
requires = ["setuptools>=77.0"]
build-backend = "setuptools.build_meta"
[project]
name = "simple-http-checker"
version = "1.0.0"
description = "A simple CLI tool to check the status of URLs."
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"requests>=2.28,<3.0",
"click>=8.0,<9.0"
]
[project.optional-dependencies]
dev = [
"mypy",
"bandit",
"types-requests",
"pytest",
"pytest-mock",
"ruff",
"black"
]
[project.scripts]
check-urls = "simple_http_checker.cli:main"
[tool.ruff]
line-length = 70
[tool.black]
line-length = 70
[tool.mypy]
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
[tool.bandit]
exclude_dirs = [".venv", "__pycache__", "build", "dist"]
skips = ["B101"]
[tool.pytest.ini_options]
addopts = "-rA -s -v"
[tool.semantic_release]
version_toml = ["pyproject.toml:project.version"]
build_command = "pip install build && python -m build"
dist_path = "dist/"
upload_to_pypi = false
upload_to_release = true
hvcs = "github"
commit_message = "chore(release): {version} [skip ci]"
[tool.semantic_release.branches.main]
match = "main"
prerelease = false
[tool.semantic_release.changelog.default_templates]
changelog_file = "CHANGELOG.md"
[tool.semantic_release.commit_parser_options]
allowed_tags = [
"build",
"chore",
"ci",
"docs",
"feat",
"fix",
"perf",
"style",
"refactor",
"test"
]
minor_tags = ["feat"]
patch_tags = ["fix", "perf"]