You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We ignore many common directories that contain rst files in our python projects. e.g. sphinx-lint --ignore docs/_build --ignore .tox --ignore .venv --ignore venv
It would be nice to have a more programmatic way to ignore file paths.
Options
New flag --gitignore - ignore subdir or file paths in a .gitignore
New flag --ignore-hidden - do not lint hidden subdir or file paths
Globbing support for --ignore
The text was updated successfully, but these errors were encountered:
I won't be against a --ignore-file option taking the path of a .gitignore-like file, but I'm having issues with Python's gitignore parser: mherrmann/gitignore_parser#43
We ignore many common directories that contain
rst
files in our python projects. e.g.sphinx-lint --ignore docs/_build --ignore .tox --ignore .venv --ignore venv
It would be nice to have a more programmatic way to ignore file paths.
Options
--gitignore
- ignore subdir or file paths in a.gitignore
--ignore-hidden
- do not lint hidden subdir or file paths--ignore
The text was updated successfully, but these errors were encountered: