-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPipfile
More file actions
29 lines (25 loc) · 663 Bytes
/
Copy pathPipfile
File metadata and controls
29 lines (25 loc) · 663 Bytes
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
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
[dev-packages]
black = "*"
coverage = "*"
flake8 = "*"
mypy = "*"
pytest = "*"
isort = "*"
[requires]
[scripts]
lint = "pipenv run flake8 . --count --max-complexity=10 --max-line-length=127 --statistics"
black-check = "black . --check"
black-fix = "black ."
isort = "isort src tests"
isort-check = "isort -c src tests"
type-hints = "mypy src"
unit-test = "pytest -v"
test = "pipenv run unit-test"
test-coverage-create = "pipenv run coverage run -m pytest"
test-coverage-report = "pipenv run coverage report --fail-under=90"
fix = "pipenv run isort && pipenv run black-fix"