[FEAT] add pre-commit (#294)

* add pre-commit

* precommit formatting
This commit is contained in:
dni ⚡
2023-07-29 11:14:48 +02:00
committed by GitHub
parent 8ceaa73a6c
commit ca2b8e7bd6
11 changed files with 209 additions and 20 deletions

View File

@@ -45,3 +45,11 @@ upload:
make clean
python setup.py sdist bdist_wheel
twine upload --repository pypi dist/*
install-pre-commit-hook:
@echo "Installing pre-commit hook to git"
@echo "Uninstall the hook with poetry run pre-commit uninstall"
poetry run pre-commit install
pre-commit:
poetry run pre-commit run --all-files