Skip to content

Commit 7f105c0

Browse files
committed
Fix YAML formatting with prettier hook
1 parent 7e1e10e commit 7f105c0

9 files changed

Lines changed: 22 additions & 11 deletions

schemas/input/agent_commodity_portions.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ fields:
2020
- name: years
2121
type: string
2222
description: The year(s) to which this entry applies
23-
notes: One or more milestone years separated by semicolons, `all` to select all years or a year
23+
notes:
24+
One or more milestone years separated by semicolons, `all` to select all years or a year
2425
range in the form 'start..end' to select all valid years within range, inclusive. Either 'start'
2526
'end' or both can be omitted, which will set the corresponding limit to the minimum or maximum
2627
valid year, respectively.

schemas/input/agent_objectives.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ fields:
1616
- name: years
1717
type: string
1818
description: The year(s) to which this entry applies
19-
notes: One or more milestone years separated by semicolons, `all` to select all years or a year
19+
notes:
20+
One or more milestone years separated by semicolons, `all` to select all years or a year
2021
range in the form 'start..end' to select all valid years within range, inclusive. Either 'start'
2122
'end' or both can be omitted, which will set the corresponding limit to the minimum or maximum
2223
valid year, respectively.

schemas/input/agent_search_space.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ fields:
1616
- name: years
1717
type: string
1818
description: The year(s) to which this entry applies
19-
notes: One or more milestone years separated by semicolons, `all` to select all years or a year
19+
notes:
20+
One or more milestone years separated by semicolons, `all` to select all years or a year
2021
range in the form 'start..end' to select all valid years within range, inclusive. Either 'start'
2122
'end' or both can be omitted, which will set the corresponding limit to the minimum or maximum
2223
valid year, respectively.

schemas/input/commodity_levies.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ fields:
2020
- name: years
2121
type: string
2222
description: The year(s) to which this entry applies
23-
notes: One or more milestone years separated by semicolons, `all` to select all years or a year
23+
notes:
24+
One or more milestone years separated by semicolons, `all` to select all years or a year
2425
range in the form 'start..end' to select all valid years within range, inclusive. Either 'start'
2526
'end' or both can be omitted, which will set the corresponding limit to the minimum or maximum
2627
valid year, respectively.

schemas/input/demand.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ fields:
1717
- name: year
1818
type: string
1919
description: The year(s) to which this entry applies
20-
notes: One or more milestone years separated by semicolons, `all` to select all years or a year
20+
notes:
21+
One or more milestone years separated by semicolons, `all` to select all years or a year
2122
range in the form 'start..end' to select all valid years within range, inclusive. Either 'start'
2223
'end' or both can be omitted, which will set the corresponding limit to the minimum or maximum
2324
valid year, respectively.

schemas/input/process_availabilities.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ fields:
2222
- name: years
2323
type: string
2424
description: The milestone year(s) to which this entry applies
25-
notes: One or more milestone years separated by semicolons, `all` to select all years or a year
25+
notes:
26+
One or more milestone years separated by semicolons, `all` to select all years or a year
2627
range in the form 'start..end' to select all valid years within range, inclusive. Either 'start'
2728
'end' or both can be omitted, which will set the corresponding limit to the minimum or maximum
2829
valid year, respectively.

schemas/input/process_flows.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ fields:
2323
- name: years
2424
type: string
2525
description: The year(s) to which this entry applies
26-
notes: One or more milestone years separated by semicolons, `all` to select all years or a year
26+
notes:
27+
One or more milestone years separated by semicolons, `all` to select all years or a year
2728
range in the form 'start..end' to select all valid years within range, inclusive. Either 'start'
2829
'end' or both can be omitted, which will set the corresponding limit to the minimum or maximum
2930
valid year, respectively.

schemas/input/process_parameters.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ fields:
1919
- name: years
2020
type: string
2121
description: The milestone year(s) to which this entry applies
22-
notes: One or more milestone years separated by semicolons, `all` to select all years or a year
22+
notes:
23+
One or more milestone years separated by semicolons, `all` to select all years or a year
2324
range in the form 'start..end' to select all valid years within range, inclusive. Either 'start'
2425
'end' or both can be omitted, which will set the corresponding limit to the minimum or maximum
2526
valid year, respectively.

schemas/input/processes.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,17 @@ fields:
2828
notes: Must be >= to `start_year`
2929
- name: capacity_to_activity
3030
type: number
31-
description: Factor relating capacity units (e.g. GW) to activity units (e.g. PJ). It is the
31+
description:
32+
Factor relating capacity units (e.g. GW) to activity units (e.g. PJ). It is the
3233
maximum activity per year for one unit of capacity.
3334
notes: Must be >=0. Optional (defaults to 1.0).
3435
- name: unit_size
3536
type: number
36-
description: Capacity of the units in which an asset for this process will be divided into when
37+
description:
38+
Capacity of the units in which an asset for this process will be divided into when
3739
commissioned, if any.
38-
notes: If present, must be >0. Optional (defaults to None). Assets with a defined unit size are
40+
notes:
41+
If present, must be >0. Optional (defaults to None). Assets with a defined unit size are
3942
divided into n = ceil(C / U) equal units, where C is overall capacity and U is unit_size
4043
(i.e. rounding up the number of units, which may result in a total capacity greater than C, if
4144
C is not an exact multiple of U).

0 commit comments

Comments
 (0)