Skip to content

Commit 7bffb7a

Browse files
Fix check errors (pre-commit)
1 parent f521c86 commit 7bffb7a

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

src/hip_ra_x/hip_ra_x.py

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
from pathlib import Path
99

1010
import pint
11-
1211
from rich.console import Console
1312
from rich.table import Table
1413

@@ -944,13 +943,13 @@ def PrintOutputsHTML(self, inputs, outputs, output_filename: str = 'HIP.html'):
944943
self.logger.info(f'Init {__class__.__name__!s}: {__name__}')
945944

946945
try:
947-
inputs_table = Table(title="***SUMMARY OF INPUTS***")
946+
inputs_table = Table(title='***SUMMARY OF INPUTS***')
948947
inputs_table.add_column('Parameter Name', no_wrap=True)
949-
inputs_table.add_column('Value', no_wrap=True, justify="center")
948+
inputs_table.add_column('Value', no_wrap=True, justify='center')
950949
inputs_table.add_column('Units', no_wrap=True)
951-
outputs_table = Table(title="***SUMMARY OF RESULTS***")
950+
outputs_table = Table(title='***SUMMARY OF RESULTS***')
952951
outputs_table.add_column('Result Name', no_wrap=True)
953-
outputs_table.add_column('Value', no_wrap=True, justify="center")
952+
outputs_table.add_column('Value', no_wrap=True, justify='center')
954953
outputs_table.add_column('Units', no_wrap=True)
955954

956955
for key, value in inputs['SUMMARY OF INPUTS'].items():
@@ -983,10 +982,10 @@ def PrintOutputsHTML(self, inputs, outputs, output_filename: str = 'HIP.html'):
983982
unit = unit.replace('deg', '\u00b0')
984983
outputs_table.add_row(name, val, unit)
985984

986-
console = Console(style="bold white on blue", force_terminal=True, record=True)
987-
console.print(f' *********************')
988-
console.print(f' ***HIP CASE REPORT***')
989-
console.print(f' *********************')
985+
console = Console(style='bold white on blue', force_terminal=True, record=True)
986+
console.print(' *********************')
987+
console.print(' ***HIP CASE REPORT***')
988+
console.print(' *********************')
990989
console.print(' ')
991990
console.print(inputs_table)
992991
console.print(' ')
@@ -1020,7 +1019,6 @@ def PrintOutputsHTML(self, inputs, outputs, output_filename: str = 'HIP.html'):
10201019
self.logger.critical(msg)
10211020
raise
10221021

1023-
10241022
def __str__(self):
10251023
return 'HIP_RA_X'
10261024

0 commit comments

Comments
 (0)