Skip to content

Excluded directories are still parsed #2

@vedang

Description

@vedang

When directories are passed in the -e flag, the expectation is that all namespaces under this will be ignored in the computation. However, to do so, all the files in this dirs are parsed (to convert the filename to a namespace that should be excluded from dependency graphs).

Due to this, the reader fails even when the user expects it will never parse the directory. For example: the error in #1 will be reproduced even if an explicit -e flag is passed to exclude code containing tagged literals.

There needs to be a better way to handle this, where the files are completely ignored without requiring namespace parsing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions