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] Adding flake8-coding #4477

Merged
merged 1 commit into from
Feb 25, 2018

Conversation

john-bodley
Copy link
Member

To try to further ensure unicode consistency between Python 2 and Python 3 this PR adds the flake8-config check to ensure that every Python file includes:

# -*- coding: utf-8 -*-

which ensures that it is encoded as UTF-8 in Python 2 (which is the default in Python 3) as opposed to ASCII.

This PR also removes all u'...' references which are no longer required.

to: @mistercrunch @xrmx

@mistercrunch
Copy link
Member

Side note: we should also run checks making sure we have the future imports, especially unicode literals.

@mistercrunch mistercrunch merged commit d57a37e into apache:master Feb 25, 2018
michellethomas pushed a commit to michellethomas/panoramix that referenced this pull request May 24, 2018
wenchma pushed a commit to wenchma/incubator-superset that referenced this pull request Nov 16, 2018
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.24.0 labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.24.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants