Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Ignore directories with .semgrepignore records even without the trailing slash #127

Open
underyx opened this issue Dec 3, 2020 · 0 comments
Labels
bug Something isn't working feature:file-ignore ux

Comments

@underyx
Copy link
Member

underyx commented Dec 3, 2020

Add tests to your .semgrepignore will ignore only files named tests. To ignore module/tests/test.py, you need to add tests/ to the .semgrepignore instead.

This is unexpected, and not consistent with .gitignore, where writing just tests will ignore module/tests/test.py already.

@raghavjain3 raghavjain3 added bug Something isn't working ux labels Aug 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working feature:file-ignore ux
Development

No branches or pull requests

3 participants