We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05c66bc commit 0ff51d1Copy full SHA for 0ff51d1
cycode/cli/files_collector/file_excluder.py
@@ -69,7 +69,7 @@ def apply_scan_config(self, scan_type: str, scan_config: 'models.ScanConfigurati
69
if scan_config.scannable_extensions:
70
self._scannable_extensions[scan_type] = tuple(scan_config.scannable_extensions)
71
72
- def _is_file_prefix_supported(self, scan_type: str, file_path: str):
+ def _is_file_prefix_supported(self, scan_type: str, file_path: str) -> bool:
73
path = Path(file_path)
74
file_name = path.name.lower()
75
scannable_prefixes = self._scannable_prefixes.get(scan_type)
0 commit comments