Skip to content

Commit

Permalink
MNT: Fix a couple things found by pyupgrade
Browse files Browse the repository at this point in the history
Changes for >= 3.10.
  • Loading branch information
dopplershift committed Nov 4, 2024
1 parent 7957836 commit fefcd30
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# This file is execfile()d with the current directory set to its
# containing dir.
Expand Down Expand Up @@ -47,7 +46,7 @@
},
'examples_dirs': [os.path.join('..', 'examples')],
'gallery_dirs': ['examples'],
'filename_pattern': '\.py',
'filename_pattern': r'\.py',
'backreferences_dir': 'api/generated',
'default_thumb_file': os.path.join('_static', 'siphon_150x150_white_bg.png'),
'abort_on_example_error': True
Expand Down

0 comments on commit fefcd30

Please sign in to comment.