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. #2708

Merged
merged 2 commits into from Nov 29, 2022

Conversation

misl6
Copy link
Member

@misl6 misl6 commented Nov 28, 2022

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

@misl6 misl6 merged commit 8f8cf6a into kivy:develop Nov 29, 2022
shyamnathp pushed a commit to shyamnathp/python-for-android that referenced this pull request Feb 17, 2023
* Flake8 does not support inline comments for any of the keys.

* Fix flake8 E741 ambiguous variable name
dbnicholson pushed a commit to endlessm/python-for-android that referenced this pull request May 23, 2023
* Flake8 does not support inline comments for any of the keys.

* Fix flake8 E741 ambiguous variable name

(cherry picked from commit 8f8cf6a)
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

2 participants