Skip to content

Commit

Permalink
doctests: exclude '/scripts' path
Browse files Browse the repository at this point in the history
  • Loading branch information
schlegelp committed Jul 28, 2024
1 parent 3a18bc6 commit 5c9de87
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ def pytest_ignore_collect(path, config):
more specific hooks.
"""
path = str(path)
if 'interfaces' in path:
return True
if '/docs' in path:
return True
if '/stubs' in path:
return True
if '/examples' in path:
return True
if '/dist/' in path:
return True
if '/binder' in path:
return True
for pattern in (
"interfaces",
"/docs",
"/stubs",
"/examples",
"/dist/",
"/binder",
"/site",
"/scripts",
):
if pattern in path:
return True

0 comments on commit 5c9de87

Please sign in to comment.