Skip to content

Commit

Permalink
Apply autopep8 formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 11, 2024
1 parent ba5a8d2 commit 641151b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Cassiopee/CPlot/apps/validCassiopee.py
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ def updateRefMetadata(refMDDict, module, test):
from datetime import datetime
testName = os.path.join(module, test)
cassiopeeIncDir, fastIncDir = getInstallPaths()[:2]
if fastIncDir is not None: hashFast = Dist.getGitHash(fastIncDir)[:7]
if fastIncDir is not None: hashFast = Dist.getGitHash(fastIncDir)[:7]
else: hashFast = None
entry = {
"date": datetime.now().strftime('%Y-%m-%d %H:%M:%S'),
Expand All @@ -892,7 +892,7 @@ def updateRefMetadata(refMDDict, module, test):
}
if testName in refMDDict: refMDDict[testName].append(entry)
else: refMDDict[testName] = [entry]

def updateTests():
# Load ref metadata
import json
Expand All @@ -901,7 +901,7 @@ def updateTests():
if os.access(mDFilename, os.F_OK):
with open(mDFilename, 'r') as f:
refMDDict = json.load(f)

# Supprime les references
selection = Listbox.curselection()
for s in selection:
Expand All @@ -924,7 +924,7 @@ def updateTests():
rmFile(pathl, test)
rmFile(pathl, test2)
updateRefMetadata(refMDDict, module, testname)

# Run les tests
runTests()
# Update metadata
Expand Down

0 comments on commit 641151b

Please sign in to comment.