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

Flake8 does not support inline comments for any of the keys. + Cleanup some ignored errors/warnings #1539

Merged
merged 1 commit into from Jan 4, 2023

Conversation

misl6
Copy link
Member

@misl6 misl6 commented Jan 4, 2023

See:

From https://flake8.pycqa.org/en/latest/user/configuration.html :

Following the recommended settings for Python’s configparser, Flake8 does not support inline comments for any of the keys. So while this is fine:

[flake8]
per-file-ignores =
    # imported but unused
    __init__.py: F401

this is not:

[flake8]
per-file-ignores =
    __init__.py: F401 # imported but unused

Same of kivy/python-for-android#2708

I also took the occasion to do some cleanup.

@misl6 misl6 merged commit cb42f68 into kivy:master Jan 4, 2023
@misl6 misl6 deleted the fix/flake8-no-inline-comments branch January 4, 2023 15:18
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.

None yet

1 participant