Skip to content

Add pre-commit #63

Merged
FeodorFitsner merged 4 commits intopglet:mainfrom
MrHemlock:precommit
Feb 12, 2022
Merged

Add pre-commit #63
FeodorFitsner merged 4 commits intopglet:mainfrom
MrHemlock:precommit

Conversation

@shenanigansd
Copy link
Copy Markdown
Contributor

Add pre-commit (https://pre-commit.com) hooks to automatically run black and isort on all files in a commit.

Add config to run isort in black compatibility mode.

@FeodorFitsner FeodorFitsner marked this pull request as ready for review February 12, 2022 00:11
@FeodorFitsner FeodorFitsner merged commit fcbd1f0 into pglet:main Feb 12, 2022
@FeodorFitsner
Copy link
Copy Markdown
Contributor

How do I test it locally to see if it works? Does it work with GitHub Desktop? :)

@shenanigansd shenanigansd deleted the precommit branch February 12, 2022 17:09
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