-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
33 lines (28 loc) · 1.08 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
[tool.poetry]
name = "emtec"
version = "0.1.0"
description = "command line tool for emtec"
authors = ["tkc66 <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
mypy = "^1.1.1"
isort = "^5.12.0"
[tool.poetry.group.dev.dependencies]
pyjwt = {version = "2.4.0", allow-prereleases = true}
requests = {version = "2.28.2", allow-prereleases = true}
simpleobsws = {version = "1.3.1", allow-prereleases = true}
nextcloud-api-wrapper = {version = "0.2.3", allow-prereleases = true}
flake8 = {version = "6.0.0", allow-prereleases = true}
pytest = {version = "7.2.2", allow-prereleases = true}
black = "^23.1.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.taskipy.tasks]
test = { cmd = "pytest -s -vv --cov=. --cov-branch", help = "runs all unit tests" }
lint = { cmd = "task lint_black && task lint_flake8 && task lint_mypy && task lint_isort", help = "exec lint" }
lint_flake8 = "flake8 cndctl tests"
lint_mypy = "mypy cndctl tests"
lint_black = "black --check cndctl tests"
lint_isort = "isort --check-only cndctl tests"