mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-04 21:54:27 +08:00
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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user