mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-13 12:30:08 -06:00
include checking symlinks
This commit is contained in:
@@ -89,7 +89,7 @@ def get_files_matching(all_file_list_strategy):
|
||||
if (
|
||||
include_regex.search(filename) and
|
||||
not exclude_regex.search(filename) and
|
||||
os.path.exists(filename)
|
||||
os.path.lexists(filename)
|
||||
)
|
||||
)
|
||||
return wrapper
|
||||
|
||||
Reference in New Issue
Block a user