Reformat Python code for 2023.03 release (#6294)

* run yapf

* run isort

---------

Co-authored-by: Greg Landrum <greg.landrum@gmail.com>
This commit is contained in:
Ric
2023-04-28 00:53:56 -04:00
committed by GitHub
parent 58d135a874
commit 880a8e5725
523 changed files with 22586 additions and 21694 deletions

View File

@@ -13,14 +13,17 @@ If changes are found, the script will exit with error code 1, otherwise 0.
'''
import os
from yapf.yapflib.yapf_api import FormatCode
import sys
from yapf.yapflib.yapf_api import FormatCode
rdbase = os.environ.get('RDBASE', '')
styleConfig = os.path.join(rdbase, 'setup.cfg')
excludeDirs = [os.path.join(rdbase, 'build'),
os.path.join(rdbase, 'External'), ]
excludeDirs = [
os.path.join(rdbase, 'build'),
os.path.join(rdbase, 'External'),
]
def pythonFiles(dirname=rdbase):