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

Add warning for `files` / `exclude` containing `/*` #1702

Closed
asottile opened this issue Nov 19, 2020 · 0 comments
Closed

Add warning for `files` / `exclude` containing `/*` #1702

asottile opened this issue Nov 19, 2020 · 0 comments

Comments

@asottile
Copy link
Member

@asottile asottile commented Nov 19, 2020

it's a common mistake to believe that those fields are globs, they're not -- they're regular expressions. (and matching /* is nonsense, it matches '', '/' as well as '//////////////////////////////////////////////////////'

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

Successfully merging a pull request may close this issue.

1 participant