isort icon indicating copy to clipboard operation
isort copied to clipboard

isort is not explicit about skipping directories

Open mazmrini opened this issue 2 years ago • 0 comments

Problem

isort has default directory skips listed here

I was working on a project where I actually had a module named venv in my source code. isort skipped it completely without any kind of warning.

Example:

app/
  venv/
    __init__.py
    some_file.py

isort skips the content of app/venv and does nothing on it.

Workaround

I renamed my venv module to virtualenv.

Question

Should isort ignores the default_skip when they are python modules ?

mazmrini avatar Sep 10 '22 16:09 mazmrini