Skip to content

Conversation

@kysrpex
Copy link
Contributor

@kysrpex kysrpex commented Apr 6, 2022

Closes: #767.

* Add pre-commit configuration file
* Add black, isort and pre-commit to CI
* Ignore E203 in Flake8 (not really PEP8 compliant, see https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html?highlight=E203#slices)
@kysrpex kysrpex added 📖 documentation ℹ️ best practices 💬 discussion The idea is not mature enough to result in an implementation, and needs further discussion. 🔨 simple fix Likely to be solvable in at most a few hours (full-time). labels Apr 6, 2022
@kysrpex kysrpex marked this pull request as ready for review April 6, 2022 15:33
@kysrpex kysrpex force-pushed the feature/isort_black_pre-commit branch from e8be777 to 9c4a7b5 Compare April 6, 2022 15:39
@kysrpex kysrpex merged commit 622a831 into dev Apr 6, 2022
@kysrpex kysrpex deleted the feature/isort_black_pre-commit branch April 6, 2022 15:43
@kysrpex kysrpex linked an issue Apr 6, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📖 documentation 🔨 simple fix Likely to be solvable in at most a few hours (full-time). ℹ️ best practices 💬 discussion The idea is not mature enough to result in an implementation, and needs further discussion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Black code formatting as a pre-commit

3 participants