MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / accept_file

Function accept_file

setup.py:41–47  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

39
40
41def accept_file(f):
42 f = f.lower()
43 for ext in ".py .dll .so .dylib .txt .cpp .h .bat .c .sh .md .txt".split():
44 if f.endswith(ext):
45 return True
46
47 return f in ["readme", "makefile"]
48
49
50def make_rel(p):

Callers 1

setup.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected