Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codespell-project/codespell
/ match
Method
match
codespell_lib/_codespell.py:174–175 ·
view source on GitHub ↗
(self, filename: str)
Source
from the content-addressed store, hash-verified
172
self.pattern_list: list[str] = pattern
173
174
def
match(self, filename: str) -> bool:
175
return
any(fnmatch.fnmatch(filename, p)
for
p in self.pattern_list)
176
177
178
class
TermColors:
Callers
2
main
Function · 0.95
_check_err_rep
Function · 0.80
Calls
no outgoing calls
Tested by
1
_check_err_rep
Function · 0.64