File: Makefile

package info (click to toggle)
python-async-timeout 5.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 156 kB
  • sloc: python: 459; makefile: 19
file content (21 lines) | stat: -rw-r--r-- 340 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
test: lint
	python -m pytest tests

lint: fmt
	python -m mypy

fmt:
ifdef CI
	python -m pre_commit run --all-files --show-diff-on-failure
else
	python -m pre_commit run --all-files
endif


check:
	python -m build
	python -m twine check dist/*

install:
	python -m pip install --user -U pip
	python -m pip install --user -r requirements.txt