Skip to content

Conversation

@ianardee
Copy link
Contributor

Add pre-commit tool to ensure proper code formatting

Description

Add the pre-commit tool and configure it for our code style.
https://pre-commit.com/

Moved most info from setup.py to setup.cfg because the future is now ;-)

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Copy link
Contributor

@fharper fharper left a comment

Choose a reason for hiding this comment

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

LGTM

@ianardee ianardee merged commit 489483e into main Mar 11, 2022
@ianardee ianardee deleted the add-pre-commit branch March 11, 2022 20:37
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.

4 participants