forked from shidenggui/easyquotation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPipfile
33 lines (29 loc) · 715 Bytes
/
Pipfile
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
[[source]]
url = "http://mirrors.aliyun.com/pypi/simple/"
verify_ssl = false
name = "pypi"
[packages]
six = "*"
requests = "*"
easyutils = "*"
[dev-packages]
pytest-cov = "*"
pre-commit = "*"
pytest = "*"
pylint = "*"
mypy = "*"
isort = "*"
black = "==18.6b4"
ipython = "*"
better-exceptions = "*"
pylint-django = "*"
bumpversion = "*"
[requires]
python_version = "3.6"
[scripts]
sort_imports = "bash -c 'isort \"$@\"; git add -u' --"
format = "bash -c 'black -l 79 \"$@\"; git add -u' --"
lint = "pylint"
type_check = "mypy"
test = "bash -c 'pytest --cov=easyquotation'"
bump = "bash -c 'pipenv lock -r > requirements.txt; git add -u; git commit -m \":star: update requirements.txt\"; bumpversion \"$@\"' --"