Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pre-commit config #2988

Merged
merged 2 commits into from
Oct 7, 2021
Merged

Add pre-commit config #2988

merged 2 commits into from
Oct 7, 2021

Conversation

nateprewitt
Copy link
Contributor

This is a minimal variant of boto/botocore#2472 while we work out our longer term decisions on formatting. One of the suggestions from that we reviewed and seems like a solid path forward. The project is developed by one of the main pytest/tox developers and appears to have wide adoption throughout most major Python projects. We'll start this with flake8 on the main codebase (tests are omitted for the moment), and begin pulling in new features like formatting, isort, etc. as we build confidence.

Whether we wire this up to pre-commit.ci is still TBD, but this will provide a useful local option in the interim and helps us codify parts of #2959.

@nateprewitt nateprewitt force-pushed the pre-commit branch 2 times, most recently from e169314 to 922d425 Compare September 25, 2021 00:36
@nateprewitt nateprewitt marked this pull request as ready for review September 27, 2021 16:02
@nateprewitt nateprewitt merged commit 7a10e21 into boto:develop Oct 7, 2021
@nateprewitt nateprewitt deleted the pre-commit branch October 7, 2021 22:21
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.

2 participants