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

fix: flake8 error on mocked modules #1472

Merged
merged 1 commit into from
Mar 18, 2021
Merged

Conversation

chilicheech
Copy link
Contributor

This fixes a flake8 error when running flake8 on the .cache folder. This happens when you don't specifically specify what files to flake8. flake8 will automatically pick up the file. The error it throws is this:

✗ flake8 --format=pylint --output-file=flake8.log
./.cache/modules/my_awesome_module.py:17: [E302] expected 2 blank lines, found 1

Cheers,

@ssbarnea ssbarnea added the bug label Mar 18, 2021
@ssbarnea
Copy link
Member

.cache folder is supposed to not be looked into by any linter and be part of .gitignore, but at the same time, I see no reason to avoid producing mocked modules that pass flake8 either.

Thanks for your first contrib and I hope to see more!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants