Skip to content

Commit b06b13e

Browse files
committed
chore(lint): flake8
Interestingly only shows in particular python versions on travis. Maybe some caching effect? Locally it is reproducible easily, with the latest flake8
1 parent b93ba7c commit b06b13e

File tree

5 files changed

+5
-2
lines changed

5 files changed

+5
-2
lines changed

Diff for: git/cmd.py

+1
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

Diff for: git/objects/submodule/root.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717

1818

1919
class RootUpdateProgress(UpdateProgress):
20-
2120
"""Utility class which adds more opcodes to the UpdateProgress"""
2221
REMOVE, PATHCHANGE, BRANCHCHANGE, URLCHANGE = [
2322
1 << x for x in range(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

Diff for: git/test/test_submodule.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@
2929

3030

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

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

37+
3838
prog = TestRootProgress()
3939

4040

Diff for: git/util.py

+1
Original file line numberDiff line numberDiff line change
@@ -940,6 +940,7 @@ class NullHandler(logging.Handler):
940940
def emit(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
if not hasattr(logging, 'NullHandler'):
945946
logging.NullHandler = NullHandler

Diff for: setup.py

+1
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)