Skip to content

Add options to ignore directories #426

Description

@eugenenelou

Currently all directories are walked through, except the ones ignored by .gitignore

it would be nice to be able to ignore the walkthrough of some directories, maybe because they are big and do not contain python code.

or in my case if they crash the walkthrough. I'm using pdm and the .venv/ at the root of my project contains symlink to python versions outside of the project and it raises an error:

ValueError: '/home/eugene/.pyenv/versions/3.10.5/bin/python3.10' is not in the subpath of '/home/eugene/my_projects' OR one path is relative and the other is absolute. 

for now I'm resorting to:

fixit fix -a $(ls -A -I.venv)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions