Skip to content

feature: Add user-defined ignored_modules #384

Open

Description

@axm2

Is your feature request related to a problem? Please describe.

When loading a module via load() or load_git() or griffe check I would like to be able to ignore certain modules.

Describe the solution you'd like

I should be able to pass a list of modules to ignore or paths that griffe should skip when searching.

griffe check my_package --against 1.0 --ignore-modules __about__ test_module foo/not_used_in_production.py bar/*

Additional Context

I encountered this when griffe complained about a breaking change after I updated my package's version by bumping __version__ in __about__.py.

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

Metadata

Metadata

Assignees

Labels

featureNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions