MCPcopy Create free account
hub / github.com/TileDB-Inc/TileDB / accept_path

Method accept_path

scripts/linter.py:142–146  ·  view source on GitHub ↗
(self, file_name: str)

Source from the content-addressed store, hash-verified

140 lint_kind: int = LINT_HEAP_MEMORY
141
142 def accept_path(self, file_name: str) -> bool:
143 path_components = file_name.split(os.sep)
144 if 'test' in path_components or 'test-support' in path_components:
145 return False
146 return path_components[-1] not in heap_memory_ignored_files
147
148
149@dataclass

Callers

nothing calls this directly

Calls 1

splitMethod · 0.80

Tested by

no test coverage detected