-
Notifications
You must be signed in to change notification settings - Fork 57
/
pyproject.toml
110 lines (95 loc) · 2.84 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[build-system]
requires = ['setuptools']
build-backend = 'setuptools.build_meta'
[project]
name = "cosmic_ray"
requires-python = ">= 3.9"
dynamic = ["version"]
authors = [{ name = "Sixty North AS", email = "austin@sixty-north.com" }]
description = "Mutation testing"
readme = { file = "README.rst", content-type = "text/x-rst" }
license = { file = "LICENCE.txt" }
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Testing",
]
dependencies = [
"aiohttp",
"anybadge",
"click",
"decorator",
"exit_codes",
"gitpython",
"parso",
"qprompt",
"rich",
"sqlalchemy",
"stevedore",
"toml",
"yattag",
]
[project.scripts]
cosmic-ray = "cosmic_ray.cli:main"
cr-html = "cosmic_ray.tools.html:report_html"
cr-report = "cosmic_ray.tools.report:report"
cr-badge = "cosmic_ray.tools.badge:generate_badge"
cr-rate = "cosmic_ray.tools.survival_rate:format_survival_rate"
cr-xml = "cosmic_ray.tools.xml:report_xml"
cr-filter-operators = "cosmic_ray.tools.filters.operators_filter:main"
cr-filter-pragma = "cosmic_ray.tools.filters.pragma_no_mutate:main"
cr-filter-git = "cosmic_ray.tools.filters.git:main"
cr-http-workers = "cosmic_ray.tools.http_workers:main"
[project.entry-points."cosmic_ray.operator_providers"]
core = "cosmic_ray.operators.provider:OperatorProvider"
[project.entry-points."cosmic_ray.distributors"]
http = "cosmic_ray.distribution.http:HttpDistributor"
local = "cosmic_ray.distribution.local:LocalDistributor"
[project.urls]
repository = "https://github.com/sixty-north/cosmic-ray"
[tool.uv]
dev-dependencies = [
"bump-my-version",
"hypothesis",
"nox",
"pytest",
"ruff",
"sphinx",
"sphinx-rtd-theme",
]
index-url = "https://pypi.org/simple"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.dynamic]
version = { attr = "cosmic_ray.version.__version__" }
[tool.bumpversion]
current_version = "8.4.1"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
tag = true
commit = true
message = "Bump version: {current_version} → {new_version}"
tag_name = "release/v{new_version}"
tag_message = "Bump version: {current_version} → {new_version}"
[[tool.bumpversion.files]]
filename = "src/cosmic_ray/version.py"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
"UP", # PYUPGRADE
"I", # ISORT
]
[tool.ruff.lint.isort]
case-sensitive = true
known-first-party = ["cosmic_ray"]