comparison tests/test_flake8.py @ 41:71bcc18e306f

MERGE: New upstream PyMuPDF v1.26.5 including MuPDF v1.26.10 BUGS: Needs some additional changes yet. Not yet tested.
author Franz Glasner <fzglas.hg@dom66.de>
date Sat, 11 Oct 2025 15:24:40 +0200
parents a6bc019ac0b2
children
comparison
equal deleted inserted replaced
38:8934ac156ef5 41:71bcc18e306f
7 7
8 def test_flake8(): 8 def test_flake8():
9 ''' 9 '''
10 Check rebased Python code with flake8. 10 Check rebased Python code with flake8.
11 ''' 11 '''
12 if os.environ.get('PYODIDE_ROOT'):
13 print('test_flake8(): not running on Pyodide - cannot run child processes.')
14 return
15
12 if not hasattr(pymupdf, 'mupdf'): 16 if not hasattr(pymupdf, 'mupdf'):
13 print(f'Not running flake8 with classic implementation.') 17 print(f'Not running flake8 with classic implementation.')
14 return 18 return
15 ignores = ( 19 ignores = (
16 'E123', # closing bracket does not match indentation of opening bracket's line 20 'E123', # closing bracket does not match indentation of opening bracket's line