-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpyproject.toml
37 lines (30 loc) · 879 Bytes
/
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
[tool.poetry]
name = "calculate-pi"
version = "0.4.0"
description = "Calculate Pi python poetry project demo"
authors = ["Erik Ferlanti <eferlanti@tacc.utexas.edu>"]
license = "BSD 3-Clause"
readme = "README.md"
repository = "https://github.com/eriksf/calculate-pi"
packages = [{include = "calculate_pi"}]
[tool.poetry.dependencies]
python = "^3.11"
click = "^8.1.7"
click-loglevel = "^0.5.0"
[tool.poetry.scripts]
calculate-pi = "calculate_pi.pi:main"
[tool.poetry.group.dev.dependencies]
pytest = "^8.3.2"
pytest-cov = "^5.0.0"
ruff = "^0.6.3"
[tool.ruff]
select = ["E", "F", "I"]
fixable = ["ALL"]
exclude = [".git", ".ruff_cache", ".vscode"]
line-length = 300
[tool.pytest.ini_options]
addopts = "--verbose --cov=calculate_pi"
[tool.poetry_bumpversion.file."calculate_pi/version.py"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"