Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/getsentry/sentry
/ _is_tests_path
Function
_is_tests_path
tools/flake8_plugin.py:202–203 ·
view source on GitHub ↗
(filename: str)
Source
from the content-addressed store, hash-verified
200
201
202
def
_is_tests_path(filename: str) -> bool:
203
return
"tests/"
in filename or
"testutils/"
in filename
204
205
206
def
_is_platform_path(filename: str) -> bool:
Callers
2
visit_Assign
Method · 0.85
visit_Call
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected