Skip to content

Commit 2118598

Browse files
committed
trim trailing whitespace
1 parent 3c659ea commit 2118598

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

examples/docs_snippets/docs_snippets/guides/components/shell-script-component/2-shell-command-empty.py

-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ class ShellCommand(Component, Resolvable):
1313

1414
# added fields here will define yaml schema via Resolvable
1515

16-
17-
1816
def build_defs(self, context: ComponentLoadContext) -> dg.Definitions:
1917
# Add definition construction logic here.
2018
return dg.Definitions()

python_modules/libraries/dagster-dg/dagster_dg/templates/COMPONENT_TYPE/COMPONENT_TYPE_NAME_PLACEHOLDER.py.jinja

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ class {{ name }}(Component, Resolvable):
1616
"""
1717
{% if dataclass %}
1818
# added fields here will define yaml schema via Resolvable
19-
{% endif %}
20-
19+
{%- endif %}
2120
{% if not dataclass %}
2221
def __init__(
2322
self,

python_modules/libraries/dagster-dg/dagster_dg_tests/cli_tests/test_scaffold_commands.py

+1
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,7 @@ class Baz(Component, Resolvable):
589589
COMPONENT DESCRIPTION HERE.
590590
"""
591591
592+
592593
def __init__(
593594
self,
594595
# added arguments here will define yaml schema via Resolvable

0 commit comments

Comments
 (0)