forked from Digital-Sapphire/PyUpdater
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (27 loc) · 704 Bytes
/
Makefile
File metadata and controls
38 lines (27 loc) · 704 Bytes
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
32
33
34
35
36
37
38
SHELL := /bin/bash
# utils := @poetry run python -m scripts.utils
code := pyupdater *.py
format: ## run autopep, ruff
@uv run --frozen autopep8 --recursive --in-place $(code)
# @uv run --frozen ruff check $(code) --select I001 --fix --quiet
@uv run --frozen ruff check $(code) --quiet
.PHONY : lint
lint: ## ruff linting
@poetry run ruff check $(code)
clean:
python dev/clean.py
deps:
pip install -r requirements.txt --upgrade
deps-dev:
pip install -r dev/requirements.txt --upgrade
api-md:
python dev/api_docs.py
docs-deploy:
mkdocs build --clean
python dev/move.py
register:
python setup.py register -r pypi
register-test:
python setup.py register -r pypitest
test: clean
tox