Skip to content

Commit

Permalink
Add encoding comment to source files
Browse files Browse the repository at this point in the history
This is a minor thing.  It’s a convention, not a rule (obviously)—but it’s also a best practice.

Many text editors look for this kind of comment as the first line—or second line, if there is a shebang (the `#!/usr/bin/env python`, or whatever else)—and make use of this to determine the file’s encoding.
  • Loading branch information
Zearin committed Nov 1, 2012
1 parent c0ccafa commit 4c6a70c
Show file tree
Hide file tree
Showing 109 changed files with 216 additions and 0 deletions.
2 changes: 2 additions & 0 deletions github/AuthenticatedUser.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/Authorization.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/AuthorizationApplication.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/Branch.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/Commit.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/CommitComment.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/CommitStats.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/CommitStatus.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/Comparison.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/ContentFile.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/Download.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/Event.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/File.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/Gist.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/GistComment.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/GistFile.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/GistHistoryState.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/GitAuthor.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/GitBlob.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/GitCommit.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/GitObject.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/GitRef.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/GitTag.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/GitTree.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/GitTreeElement.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/Github.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/GithubException.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/GithubObject.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/Hook.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/HookDescription.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/HookResponse.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/InputFileContent.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/InputGitAuthor.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/InputGitTreeElement.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/Issue.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/IssueComment.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/IssueEvent.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/IssuePullRequest.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/Label.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/Legacy.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/Milestone.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/NamedUser.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/Organization.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/PaginatedList.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/Permissions.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/Plan.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/PullRequest.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/PullRequestComment.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/PullRequestMergeStatus.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/PullRequestPart.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/Repository.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/RepositoryKey.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/Requester.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/Tag.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/Team.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/UserKey.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/tests/AllTests.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/tests/AuthenticatedUser.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/tests/Authentication.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/tests/Authorization.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/tests/Branch.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/tests/Commit.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/tests/CommitComment.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/tests/CommitStatus.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
2 changes: 2 additions & 0 deletions github/tests/ContentFile.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2012 Vincent Jacques
# [email protected]

Expand Down
Loading

0 comments on commit 4c6a70c

Please sign in to comment.