Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitb970d42

Browse files
committed
Remove encoding declarations
In Python 3, UTF-8 is the default encoding when no encodingdeclaration is present, and omitting the encoding declaration whenUTF-8 is intended is officially suggested.-https://docs.python.org/3/reference/lexical_analysis.html-https://pep8.org/#source-file-encodingFurthermore, not all files in this project had them (and theirpresence or absence seems to have been mainly for historicalreasons rather than file contents).
1 parentaf1b5d4 commitb970d42

File tree

13 files changed

+1
-15
lines changed

13 files changed

+1
-15
lines changed

‎doc/source/conf.py

Lines 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

Lines 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

Lines 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

Lines 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

Lines 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

Lines 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

Lines 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

Lines 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

Lines 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

Lines 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

Lines 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

Lines 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

Lines 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)

[8]ページ先頭

©2009-2025 Movatter.jp