Fix Python Formatting (#2679)
Updated version of black to 26.1.0 updated some formatting rules Signed-off-by: David Galiffi <David.Galiffi@amd.com>
This commit is contained in:
@@ -47,7 +47,6 @@ from .parser import parse_uploaded_file
|
||||
from .parser import find_causal_files
|
||||
import plotly.graph_objects as go
|
||||
|
||||
|
||||
file_timestamp = 0
|
||||
global_data = pd.DataFrame()
|
||||
global_samples = pd.DataFrame()
|
||||
|
||||
@@ -37,7 +37,6 @@ from . import libpyrocprofsys
|
||||
from .libpyrocprofsys.profiler import profiler_init as _profiler_init
|
||||
from .libpyrocprofsys.profiler import profiler_finalize as _profiler_fini
|
||||
|
||||
|
||||
__all__ = ["exec_", "_file", "_get_argv", "_initialize", "_finalize"]
|
||||
|
||||
|
||||
|
||||
@@ -44,7 +44,6 @@ from .libpyrocprofsys.user import pop_region
|
||||
from .common import _initialize
|
||||
from .common import _file
|
||||
|
||||
|
||||
__all__ = [
|
||||
"region",
|
||||
"Region",
|
||||
|
||||
@@ -30,7 +30,6 @@ import math
|
||||
import argparse
|
||||
from collections import OrderedDict
|
||||
|
||||
|
||||
num_stddev = 1.0
|
||||
|
||||
|
||||
|
||||
@@ -75,8 +75,7 @@ class required_table:
|
||||
|
||||
def print_help():
|
||||
"""Print out the help message"""
|
||||
print(
|
||||
f"""
|
||||
print(f"""
|
||||
ROCPD Database Validation Tool
|
||||
|
||||
DESCRIPTION:
|
||||
@@ -115,8 +114,7 @@ def print_help():
|
||||
64 - Invalid command line arguments (EX_USAGE)
|
||||
65 - Validation failures detected (EX_DATAERR)
|
||||
1 - General error (database connection, file not found, etc.)
|
||||
"""
|
||||
)
|
||||
""")
|
||||
|
||||
|
||||
def validate_table(cursor, rule, tables) -> bool:
|
||||
|
||||
Reference in New Issue
Block a user