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 and test PEP 263 source file encoding specifications. #3069

Merged
merged 1 commit into from
Jun 1, 2016

Conversation

torfsen
Copy link
Contributor

@torfsen torfsen commented May 30, 2016

This is work for #3006. It was originally submitted via #3049 but has been put into this separate PR to ease reviewing.

This PR adds PEP 263 encoding specifications to all Python source files. It also adds a test which checks that every Python source file does have an encoding specification.

PEP 263 describes how to specify the encoding of a Python source file.
This commit adds UTF-8 encoding specifications to all CKAN Python source
files. It also adds a test which verifies that each source file does
indeed have a UTF-8 encoding specification.
@amercader
Copy link
Member

When #3068 is merged can you add a reference to the unicode docs on this page? http://docs.ckan.org/en/latest/contributing/python.html

@torfsen
Copy link
Contributor Author

torfsen commented Jun 1, 2016

@amercader That's already part of #3068: python.rst.

@wardi wardi merged commit e171528 into ckan:master Jun 1, 2016
@wardi
Copy link
Contributor

wardi commented Jun 1, 2016

@torfsen thanks! you're now the latest author of every file in ckan :-)

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

3 participants