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

ignore-path-errors does not work with a relative path #147

Closed
fmigneault opened this issue Aug 31, 2023 · 0 comments · Fixed by #148
Closed

ignore-path-errors does not work with a relative path #147

fmigneault opened this issue Aug 31, 2023 · 0 comments · Fixed by #148

Comments

@fmigneault
Copy link
Contributor

Given a project structure with:

<repo-root>
  docs
    changes.rst

where doc8 is executed from <repo-root>

Either using --ignore-path-errors "docs/changes.rst;D000" or setting ignore-path-errors = docs/changes.rst;D000, in the configuration file does not ignore the error.

Using the absolute file path, the error is properly ignored. However, this is not portable for any repository location.

fmigneault added a commit to Ouranosinc/Magpie that referenced this issue Aug 31, 2023
ssbarnea pushed a commit that referenced this issue Feb 15, 2024
fix absolute paths not considered for ignore-path-errors option (fixes #147)
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

Successfully merging a pull request may close this issue.

1 participant