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

Commita66cfe9

Browse files
committed
Merge pull requestgitpython-developers#173 from craigez/feature/pep8
Autopep8 style whitespace cleanups & pre-commit hook
2 parents7519415 +a23d0d8 commita66cfe9

File tree

115 files changed

+5387
-5028
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+5387
-5028
lines changed

‎git/__init__.py

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@
1414
#{ Initialization
1515
def_init_externals():
1616
"""Initialize external projects by putting them into the path"""
17-
ext_base=os.path.join(os.path.dirname(__file__),'ext')
17+
ext_base=os.path.join(os.path.dirname(__file__),'ext')
1818
forpackagein ('async','smmap'):
1919
sys.path.append(os.path.join(ext_base,package))
2020
try:
2121
__import__(package)
2222
exceptImportError:
2323
raiseImportError("%r could not be found in your PYTHONPATH"%package)
24-
#END verify import
25-
#END handle external import
26-
24+
#END verify import
25+
#END handle external import
26+
2727
#} END initialization
2828

2929
#################
@@ -43,14 +43,13 @@ def _init_externals():
4343
fromgit.indeximport*
4444
fromgit.repoimportRepo
4545
fromgit.utilimport (
46-
LockFile,
47-
BlockingLockFile,
48-
Stats,
49-
Actor
50-
)
46+
LockFile,
47+
BlockingLockFile,
48+
Stats,
49+
Actor
50+
)
5151

5252
#} END imports
5353

54-
__all__= [nameforname,objinlocals().items()
55-
ifnot (name.startswith('_')orinspect.ismodule(obj)) ]
56-
54+
__all__= [nameforname,objinlocals().items()
55+
ifnot (name.startswith('_')orinspect.ismodule(obj))]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp