add pyproject.toml

This commit is contained in:
rmanach
2023-09-21 15:04:05 +02:00
parent e3845dbc8f
commit b9e87bd0ad
4 changed files with 22 additions and 9 deletions
+3 -7
View File
@@ -1,12 +1,8 @@
# TODO(rmanach): add a pyproject.toml
format:
black deployment/*.py
black mumui/*.py
@black mumui/*.py deployment/*.py
lint:
ruff deployment/*.py
ruff mumui/*.py
@ruff .
dev:
rm -rf venv
@@ -14,7 +10,7 @@ dev:
./venv/bin/pip install -r requirements.txt
./venv/bin/pip install -r requirements-dev.txt
django:
django: format lint
docker build . -t mumui:local
pushpin-local: