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 flake8 config globally #732

Merged
merged 2 commits into from
Oct 16, 2022
Merged

Conversation

cadnce
Copy link
Contributor

@cadnce cadnce commented Oct 12, 2022

When making a PR on the project I got caught out by the flake8 linter and the build failed. Equally, I wasnt sure which formatter was in use by the project.

By configuring flake8 globally this it makes it possible to not get caught out by the CI linting step and ensure the code is formatted correctly on first commit. I guess this is somewhat similar to the changes in #718 but we worried about different aspects of contributing. Both cover different aspects that could be helpful.

I have made the list of errors that are faliling slightly more explicit to just the ones that are failing but equally happy to relax that again if prefered.

@mpenkov
Copy link
Collaborator

mpenkov commented Oct 16, 2022

Merged, thank you!

@mpenkov mpenkov merged commit 9449c37 into piskvorky:develop Oct 16, 2022
davidparks21 pushed a commit to davidparks21/smart_open that referenced this pull request Oct 18, 2022
* Add flake config globally

* Remove un-used import
davidparks21 pushed a commit to davidparks21/smart_open that referenced this pull request Oct 18, 2022
* Add flake config globally

* Remove un-used import
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