mirror of
https://github.com/autistic-symposium/ml-ai-agents-py.git
synced 2025-08-23 21:25:19 -04:00
chores: refactor for the new ai research, add linter, gh action, etc (#27)
This commit is contained in:
parent
fb4ab80dc3
commit
d5467e559f
40 changed files with 5177 additions and 2476 deletions
22
Makefile
Normal file
22
Makefile
Normal file
|
@ -0,0 +1,22 @@
|
|||
.PHONY: install lint clean
|
||||
|
||||
install:
|
||||
@echo "creating virtual environment..."
|
||||
python3 -m venv venv
|
||||
@echo "run: source venv/bin/activate"
|
||||
venv/bin/pip3 install -r scripts/requirements.txt
|
||||
|
||||
lint:
|
||||
venv/bin/python3 scripts/auto_fix.py
|
||||
|
||||
clean:
|
||||
@echo "🧹 cleaning build artifacts and cache..."
|
||||
find . -type d -name "__pycache__" -exec rm -rf {} + 2>/dev/null || true
|
||||
find . -type f -name "*.pyc" -delete 2>/dev/null || true
|
||||
find . -type f -name "*.pyo" -delete 2>/dev/null || true
|
||||
find . -type f -name "*.pyd" -delete 2>/dev/null || true
|
||||
find . -type f -name ".coverage" -delete 2>/dev/null || true
|
||||
find . -type d -name "*.egg-info" -exec rm -rf {} + 2>/dev/null || true
|
||||
find . -type d -name ".pytest_cache" -exec rm -rf {} + 2>/dev/null || true
|
||||
find . -type d -name ".mypy_cache" -exec rm -rf {} + 2>/dev/null || true
|
||||
@echo "✨ cleanup complete!"
|
Loading…
Add table
Add a link
Reference in a new issue