-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (23 loc) · 787 Bytes
/
Makefile
File metadata and controls
28 lines (23 loc) · 787 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
install:
poetry install
tests: install
poetry run flake8 . --count --show-source --statistics --max-line-length=88 --extend-ignore=E203
poetry run black . --check
poetry run isort . --profile=black
poetry run pytest --cov=./ --cov-report=xml
export:
poetry export -f requirements.txt -o requirements.txt
export_and_commit: export
git config --global user.name 'leynier'
git config --global user.email 'leynier41@gmail.com'
git add requirements.txt
git commit --allow-empty -m "Update requirements.txt"
git push
update_index:
cp README.md docs/index.md
update_index_and_commit: update_index
git config --global user.name 'leynier'
git config --global user.email 'leynier41@gmail.com'
git add docs/index.md
git commit --allow-empty -m "Update docs/index.md"
git push