-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathPipfile
45 lines (41 loc) · 1.52 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true
[requires]
python_version = "3.6"
[dev-packages]
flake8 = "*"
setuptools = ">=30.3.0"
setuptools-scm = "*"
wheel = "*"
# The last flake8 version that supports Python 3.6 specifies "pycodestyle >=
# 2.9.0, < 2.10.0". ref: https://github.com/PyCQA/flake8/pull/1633
# The latest autopep8 specifies "pycodestyle >= 2.10.0". This conflict cannot be resolved. Pin the version to resolve this.
autopep8 = "<=1.7.0"
importlib-metadata = "<7.2"
isort = "*"
more_itertools = "<10.4"
mypy = "*"
pre-commit = "*"
responses = "*"
types-click = "*"
types-pkg_resources = "0.1.3"
types-python-dateutil = "*"
types-requests = "*"
types-tabulate = "*"
lxml = "<=5.2.2"
unittest-xml-reporting = "*"
# newer virtualenv creates a conflict with importlib-metadata. This is the latest version that seems to avoid that
virtualenv = "==20.16.2"
[packages]
launchable = {editable = true, path = "."}
[scripts]
build = "python setup.py sdist bdist_wheel"
format = "/bin/bash -c 'isort -l 130 --balanced launchable/*.py tests/*.py && autopep8 --in-place --recursive --aggressive --experimental --max-line-length=130 --verbose launchable/ tests/'"
install = "pip install -U ."
lint = "flake8 --count --ignore=C901,E741,F401 --show-source --max-line-length=130 --statistics launchable/ tests/"
lint-warn = "flake8 --count --exit-zero --max-complexity=15 --max-line-length=130 --statistics launchable/ tests/"
test = "python -m unittest"
test-xml = "python -m test-runner"
type = "mypy launchable tests"