mirror of
https://github.com/jsvine/pdfplumber.git
synced 2026-08-29 16:40:24 +08:00
23 lines
418 B
Makefile
23 lines
418 B
Makefile
.PHONY: venv tests check-black check-flake format
|
|
PYTHON := venv/bin/python
|
|
PIP = venv/bin/pip
|
|
|
|
venv:
|
|
python -m venv venv
|
|
${PIP} install --upgrade pip
|
|
${PIP} install -r requirements.txt
|
|
${PIP} install -r requirements-dev.txt
|
|
${PIP} install -e .
|
|
|
|
tests:
|
|
${PYTHON} -m pytest
|
|
|
|
check-black:
|
|
${PYTHON} -m black pdfplumber --check
|
|
|
|
check-flake:
|
|
${PYTHON} -m flake8 pdfplumber
|
|
|
|
format:
|
|
${PYTHON} -m black pdfplumber
|