Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b970d42

Browse filesBrowse files
committed
Remove encoding declarations
In Python 3, UTF-8 is the default encoding when no encoding declaration is present, and omitting the encoding declaration when UTF-8 is intended is officially suggested. - https://docs.python.org/3/reference/lexical_analysis.html - https://pep8.org/#source-file-encoding Furthermore, not all files in this project had them (and their presence or absence seems to have been mainly for historical reasons rather than file contents).
1 parent af1b5d4 commit b970d42
Copy full SHA for b970d42

File tree

Expand file treeCollapse file tree

13 files changed

+1
-15
lines changed
Filter options
Expand file treeCollapse file tree

13 files changed

+1
-15
lines changed

‎doc/source/conf.py

Copy file name to clipboardExpand all lines: doc/source/conf.py
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
# -*- coding: utf-8 -*-
2-
#
3-
# GitPython documentation build configuration file, created by
1+
# GitPython documentation build configuration file, originally created by
42
# sphinx-quickstart on Sat Jan 24 11:51:01 2009.
53
#
64
# This file is execfile()d with the current directory set to its containing dir.

‎git/compat.py

Copy file name to clipboardExpand all lines: git/compat.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# compat.py
32
# Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors
43
#

‎git/types.py

Copy file name to clipboardExpand all lines: git/types.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# This module is part of GitPython and is released under
32
# the BSD License: https://opensource.org/license/bsd-3-clause/
43

‎test/test_base.py

Copy file name to clipboardExpand all lines: test/test_base.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# test_base.py
32
# Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors
43
#

‎test/test_clone.py

Copy file name to clipboardExpand all lines: test/test_clone.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# This module is part of GitPython and is released under
32
# the BSD License: https://opensource.org/license/bsd-3-clause/
43

‎test/test_commit.py

Copy file name to clipboardExpand all lines: test/test_commit.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# test_commit.py
32
# Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors
43
#

‎test/test_diff.py

Copy file name to clipboardExpand all lines: test/test_diff.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding: utf-8
21
# test_diff.py
32
# Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors
43
#

‎test/test_docs.py

Copy file name to clipboardExpand all lines: test/test_docs.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# test_docs.py
32
# Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors
43
#

‎test/test_exc.py

Copy file name to clipboardExpand all lines: test/test_exc.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# test_exc.py
32
# Copyright (C) 2008, 2009, 2016 Michael Trier (mtrier@gmail.com) and contributors
43
#

‎test/test_git.py

Copy file name to clipboardExpand all lines: test/test_git.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# test_git.py
32
# Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors
43
#

‎test/test_index.py

Copy file name to clipboardExpand all lines: test/test_index.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# test_index.py
32
# Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors
43
#

‎test/test_repo.py

Copy file name to clipboardExpand all lines: test/test_repo.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# test_repo.py
32
# Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors
43
#

‎test/test_submodule.py

Copy file name to clipboardExpand all lines: test/test_submodule.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# This module is part of GitPython and is released under
32
# the BSD License: https://opensource.org/license/bsd-3-clause/
43

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.