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

Commit600df04

Browse files
committed
Rmv old py2.7 __future__ imports
1 parent017b0d4 commit600df04

File tree

9 files changed

+0
-15
lines changed

9 files changed

+0
-15
lines changed

‎git/index/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
"""Initialize the index package"""
22
# flake8: noqa
3-
from __future__importabsolute_import
4-
53
from .baseimport*
64
from .typimport*

‎git/objects/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
Import all submodules main classes into the package space
33
"""
44
# flake8: noqa
5-
from __future__importabsolute_import
6-
75
importinspect
86

97
from .baseimport*

‎git/refs/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# flake8: noqa
2-
from __future__importabsolute_import
32
# import all modules in order, fix the names they require
43
from .symbolicimport*
54
from .referenceimport*

‎git/repo/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
"""Initialize the Repo package"""
22
# flake8: noqa
3-
from __future__importabsolute_import
43
from .baseimport*

‎test/lib/helper.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
#
44
# This module is part of GitPython and is released under
55
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
6-
from __future__importprint_function
7-
86
importcontextlib
97
fromfunctoolsimportwraps
108
importgc

‎test/performance/test_commit.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#
44
# This module is part of GitPython and is released under
55
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
6-
from __future__importprint_function
76
fromioimportBytesIO
87
fromtimeimporttime
98
importsys

‎test/performance/test_odb.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
"""Performance tests for object store"""
2-
from __future__importprint_function
3-
42
importsys
53
fromtimeimporttime
64

‎test/performance/test_streams.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
"""Performance data streaming performance"""
2-
from __future__importprint_function
3-
42
importos
53
importsubprocess
64
importsys

‎test/test_commit.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
#
55
# This module is part of GitPython and is released under
66
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
7-
from __future__importprint_function
8-
97
fromdatetimeimportdatetime
108
fromioimportBytesIO
119
importre

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp