-
Notifications
You must be signed in to change notification settings - Fork 30
/
pyproject.toml
64 lines (54 loc) · 1.67 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
[tool.poetry]
name = "notas-musicais"
version = "0.2.1"
description = "Notas musicais é um CLI para ajudar na formação de escalas, acordes e campos harmônicos"
license = "BeerWare"
authors = ["dunossauro <mendesxeduardo@gmail.com>"]
readme = "README.md"
packages = [{include = "notas_musicais"}]
classifiers = [
"Topic :: Education",
"Environment :: Console",
"Natural Language :: Portuguese (Brazilian)",
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3.11",
]
[tool.poetry.urls]
"Documentação" = "https://notas-musicais.readthedocs.io/en/latest/"
"Código" = "https://github.com/dunossauro/notas-musicais"
"Bug Tracker" = "https://github.com/dunossauro/notas-musicais/issues"
"Doação" = "https://apoia.se/livedepython"
[tool.poetry.scripts]
notas-musicais = "notas_musicais.cli:app"
[tool.poetry.dependencies]
python = "^3.10"
typer = "^0.7.0"
rich = "^13.2.0"
[tool.poetry.group.dev.dependencies]
pytest = "^7.2.1"
pytest-cov = "^4.0.0"
blue = "^0.9.1"
isort = "^5.11.4"
taskipy = "^1.10.3"
[tool.poetry.group.doc.dependencies]
mkdocs-material = "^9.0.5"
mkdocstrings = "^0.19.1"
mkdocstrings-python = "^0.8.3"
mkdocs-macros-plugin = "^0.7.0"
jinja2 = "^3.1.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
pythonpath = "."
addopts = "--doctest-modules"
[tool.isort]
profile = "black"
line_length = 79
[tool.taskipy.tasks]
lint = "blue --check --diff . && isort --check --diff ."
docs = "mkdocs serve"
pre_test = "task lint"
test = "pytest -s -x --cov=notas_musicais -vv"
post_test = "coverage html"
publish = "poetry publish -u __token__ -p $NOTAS_MUSICAIS_TOKEN"