mirror of
https://github.com/maoakeEnterprise/amazing.git
synced 2026-04-28 16:04:35 +02:00
add uv
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
install:
|
||||
pip install -r requirement.txt
|
||||
uv sync
|
||||
|
||||
run:
|
||||
python3 a_maze_ing.py config.txt
|
||||
uv run python3 a_maze_ing.py config.txt
|
||||
|
||||
debug:
|
||||
pdb python3 a_maze_ing.py config.txt
|
||||
uv pdb python3 a_maze_ing.py config.txt
|
||||
|
||||
clean:
|
||||
rm -rf __pycache__ .mypy_cache
|
||||
|
||||
lint:
|
||||
flake8 .
|
||||
mypy . --warn-return-any --warn-unused-ignores --ignore-missing-imports --disallow-untyped-defs --check-untyped-defs
|
||||
uv run python3 -m flake8 .
|
||||
uv run python3 -m mypy . --warn-return-any --warn-unused-ignores --ignore-missing-imports --disallow-untyped-defs --check-untyped-defs
|
||||
|
||||
lint-strict:
|
||||
flake8 .
|
||||
mypy . --strict
|
||||
uv run python3 -m flake8 .
|
||||
uv run python3 -m mypy . --strict
|
||||
|
||||
Reference in New Issue
Block a user