File: Makefile

package info (click to toggle)
python-opt-einsum 3.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,772 kB
  • sloc: python: 4,124; makefile: 31; javascript: 15
file content (27 lines) | stat: -rw-r--r-- 353 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
22
23
24
25
26
27
.DEFAULT_GOAL := all

.PHONY: install
install:
	pip install -e .

.PHONY: format
format:
	ruff check opt_einsum --fix
	ruff format opt_einsum

.PHONY: format-check
format-check:
	ruff check opt_einsum
	ruff format --check opt_einsum

.PHONY: mypy
mypy:
	mypy opt_einsum

.PHONY: test
test:
	pytest -v --cov=opt_einsum/

.PHONY: docs
docs:
	mkdocs build