BAMresearch / FenicsXConcrete

MIT License
0 stars 2 forks source link

60 black and isort #61

Closed aradermacher closed 1 year ago

aradermacher commented 1 year ago

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!!