Skip to content

Commit 57e3200

Browse files
committed
Black formatting.
1 parent 3f15d4b commit 57e3200

4 files changed

+25
-10
lines changed

building_energy_standards_data/database_tables/system_requirements_fan_power_allowance_pressure_drop_adjustment.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ def get_record_info(self):
7777
def validate_record_datatype(self, record):
7878
str_expected = [
7979
"template",
80-
"device"
81-
"adjustment_in_wc_at_fan_system_design_conditions",
80+
"device" "adjustment_in_wc_at_fan_system_design_conditions",
8281
"adjustment_in_wc_2_times_at_fan_system_design_conditions",
8382
]
8483

@@ -113,8 +112,12 @@ def _preprocess_record(self, record):
113112
getattr_either("device", record),
114113
getattr_either("adjustment_in_wc", record),
115114
getattr_either("adjustment_in_wc_at_fan_system_design_conditions", record),
116-
getattr_either("adjustment_in_wc_2_times_at_fan_system_design_conditions", record),
115+
getattr_either(
116+
"adjustment_in_wc_2_times_at_fan_system_design_conditions", record
117+
),
117118
getattr_either("adjustment_in_wc_effectiveness_multiplier", record),
118-
getattr_either("adjustment_in_wc_per_100_ft_of_verticaul_duct_exceeding_75_ft", record),
119+
getattr_either(
120+
"adjustment_in_wc_per_100_ft_of_verticaul_duct_exceeding_75_ft", record
121+
),
119122
getattr_either("annotation", record),
120123
)

building_energy_standards_data/database_tables/system_requirements_fan_power_allowance_pressure_drop_adjustment_189_1.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,13 @@
77
TABLE_NAME = "system_requirements_fan_power_allowance_pressure_drop_adjustment_189_1"
88

99

10-
class SystemRequirementsFanPowerAllowancePressureDropAdjustment1891Table(SystemRequirementsFanPowerAllowancePressureDropAdjustment):
10+
class SystemRequirementsFanPowerAllowancePressureDropAdjustment1891Table(
11+
SystemRequirementsFanPowerAllowancePressureDropAdjustment
12+
):
1113
def __init__(self):
12-
super(SystemRequirementsFanPowerAllowancePressureDropAdjustment1891Table, self).__init__(
14+
super(
15+
SystemRequirementsFanPowerAllowancePressureDropAdjustment1891Table, self
16+
).__init__(
1317
table_name=TABLE_NAME,
1418
initial_data_directory=f"building_energy_standards_data/database_files/{TABLE_NAME}",
1519
)

building_energy_standards_data/database_tables/system_requirements_fan_power_allowance_pressure_drop_adjustment_90_1.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,13 @@
77
TABLE_NAME = "system_requirements_fan_power_allowance_pressure_drop_adjustment_90_1"
88

99

10-
class SystemRequirementsFanPowerAllowancePressureDropAdjustment901Table(SystemRequirementsFanPowerAllowancePressureDropAdjustment):
10+
class SystemRequirementsFanPowerAllowancePressureDropAdjustment901Table(
11+
SystemRequirementsFanPowerAllowancePressureDropAdjustment
12+
):
1113
def __init__(self):
12-
super(SystemRequirementsFanPowerAllowancePressureDropAdjustment901Table, self).__init__(
14+
super(
15+
SystemRequirementsFanPowerAllowancePressureDropAdjustment901Table, self
16+
).__init__(
1317
table_name=TABLE_NAME,
1418
initial_data_directory=f"building_energy_standards_data/database_files/{TABLE_NAME}",
1519
)

building_energy_standards_data/database_tables/system_requirements_fan_power_allowance_pressure_drop_adjustment_IECC.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,13 @@
77
TABLE_NAME = "system_requirements_fan_power_allowance_pressure_drop_adjustment_IECC"
88

99

10-
class SystemRequirementsFanPowerAllowancePressureDropAdjustmentIECCTable(SystemRequirementsFanPowerAllowancePressureDropAdjustment):
10+
class SystemRequirementsFanPowerAllowancePressureDropAdjustmentIECCTable(
11+
SystemRequirementsFanPowerAllowancePressureDropAdjustment
12+
):
1113
def __init__(self):
12-
super(SystemRequirementsFanPowerAllowancePressureDropAdjustmentIECCTable, self).__init__(
14+
super(
15+
SystemRequirementsFanPowerAllowancePressureDropAdjustmentIECCTable, self
16+
).__init__(
1317
table_name=TABLE_NAME,
1418
initial_data_directory=f"building_energy_standards_data/database_files/{TABLE_NAME}",
1519
)

0 commit comments

Comments
 (0)