File: makefile

package info (click to toggle)
switchbot-api 2.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 312 kB
  • sloc: python: 591; makefile: 20
file content (24 lines) | stat: -rw-r--r-- 423 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

install:
	poetry install

build:
	poetry build

format:pre_commit
	poetry run black switchbot_api/
	poetry run mypy switchbot_api/
	poetry run ruff check --fix switchbot_api/__init__.py
	poetry run ruff check --output-format=github .

clean:
	rm -rf dist

test:test_update
	poetry run pytest --cov vehicle tests

test_update:
	pytest --snapshot-update

pre_commit:
	poetry run pre-commit run end-of-file-fixer --all-files