File: Makefile

package info (click to toggle)
python-janus 2.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 220 kB
  • sloc: python: 1,805; makefile: 25
file content (31 lines) | stat: -rw-r--r-- 502 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
28
29
30
31
develop:
	python setup.py develop

lint flake: checkrst  pyroma bandit mypy
	flake8 janus tests

test: flake develop
	pytest tests

vtest: flake develop
	pytest -v tests

fmt:
	isort -rc janus tests setup.py
	black janus tests setup.py

cov: flake develop
	pytest --cov=janus --cov=tests --cov-report=term --cov-report=html
	@echo "open file://`pwd`/coverage/index.html"

checkrst:
	python setup.py check --restructuredtext

pyroma:
	pyroma -d .

bandit:
	bandit -r ./janus

mypy:
	mypy janus --strict