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
I was looking forward to the new directory parsing functionality added in v1.2 to close #38, however it does not work well if you have hidden folders like .tox present. I would expect .venv would be another common problem case.
$ rst-lint --version
1.2.1
$ rst-lint --level warning .
SEVERE ./.tox/style/lib/python2.7/site-packages/restructuredtext_lint/test/test_files/invalid_line_mismatch.rst:1 Title overline & underline mismatch.
WARNING ./.tox/style/lib/python2.7/site-packages/restructuredtext_lint/test/test_files/invalid.rst:2 Title underline too short.
WARNING ./.tox/style/lib/python2.7/site-packages/restructuredtext_lint/test/test_files/second_short_heading.rst:6 Title underline too short.
WARNING ./.tox/style/lib/python2.7/site-packages/restructuredtext_lint/test/test_files/second_short_heading.rst:6 Title underline too short.
ERROR ./.tox/style/lib/python2.7/site-packages/restructuredtext_lint/test/test_files/invalid_link.rst:None Anonymous hyperlink mismatch: 1 references but 0 targets.
See "backrefs" attribute for IDs.
ERROR ./.tox/style/lib/python2.7/site-packages/restructuredtext_lint/test/test_files/invalid_target.rst:1 Unknown target name: "fork me on github <https://github.com/evvers/git-pre-commit-hook".
I would suggest that the recursion ignore hidden folders by default (leading .), and possibly also any hidden RST files too?
The text was updated successfully, but these errors were encountered:
flake8 seems to recurse into . folders. I think the expected usage is to use a glob for files and specify folders to recurse (e.g. flake8 *.rst restructuredtext_lint/) =/
I was looking forward to the new directory parsing functionality added in v1.2 to close #38, however it does not work well if you have hidden folders like
.tox
present. I would expect.venv
would be another common problem case.I would suggest that the recursion ignore hidden folders by default (leading
.
), and possibly also any hidden RST files too?The text was updated successfully, but these errors were encountered: