Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-i --ignore flag doesn't accept a list of arguments #113

Open
Seluj78 opened this issue Jun 10, 2024 · 1 comment
Open

-i --ignore flag doesn't accept a list of arguments #113

Seluj78 opened this issue Jun 10, 2024 · 1 comment

Comments

@Seluj78
Copy link

Seluj78 commented Jun 10, 2024

When I run sphinx-lint -i .venv .tox I was expecting sphinx-lint to ignore both .venv and .tox directories but it isn't the case.

For it to work, I need to do sphinx-lint -i .venv -i .tox which is kind of ugly IMO

@miketheman
Copy link

This could be done by changing from append to extend which was introduced in Python 3.8 (which is now the earliest supported version of sphinx-lint).

action="extend", nargs="+", type=str

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants