forked from royreznik/rexi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
90 lines (62 loc) · 1.73 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
[tool.poetry]
name = "rexi"
version = "1.2.0"
description = "Simpel and Interactive regex shell"
authors = ["Roy Reznik <[email protected]>"]
readme = "README.md"
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12"
]
homepage = "https://github.com/royreznik/rexi"
repository = "https://github.com/royreznik/rexi"
[tool.poetry.scripts]
rexi = "rexi.cli:app"
[tool.poetry.dependencies]
python = "^3.10"
colorama = "^0.4.6"
typer = "^0.9.0"
textual = "^0.52.1"
[tool.poetry.group.dev.dependencies]
textual-dev = "^1.4.0"
black = "^24.1.1"
pytest = "^7.4.3"
ruff = "^0.1.9"
mypy = "^1.8.0"
pytest-cov = "^4.1.0"
bump-my-version = "^0.15.4"
types-colorama = "^0.4.15.20240106"
pytest-asyncio = "^0.23.4"
ipdb = "^0.13.13"
[tool.ruff.lint]
select = ["E", "F", "B", "I"]
[tool.mypy]
strict = true
[tool.bumpversion]
current_version = "1.2.0"
commit = true
tag = true
tag_name = "v{new_version}"
message = "Version updated from {current_version} to {new_version}"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(\\.(?P<dev>\\d+))?"
serialize = [
"{major}.{minor}.{patch}.{dev}",
"{major}.{minor}.{patch}"
]
[[tool.bumpversion.files]]
filename = "rexi/__init__.py"
[[tool.bumpversion.files]]
filename = "pyproject.toml"
regex = true
search = "^version = \"{current_version}\""
replace = "version = \"{new_version}\""
[tool.pytest.ini_options]
asyncio_mode = "auto"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"