Skip to content

Conversation

@ryanjenkinson
Copy link
Contributor

@ryanjenkinson ryanjenkinson commented Feb 22, 2023

This PR

Functional changes:

  • Removes format_check.sh as the check script from the workflow
  • Uses pipenv run pre-commit instead, which will always be in sync with our precommit hooks, and our local environment

Style / docs changes:

  • Updates .flake8 so that black and flake8 play nicely together
  • Updates our pre-commit hooks, to include notebook pre-commit hooks as well
  • Updates the README with the right way to setup the template

Ryan Jenkinson added 3 commits March 9, 2023 09:59
* Formatting of notebooks, using nbQA
* More up to date black / isort libraries
* Update `.flake8` to flake8 and black play nicely together
@ryanjenkinson ryanjenkinson changed the title Update pre-commit hooks Use pre-commit in workflow to check formatting Mar 9, 2023
@ryanjenkinson ryanjenkinson force-pushed the update-pre-commit branch 4 times, most recently from f24eeea to bb312c7 Compare March 9, 2023 12:01
@ryanjenkinson ryanjenkinson marked this pull request as ready for review March 10, 2023 09:52
@ryanjenkinson ryanjenkinson requested a review from shengy90 March 10, 2023 09:52
Copy link
Contributor

@shengy90 shengy90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for updating this.

@shengy90 shengy90 merged commit d9106d5 into main Mar 10, 2023
@shengy90 shengy90 deleted the update-pre-commit branch March 10, 2023 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants