-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
45 lines (39 loc) · 995 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
[tool.poetry]
name = "comp_corrector"
version = "0.1.1"
description = "Desktop app using tkinter to speed up cs homework corrections"
authors = ["Conor Sheehan <[email protected]>"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.6.1"
lxml = "^4.9"
python-docx = "^0.8"
pyyaml = "*"
[tool.poetry.dev-dependencies]
black = "*"
rope = "*"
pytest = "*"
atomicwrites = "*"
taskipy = "^1.9.0"
bump2version = "^1.0.1"
isort = "^5.10.1"
mypy = "^0.930"
[tool.taskipy.tasks]
bumpversion = "bumpversion"
ui = "python src/ui.py"
ci_lint = "black --check ."
ci_isort = "isort --check --diff ."
isort = 'isort .'
lint = "black ."
mypy = "mypy --ignore-missing-imports src"
tests = "python -m pytest tests"
debug_tests = "python -m pytest -s tests"
sysver = "python -c 'import platform; print(platform.system())'"
# linter configs
[tool.isort]
profile = "black"
[tool.black]
line_length = 100
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"