-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
57 lines (48 loc) · 1.32 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
[tool.poetry]
name = "codelimit"
version = "0.14.0"
description = ""
authors = ["Rob van der Leek <[email protected]>"]
license = "GPL-3.0-or-later"
readme = "README.md"
[tool.poetry.scripts]
codelimit = "codelimit.__main__:cli"
[tool.poetry.dependencies]
python = ">=3.10,<3.14"
pygments = "^2.13.0"
requests = "^2.28.2"
typer = "^0.9.0"
aiohttp = "^3.9.0"
pyyaml = "^6.0.1"
rich = "^13.7.1"
pathspec = "^0.12.1"
pyperclip = "^1.9.0"
sh = "^2.1.0"
[tool.pytest.ini_options]
addopts = "--tb=short"
[tool.poe.tasks.bundle]
help = "Create a binary executable using pyinstaller"
cmd = "pyinstaller --workpath .build --specpath dist -n codelimit codelimit/__main__.py"
[tool.poe.tasks.regression]
help = "Regression test runner"
cmd = "python tests/regression.py"
[tool.mypy]
ignore_missing_imports = true
[tool.semantic_release]
branch = "main"
version_toml = [ "pyproject.toml:tool.poetry.version" ]
version_variables = [ "codelimit/version.py:version" ]
upload_to_repository = false
upload_to_release = false
[tool.poetry.group.dev.dependencies]
pyinstaller = {version = "^6.0", python = ">=3.8,<3.14"}
pytest-cov = "^4.0.0"
pytest = "^7.2.1"
poethepoet = "^0.21.1"
types-pyyaml = "^6.0.12.20240917"
mypy = "^1.13.0"
black = "^24.10.0"
ruff = "^0.8.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"