diff options
-rw-r--r-- | .editorconfig | 20 | ||||
-rw-r--r-- | isort/main.py | 4 |
2 files changed, 2 insertions, 22 deletions
diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index 094bc546..00000000 --- a/.editorconfig +++ /dev/null @@ -1,20 +0,0 @@ -root = true - -[*.py] -max_line_length = 120 -indent_style = space -indent_size = 4 -known_first_party = isort -known_third_party = kate -ignore_frosted_errors = E103 -skip = build,.tox,venv -balanced_wrapping = true -not_skip = __init__.py - -[*.{rst,ini}] -indent_style = space -indent_size = 4 - -[*.yml] -indent_style = space -indent_size = 2 diff --git a/isort/main.py b/isort/main.py index e6270603..b63135e9 100644 --- a/isort/main.py +++ b/isort/main.py @@ -101,13 +101,13 @@ def iter_source_code(paths, config, skipped): path, topdown=True, followlinks=True ): for dirname in list(dirnames): - if should_skip(dirname, config, dirpath, paths): + if should_skip(dirname, config, dirpath): skipped.append(dirname) dirnames.remove(dirname) for filename in filenames: filepath = os.path.join(dirpath, filename) if is_python_file(filepath): - if should_skip(filename, config, dirpath, paths): + if should_skip(filename, config, dirpath): skipped.append(filename) else: yield filepath |