Skip to content

Commit 8d68d59

Browse files
committed
Skip projections when running mpl > 3.2 tests
1 parent 46bd542 commit 8d68d59

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/conf.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,10 +226,13 @@
226226
# List of patterns, relative to source directory, that match files and
227227
# directories to ignore when looking for source files.
228228
exclude_patterns = [
229-
'.DS_Store',
230-
'_build', '_templates', '_themes', 'trash', 'tmp',
231-
'conf.py', 'sphinxext', '*.ipynb', '**.ipynb_checkpoints',
229+
'conf.py', 'sphinxext', # sphinx files
230+
'_build', '_templates', '_themes', # build files
231+
'*.ipynb', '**.ipynb_checkpoints' # notebook files
232+
'.DS_Store', 'trash', 'tmp', # local files
232233
]
234+
if _version_mpl > '3.2':
235+
exclude_patterns.append('projections.py') # ignore when building in base
233236

234237
# The name of the Pygments (syntax highlighting) style to use.
235238
# The light-dark theme toggler overloads this, but set default anyway

0 commit comments

Comments
 (0)