fname
stringlengths
63
176
rel_fname
stringclasses
706 values
line
int64
-1
4.5k
name
stringlengths
1
81
kind
stringclasses
2 values
category
stringclasses
2 values
info
stringlengths
0
77.9k
⌀
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
50
pytest_addoption
def
function
def pytest_addoption(parser: Parser) -> None: parser.addini( "norecursedirs", "directory patterns to avoid for recursion", type="args", default=[ "*.egg", ".*", "_darcs", "build", "CVS", "dist", "node...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
51
addini
ref
function
parser.addini(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
67
addini
ref
function
parser.addini(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
74
getgroup
ref
function
group = parser.getgroup("general", "running and selection options")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
75
_addoption
ref
function
group._addoption(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
83
getgroup
ref
function
group = parser.getgroup("pytest-warnings")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
84
addoption
ref
function
group.addoption(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
90
addini
ref
function
parser.addini(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
97
_addoption
ref
function
group._addoption(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
106
_addoption
ref
function
group._addoption(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
111
_addoption
ref
function
group._addoption(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
116
_addoption
ref
function
group._addoption(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
121
_addoption
ref
function
group._addoption(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
129
_addoption
ref
function
group._addoption(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
136
_addoption
ref
function
group._addoption(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
145
getgroup
ref
function
group = parser.getgroup("collect", "collection")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
146
addoption
ref
function
group.addoption(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
153
addoption
ref
function
group.addoption(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
158
addoption
ref
function
group.addoption(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
164
addoption
ref
function
group.addoption(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
170
addoption
ref
function
group.addoption(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
176
addoption
ref
function
group.addoption(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
184
addoption
ref
function
group.addoption(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
191
addoption
ref
function
group.addoption(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
199
addoption
ref
function
group.addoption(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
206
addoption
ref
function
group.addoption(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
215
getgroup
ref
function
group = parser.getgroup("debugconfig", "test session debugging and configuration")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
216
addoption
ref
function
group.addoption(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
229
validate_basetemp
def
function
def validate_basetemp(path: str) -> str: # GH 7119 msg = "basetemp must not be empty, the current working directory or any parent directory of it" # empty path if not path: raise argparse.ArgumentTypeError(msg) def is_ancestor(base: Path, query: Path) -> bool: """Return whether que...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
237
is_ancestor
def
function
def is_ancestor(base: Path, query: Path) -> bool: """Return whether query is an ancestor of base.""" if base == query: return _True return query in base.parents # check if path is an ancestor of cwd if is_ancestor(Path.cwd(), Path(path).absolute()): raise argpars...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
244
is_ancestor
ref
function
if is_ancestor(Path.cwd(), Path(path).absolute()):
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
248
is_ancestor
ref
function
if is_ancestor(Path.cwd().resolve(), Path(path).resolve()):
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
254
wrap_session
def
function
def wrap_session( config: Config, doit: Callable[[Config, "Session"], Optional[Union[int, ExitCode]]]
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
258
from_config
ref
function
session = Session.from_config(config)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
263
_do_configure
ref
function
config._do_configure()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
265
pytest_sessionstart
ref
function
config.hook.pytest_sessionstart(session=session)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
267
doit
ref
function
session.exitstatus = doit(config, session) or 0
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
274
from_current
ref
function
excinfo = _pytest._code.ExceptionInfo.from_current()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
281
pytest_keyboard_interrupt
ref
function
config.hook.pytest_keyboard_interrupt(excinfo=excinfo)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
285
from_current
ref
function
excinfo = _pytest._code.ExceptionInfo.from_current()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
287
notify_exception
ref
function
config.notify_exception(excinfo, config.option)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
302
pytest_sessionfinish
ref
function
config.hook.pytest_sessionfinish(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
309
_ensure_unconfigure
ref
function
config._ensure_unconfigure()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
313
pytest_cmdline_main
def
function
def pytest_cmdline_main(config: Config) -> Union[int, ExitCode]: return wrap_session(config, _main)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
314
wrap_session
ref
function
return wrap_session(config, _main)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
317
_main
def
function
def _main(config: Config, session: "Session") -> Optional[Union[int, ExitCode]]: """Default command line protocol for initialization, session, running tests and reporting.""" config.hook.pytest_collection(session=session) config.hook.pytest_runtestloop(session=session) if session.testsfailed: ...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
320
pytest_collection
ref
function
config.hook.pytest_collection(session=session)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
321
pytest_runtestloop
ref
function
config.hook.pytest_runtestloop(session=session)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
330
pytest_collection
def
function
def pytest_collection(session: "Session") -> None: session.perform_collect()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
331
perform_collect
ref
function
session.perform_collect()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
334
pytest_runtestloop
def
function
def pytest_runtestloop(session: "Session") -> bool: if session.testsfailed and not session.config.option.continue_on_collection_errors: raise session.Interrupted( "%d error%s during collection" % (session.testsfailed, "s" if session.testsfailed != 1 else "") ) if session...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
336
Interrupted
ref
function
raise session.Interrupted(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
346
pytest_runtest_protocol
ref
function
item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
348
Failed
ref
function
raise session.Failed(session.shouldfail)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
350
Interrupted
ref
function
raise session.Interrupted(session.shouldstop)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
354
_in_venv
def
function
def _in_venv(path: Path) -> bool: """Attempt to detect if ``path`` is the root of a Virtual Environment by checking for the existence of the appropriate activate script.""" bindir = path.joinpath("Scripts" if sys.platform.startswith("win") else "bin") try: if not bindir.is_dir(): ret...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
374
pytest_ignore_collect
def
function
def pytest_ignore_collect(fspath: Path, config: Config) -> Optional[bool]: ignore_paths = config._getconftest_pathlist( "collect_ignore", path=fspath.parent, rootpath=config.rootpath ) ignore_paths = ignore_paths or [] excludeopt = config.getoption("ignore") if excludeopt: ignore_pat...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
375
_getconftest_pathlist
ref
function
ignore_paths = config._getconftest_pathlist(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
379
getoption
ref
function
excludeopt = config.getoption("ignore")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
381
absolutepath
ref
function
ignore_paths.extend(absolutepath(x) for x in excludeopt)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
386
_getconftest_pathlist
ref
function
ignore_globs = config._getconftest_pathlist(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
390
getoption
ref
function
excludeglobopt = config.getoption("ignore_glob")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
392
absolutepath
ref
function
ignore_globs.extend(absolutepath(x) for x in excludeglobopt)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
397
getoption
ref
function
allow_in_venv = config.getoption("collect_in_virtualenv")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
398
_in_venv
ref
function
if not allow_in_venv and _in_venv(fspath):
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
403
pytest_collection_modifyitems
def
function
def pytest_collection_modifyitems(items: List[nodes.Item], config: Config) -> None: deselect_prefixes = tuple(config.getoption("deselect") or []) if not deselect_prefixes: return remaining = [] deselected = [] for colitem in items: if colitem.nodeid.startswith(deselect_prefixes): ...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
404
getoption
ref
function
deselect_prefixes = tuple(config.getoption("deselect") or [])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
417
pytest_deselected
ref
function
config.hook.pytest_deselected(items=deselected)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
421
FSHookProxy
def
class
__init__ __getattr__
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
427
subset_hook_caller
ref
function
x = self.pm.subset_hook_caller(name, remove_plugins=self.remove_mods)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
432
Interrupted
def
class
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
438
Failed
def
class
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
443
_bestrelpath_cache
def
class
__missing__
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
446
__missing__
def
function
def __missing__(self, path: Path) -> str: r = bestrelpath(self.path, path) self[path] = r return r
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
447
bestrelpath
ref
function
r = bestrelpath(self.path, path)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
453
Session
def
class
__init__ from_config __repr__ startpath _node_location_to_relpath pytest_collectstart pytest_runtest_logreport isinitpath gethookproxy _recurse _collectfile perform_collect perform_collect perform_collect collect genitems
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
478
_bestrelpath_cache
ref
function
self._bestrelpathcache: Dict[Path, str] = _bestrelpath_cache(config.rootpath)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
480
register
ref
function
self.config.pluginmanager.register(self, name="session")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
483
from_config
def
function
def from_config(cls, config: Config) -> "Session": session: Session = cls._create(config=config) return session def __repr__(self) -> str: return "<%s %s exitstatus=%r testsfailed=%d testscollected=%d>" % ( self.__class__.__name__, self.name, getattr(...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
484
_create
ref
function
session: Session = cls._create(config=config)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
497
startpath
def
function
def startpath(self) -> Path: """The path from which pytest was invoked. .. versionadded:: 7.0.0 """ return self.config.invocation_params.dir def _node_location_to_relpath(self, node_path: Path) -> str: # bestrelpath is a quite slow function. return self._bestrel...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
504
_node_location_to_relpath
def
function
def _node_location_to_relpath(self, node_path: Path) -> str: # bestrelpath is a quite slow function. return self._bestrelpathcache[node_path] @hookimpl(tryfirst=_True) def pytest_collectstart(self) -> None: if self.shouldfail: raise self.Failed(self.shouldfail) i...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
508
hookimpl
ref
function
@hookimpl(tryfirst=True)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
509
pytest_collectstart
def
function
def pytest_collectstart(self) -> None: if self.shouldfail: raise self.Failed(self.shouldfail) if self.shouldstop: raise self.Interrupted(self.shouldstop) @hookimpl(tryfirst=_True) def pytest_runtest_logreport( self, report: Union[TestReport, CollectReport] ...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
511
Failed
ref
function
raise self.Failed(self.shouldfail)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
513
Interrupted
ref
function
raise self.Interrupted(self.shouldstop)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
515
hookimpl
ref
function
@hookimpl(tryfirst=True)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
516
pytest_runtest_logreport
def
function
def pytest_runtest_logreport( self, report: Union[TestReport, CollectReport] ) -> None: if report.failed and not hasattr(report, "wasxfail"): self.testsfailed += 1 maxfail = self.config.getvalue("maxfail") if maxfail and self.testsfailed >= maxfail: ...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
521
getvalue
ref
function
maxfail = self.config.getvalue("maxfail")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
527
isinitpath
def
function
def isinitpath(self, path: Union[str, "os.PathLike[str]"]) -> bool: # Optimization: Path(Path(...)) is much slower than isinstance. path_ = path if isinstance(path, Path) else Path(path) return path_ in self._initialpaths def gethookproxy(self, fspath: "os.PathLike[str]"): # Opt...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
532
gethookproxy
def
function
def gethookproxy(self, fspath: "os.PathLike[str]"): # Optimization: Path(Path(...)) is much slower than isinstance. path = fspath if isinstance(fspath, Path) else Path(fspath) pm = self.config.pluginmanager # Check if we have the common case of running # hooks with all confte...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
538
_getconftestmodules
ref
function
my_conftestmodules = pm._getconftestmodules(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
540
getoption
ref
function
self.config.getoption("importmode"),
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
548
PathAwareHookProxy
ref
function
proxy = PathAwareHookProxy(FSHookProxy(pm, remove_mods))
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
548
FSHookProxy
ref
function
proxy = PathAwareHookProxy(FSHookProxy(pm, remove_mods))
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
554
_recurse
def
function
def _recurse(self, direntry: "os.DirEntry[str]") -> bool: if direntry.name == "__pycache__": return _False fspath = Path(direntry.path) ihook = self.gethookproxy(fspath.parent) if ihook.pytest_ignore_collect(fspath=fspath, config=self.config): return _False ...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
558
gethookproxy
ref
function
ihook = self.gethookproxy(fspath.parent)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
559
pytest_ignore_collect
ref
function
if ihook.pytest_ignore_collect(fspath=fspath, config=self.config):
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
561
getini
ref
function
norecursepatterns = self.config.getini("norecursedirs")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/src/_pytest/main.py
src/_pytest/main.py
562
fnmatch_ex
ref
function
if any(fnmatch_ex(pat, fspath) for pat in norecursepatterns):