-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
49 lines (37 loc) · 992 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
38
39
40
41
42
43
44
45
46
47
48
49
[tool.poetry]
name = "savit"
version = "0.1.2"
description = "Saves your commands as you use them"
authors = ["ivansantiagojr <[email protected]>"]
readme = "README.md"
[tool.poetry.scripts]
savit = "savit.main:app"
[tool.poetry.dependencies]
python = "^3.11"
typer = {extras = ["all"], version = "^0.7.0"}
[tool.poetry.group.dev.dependencies]
isort = "^5.11.4"
mypy = "^1.0.1"
pytest = "^7.2.1"
pytest-cov = "^4.0.0"
taskipy = "^1.10.4"
blue = "^0.9.1"
[tool.poetry.group.doc.dependencies]
mkdocs-material = "^9.1.4"
mkdocstrings = "^0.20.0"
mkdocstrings-python = "^0.8.3"
[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=savit -vv"
post_test = "coverage html"