File: Makefile

package info (click to toggle)
python-lsp-black 2.0.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 244 kB
  • sloc: python: 450; makefile: 24
file content (31 lines) | stat: -rw-r--r-- 380 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
lint:
	pre-commit run -a

black:
	pre-commit run -a black

flake8:
	pre-commit run -a flake8

isort:
	pre-commit run -a isort

mypy:
	pre-commit run -a mypy

test:
	pytest -vv .

build: lint test
	python3 setup.py sdist bdist_wheel

test-upload:
	twine upload --repository-url https://test.pypi.org/legacy/ dist/*

upload:
	twine upload dist/*

clean:
	rm -rf dist

.PHONY: build