File: Makefile

package info (click to toggle)
python-httpx-sse 0.4.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 188 kB
  • sloc: python: 715; makefile: 31; sh: 17
file content (29 lines) | stat: -rw-r--r-- 486 bytes parent folder | download | duplicates (2)
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
venv = venv
bin = ${venv}/bin/
pysources = src tests/

install: install-python

install-python:
	python3 -m venv ${venv}
	${bin}pip install -U pip wheel
	${bin}pip install -U build
	${bin}pip install -r requirements.txt

check:
	${bin}black --check --diff ${pysources}
	${bin}ruff check ${pysources}
	${bin}mypy ${pysources}

format:
	${bin}ruff check --fix ${pysources}
	${bin}black ${pysources}

build:
	${bin}python -m build

publish:
	${bin}twine upload dist/*

test:
	${bin}pytest