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

Commitb06b13e

Browse files
committed
chore(lint): flake8
Interestingly only shows in particular python versionson travis.Maybe some caching effect?Locally it is reproducible easily, with the latest flake8
1 parentb93ba7c commitb06b13e

File tree

5 files changed

+5
-2
lines changed

5 files changed

+5
-2
lines changed

‎git/cmd.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ def dict_to_slots_and__excluded_are_none(self, d, excluded=()):
135135

136136
## -- End Utilities -- @}
137137

138+
138139
# value of Windows process creation flag taken from MSDN
139140
CREATE_NO_WINDOW=0x08000000
140141

‎git/objects/submodule/root.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717

1818

1919
classRootUpdateProgress(UpdateProgress):
20-
2120
"""Utility class which adds more opcodes to the UpdateProgress"""
2221
REMOVE,PATHCHANGE,BRANCHCHANGE,URLCHANGE= [
2322
1<<xforxinrange(UpdateProgress._num_op_codes,UpdateProgress._num_op_codes+4)]
2423
_num_op_codes=UpdateProgress._num_op_codes+4
2524

2625
__slots__=tuple()
2726

27+
2828
BEGIN=RootUpdateProgress.BEGIN
2929
END=RootUpdateProgress.END
3030
REMOVE=RootUpdateProgress.REMOVE

‎git/test/test_submodule.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@
2929

3030

3131
classTestRootProgress(RootUpdateProgress):
32-
3332
"""Just prints messages, for now without checking the correctness of the states"""
3433

3534
defupdate(self,op,cur_count,max_count,message=''):
3635
print(op,cur_count,max_count,message)
3736

37+
3838
prog=TestRootProgress()
3939

4040

‎git/util.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -940,6 +940,7 @@ class NullHandler(logging.Handler):
940940
defemit(self,record):
941941
pass
942942

943+
943944
# In Python 2.6, there is no NullHandler yet. Let's monkey-patch it for a workaround.
944945
ifnothasattr(logging,'NullHandler'):
945946
logging.NullHandler=NullHandler

‎setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ def _stamp_version(filename):
6464
else:
6565
print("WARNING: Couldn't find version line in file %s"%filename,file=sys.stderr)
6666

67+
6768
install_requires= ['gitdb2 >= 2.0.0']
6869
extras_require= {
6970
':python_version == "2.6"': ['ordereddict'],

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp