-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
37 lines (26 loc) · 552 Bytes
/
makefile
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
# Virtualenv
# Requirements for scraping and analysis
install:
pip install pip==23.0 pip-tools==6.12.3
pip-sync
# Minimum requirements for scraping only
install-minimal:
pip install pip==23.0 pip-tools==6.12.3
pip-sync requirements-minimal.txt
# Requirements for development and testing
install-dev:
pip install pip==23.0 pip-tools==6.12.3
pip-sync requirements-dev.txt
# Static analysis
check: black isort flake8 mypy test
mypy:
mypy .
black:
black --check .
isort:
isort --check .
flake8:
flake8
# Testing
test:
pytest -v tests