Skip to content

Commit a1fc73b

Browse files
author
Martin Durant
committed
moer
1 parent 002982e commit a1fc73b

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

s3fs/core.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,9 @@ def _get_s3_method_kwargs(self, method, *akwarglist, **kwargs):
265265
@staticmethod
266266
def _get_kwargs_from_urls(urlpath):
267267
"""
268-
When we have a urlpath that contains a ?versionId= query assume that we want to use version_aware mode for
268+
When we have a urlpath that contains a ?versionId=
269+
270+
Assume that we want to use version_aware mode for
269271
the filesystem.
270272
"""
271273
url_storage_opts = infer_storage_options(urlpath)

setup.cfg

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,23 @@ tag_prefix = ""
1111
[flake8]
1212
exclude = __init__.py,versioneer.py,s3fs/tests/
1313
max-line-length = 95
14+
ignore =
15+
E20, # Extra space in brackets
16+
E231,E241, # Multiple spaces around ","
17+
E26, # Comments
18+
E4, # Import formatting
19+
E721, # Comparing types instead of isinstance
20+
E731, # Assigning lambda expression
21+
E121, # continuation line under-indented for hanging indent
22+
E126, # continuation line over-indented for hanging indent
23+
E127, # continuation line over-indented for visual indent
24+
E128, # E128 continuation line under-indented for visual indent
25+
E702, # multiple statements on one line (semicolon)
26+
W503, # line break before binary operator
27+
E129, # visually indented line with same indent as next logical line
28+
E116, # unexpected indentation
29+
F811, # redefinition of unused 'loop' from line 10
30+
F841, # local variable is assigned to but never used
31+
E741 # Ambiguous variable names
32+
W504, # line break after binary operator
33+

0 commit comments

Comments
 (0)