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

File exclude list does not work from different working directory #901

Closed
FlixCoder opened this issue Jan 8, 2024 · 2 comments
Closed

File exclude list does not work from different working directory #901

FlixCoder opened this issue Jan 8, 2024 · 2 comments

Comments

@FlixCoder
Copy link

Hi,

I just noticed that files.extend-exclude does not work properly in the .typos.toml file, when a different working directory is used. It only happens if a sub-folder is mentioned in the exclude pattern, so the following steps to reproduce:

  1. There is a file ./tests/bla.crt which has multiple recognized typos.
  2. In ./.typos.toml there is tests/bla.crt as exclude pattern.
  3. Now invoke typos in the current directory and it works.
  4. Now invoke typos ./foo in the parent directory and it fails.
@epage
Copy link
Collaborator

epage commented Jan 8, 2024

This looks to be a duplicate of #593. If I missed something and we need to keep this separate issue open instead, let us know!

@epage epage closed this as not planned Won't fix, can't repro, duplicate, stale Jan 8, 2024
@FlixCoder
Copy link
Author

Whoops, sorry

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