-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
39 lines (28 loc) · 878 Bytes
/
pyproject.toml
File metadata and controls
39 lines (28 loc) · 878 Bytes
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
[tool.poetry]
name = "python-poetry-template"
version = "1.0.0"
description = "Plantilla para desarrollo fluido en Python"
authors = ["frapercan <frapercan1@alum.us.es>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
docopt = "^0.6.2"
[tool.poetry.dev-dependencies]
pytest = "^7.2.2"
coverage = {extras = ["toml"], version = "^7.2.1"}
flake8 = "^6.0.0"
flake8-bugbear = "^23.2.13"
taskipy = "^1.10.3"
sphinx = "^7.2.6"
sphinx-rtd-theme = "^1.2.0"
[tool.coverage.run]
omit = ["*/site-packages/*"]
[tool.coverage.report]
fail_under = 100
[tool.taskipy.tasks]
html_docs = "make html -C docs"
lint = "poetry run flake8 python_poetry_template"
coverage = "poetry run coverage run -m --source=python_poetry_template pytest tests && poetry run coverage report -m"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"