I add the precommit in the workflow, checking the format via black and isort.
If the code are not in that format the test will fail. Then you should run the pre-commit locally via "pre-commit run --all-files" and commit the changed files.
Would that work?
Should we include pre-commit in the enviroment yaml?
NOTE: please just review .pre-commit-config.yaml and push-test.yaml!! All other changes are do to the necessary refactoring!!
I add the precommit in the workflow, checking the format via black and isort.
If the code are not in that format the test will fail. Then you should run the pre-commit locally via "pre-commit run --all-files" and commit the changed files.
Would that work?
Should we include pre-commit in the enviroment yaml?
NOTE: please just review .pre-commit-config.yaml and push-test.yaml!! All other changes are do to the necessary refactoring!!