File: Makefile

package info (click to toggle)
libthumbor 2.0.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 288 kB
  • sloc: python: 900; makefile: 18
file content (18 lines) | stat: -rw-r--r-- 362 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
COVERAGE = $(or $(shell which coverage), $(shell which python-coverage), coverage)

test ci_test: unit coverage flake8 pylint

unit:
	@poetry run pytest -n `nproc` --cov=libthumbor tests/

coverage:
	@$(COVERAGE) report -m --fail-under=75

setup:
	@poetry install

flake flake8:
	@poetry run flake8

pylint lint:
	@poetry run pylint --exit-zero libthumbor tests