-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
Copy pathMakefile
33 lines (25 loc) · 853 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
maint:
pyenv local 3.7.15
pre-commit autoupdate
pip-compile -U requirements/ci.in
pip-compile -U requirements/dev.in
pip-compile -U requirements/docs.in
release:
python make_release.py
git commit -eF RELEASE_COMMIT_MSG.md
upload:
make clean
flit publish
clean:
pyclean .
rm -rf tests/__pycache__ pypdf/__pycache__ Image9.png htmlcov docs/_build dist dont_commit_merged.pdf dont_commit_writer.pdf pypdf.egg-info pypdf_pdfLocation.txt .pytest_cache .mypy_cache .benchmarks
test:
pytest tests --cov --cov-report term-missing -vv --cov-report html --durations=3 --timeout=60 pypdf
testtype:
pytest tests --cov --cov-report term-missing -vv --cov-report html --durations=3 --timeout=30 --typeguard-packages=pypdf
benchmark:
pytest tests/bench.py
mypy:
mypy pypdf --ignore-missing-imports --check-untyped --strict
pylint:
pylint pypdf