Repository navigation
Expand file tree
/
Copy pathMakefile
More file actions
49 lines (39 loc) · 1.58 KB
/
Copy pathMakefile
File metadata and controls
49 lines (39 loc) · 1.58 KB
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
39
40
41
42
43
44
45
46
47
48
49
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: rvaz-da- <rvaz-da-@student.s19.be> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2026/04/14 11:52:09 by rvaz-da- #+# #+# #
# Updated: 2026/04/14 11:52:10 by rvaz-da- ### ########.fr #
# #
# **************************************************************************** #
NAME = fly_in.py
VENV = .venv
PY = python
install:
uv python install 3.12
uv sync
@echo Virtual environment setup complete!
run:
uv run $(PY) $(NAME)
debug:
uv run $(PY) -m pdb $(NAME)
lint:
uv run flake8 . --exclude=.venv
uv run mypy . --ignore-missing-imports
lint-strict:
uv run flake8 . --exclude=.venv
uv run mypy --strict . --warn-return-any --warn-unused-ignores --ignore-missing-imports --disallow-untyped-defs --check-untyped-defs
clean:
rm -rf __pycache__/
rm -rf .mypy_cache/
rm -rf .pytest_cache
find . -type f -name "*.pyc" -delete
@echo Project cleanup complete!
fclean: clean
rm -rf .venv/
@echo Project reset complete
re: clean run
.PHONY: install run debug lint lint-strict clean fclean re