-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPipfile
More file actions
44 lines (39 loc) · 1.05 KB
/
Pipfile
File metadata and controls
44 lines (39 loc) · 1.05 KB
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
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
bs4 = "*"
scipy = "*"
requests = "*"
html5lib = "*"
pandas = "*"
python-dateutil = "*"
openpyxl = "*"
asyncio = "*"
selenium = "*"
requests-html = "*"
[dev-packages]
pytest = "*"
mypy = "*"
pandas-stubs = "*"
types-beautifulsoup4 = "*"
types-requests = "*"
autopep8 = "*"
types-python-dateutil = "*"
coverage = "*"
openpyxl-stubs = "*"
[requires]
python_version = "3.10"
[scripts]
# https://stackoverflow.com/questions/65648138/how-do-i-run-two-commands-with-pipenv-scripts-using
_lint ="autopep8 ."
_start = "pipenv run start_main"
_mypy = "mypy ."
_test = "pytest -s"
_code_coverage = "coverage run --source='./' --omit='test/**' -m pytest"
_code_coverage_report = "coverage html --omit='test/**' -d coverage_html"
_pre_command= "bash -c 'pipenv run _lint && pipenv run _mypy'"
test="bash -c 'pipenv run _pre_command && pipenv run _code_coverage && pipenv run _code_coverage_report'"
start="bash -c 'pipenv run _pre_command && pipenv run start_main'"
start_main= "python main.py"