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

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

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

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

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy