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

apply formatting and linting rules #258

Merged
merged 1 commit into from
Apr 30, 2024
Merged

apply formatting and linting rules #258

merged 1 commit into from
Apr 30, 2024

Conversation

davidism
Copy link
Member

Using Ruff, apply Black formatting, as well as linting with pycodestyle, pyflakes, bugbear, isort, and pyupgrade rules. A pre-commit config is available to run this automatically on commit, do pre-commit install --install-hooks in your local repo. https://pre-commit.ci is enabled for this repo, meaning the checks will also run as part of CI and automatic fixes will be pushed to PRs. The tox style env is enabled by default and runs this as part of the tox suite.

Copy link
Contributor

@macnewbold macnewbold left a comment

Choose a reason for hiding this comment

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

Lots of changes! But it looks good to me.

@macnewbold macnewbold merged commit 691acc1 into main Apr 30, 2024
8 checks passed
@macnewbold macnewbold deleted the format branch April 30, 2024 17:53
This was referenced Apr 30, 2024
@jeffwidman
Copy link
Member

Nice! I'm totally stealing some of this config for a few other projects I work on...

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants