File: Makefile

package info (click to toggle)
normality 3.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 188 kB
  • sloc: python: 1,311; makefile: 18
file content (21 lines) | stat: -rw-r--r-- 369 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

all: clean test

install:
	pip install -q '.[dev]'

check: test typecheck
	ruff check normality

test:
	pytest

typecheck:
	mypy --strict normality

clean:
	rm -rf dist build .eggs .mypy_cache .pytest_cache
	find . -name '*.egg-info' -exec rm -fr {} +
	find . -name '*.egg' -exec rm -f {} +
	find . -name '*.pyc' -exec rm -f {} +
	find . -name '*.pyo' -exec rm -f {} +