-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
88 lines (76 loc) · 1.56 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[tool.poetry]
name = "getitdone"
version = "0.0.6"
description = "Command line to-do list application"
authors = ["Ryan Butler <ryanleonbutler@gmail.com>"]
readme = "README.md"
license = "GNU Affero General Public License v3.0"
homepage = "https://github.com/ryanleonbutler/getitdone"
repository = "https://github.com/ryanleonbutler/getitdone"
[tool.poetry.dependencies]
python = "^3.8"
rich = "^12.0.1"
[tool.poetry.dev-dependencies]
black = "^22.1.0"
flake8 = "^4.0.1"
isort = "^5.10.1"
tox = "^3.24.5"
pytest = "^7.1.1"
pylint = "^2.12.2"
coverage = "^6.3.2"
pytest-cov = "^3.0.0"
[tool.poetry.scripts]
gid = 'getitdone.getitdone:main'
getitdone = 'getitdone.getitdone:main'
[tool.tox]
legacy_tox_ini = """
[flake8]
max-line-length = 119
max-complexity = 23
[Tox]
isolated_build = true
skipsdist = true
envlist =
py{310,39,38},
flake8,
tests
[testenv]
deps =
poetry>=1.1.0
whitelist_external = poetry
skip_install = true
commands_pre = poetry install -vvv
[testenv:flake8]
commands =
poetry run flake8 src/getitdone tests/
[testenv:tests]
commands =
poetry run pytest -ra -v --cov src/getitdone --cov-report xml .
"""
[tool.black]
line-length = 119
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
profile = "black"
multi_line_output = 3
lines_after_imports = 2
combine_as_imports = true
include_trailing_comma = true
[tool.coverage.report]
skip_empty = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"