Skip to content

Commit

Permalink
tox -e format
Browse files Browse the repository at this point in the history
  • Loading branch information
mar10 committed May 24, 2021
1 parent 3062e54 commit 7fac7b7
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion tests/davclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ def check_response(self, status=None):
raise AppError("Bad response: %s (not %s)" % (full_status, status))

def check_multi_status_response(self, expect_status=200):
""""""
""" """
if isinstance(expect_status, tuple):
pass
elif not isinstance(expect_status, list):
Expand Down
2 changes: 1 addition & 1 deletion wsgidav/debug_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def __init__(self, wsgidav_app, next_app, config):
]

def __call__(self, environ, start_response):
""""""
""" """
# srvcfg = environ["wsgidav.config"]
verbose = self._config.get("verbose", 3)

Expand Down
8 changes: 4 additions & 4 deletions wsgidav/fs_dav_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def delete(self):
self.remove_all_locks(True)

def copy_move_single(self, dest_path, is_move):
"""See DAVResource.copy_move_single() """
"""See DAVResource.copy_move_single()"""
if self.provider.readonly:
raise DAVError(HTTP_FORBIDDEN)
fpDest = self.provider._loc_to_file_path(dest_path, self.environ)
Expand Down Expand Up @@ -137,7 +137,7 @@ def support_recursive_move(self, dest_path):
return True

def move_recursive(self, dest_path):
"""See DAVResource.move_recursive() """
"""See DAVResource.move_recursive()"""
if self.provider.readonly:
raise DAVError(HTTP_FORBIDDEN)
fpDest = self.provider._loc_to_file_path(dest_path, self.environ)
Expand Down Expand Up @@ -288,7 +288,7 @@ def delete(self):
self.remove_all_locks(True)

def copy_move_single(self, dest_path, is_move):
"""See DAVResource.copy_move_single() """
"""See DAVResource.copy_move_single()"""
if self.provider.readonly:
raise DAVError(HTTP_FORBIDDEN)
fpDest = self.provider._loc_to_file_path(dest_path, self.environ)
Expand Down Expand Up @@ -324,7 +324,7 @@ def support_recursive_move(self, dest_path):
return True

def move_recursive(self, dest_path):
"""See DAVResource.move_recursive() """
"""See DAVResource.move_recursive()"""
if self.provider.readonly:
raise DAVError(HTTP_FORBIDDEN)
fpDest = self.provider._loc_to_file_path(dest_path, self.environ)
Expand Down
2 changes: 1 addition & 1 deletion wsgidav/prop_man/mongo_property_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def write_property(
self.collection.save(doc)

def remove_property(self, norm_url, name, dry_run=False, environ=None):
""""""
""" """
_logger.debug("remove_property(%s, %s, dry_run=%s)" % (norm_url, name, dry_run))
if dry_run:
# TODO: can we check anything here?
Expand Down
4 changes: 2 additions & 2 deletions wsgidav/samples/virtual_dav_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@


def _get_res_list_by_attr(attrName, attrVal):
""""""
""" """
assert attrName in RootCollection._visibleMemberNames
if attrName == "by_status":
return [data for data in _resourceData if data.get("status") == attrVal]
Expand All @@ -172,7 +172,7 @@ def _get_res_list_by_attr(attrName, attrVal):


def _get_res_by_key(key):
""""""
""" """
for data in _resourceData:
if data["key"] == key:
return data
Expand Down

0 comments on commit 7fac7b7

Please sign in to comment.