Skip to content

Commit 32cca91

Browse files
committed
refactor: add space at the end of the line
1 parent 566ca74 commit 32cca91

11 files changed

Lines changed: 12 additions & 7 deletions

File tree

tests/unit/connectors/ftp/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14+

tests/unit/connectors/ftp/data/anonym_type/new_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@
6666
}
6767
]
6868
}
69-
}
69+
}

tests/unit/connectors/ftp/data/anonym_type/old_config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,5 @@
6060
"valueExpression": "${params}"
6161
}
6262
]
63-
}
63+
}
64+

tests/unit/connectors/ftp/data/attribute_updates/new_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@
6262
}
6363
]
6464
}
65-
}
65+
}

tests/unit/connectors/ftp/data/attribute_updates/old_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@
5656
"valueExpression": "${params}"
5757
}
5858
]
59-
}
59+
}

tests/unit/connectors/ftp/data/basic_type/new_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@
6868
}
6969
]
7070
}
71-
}
71+
}

tests/unit/connectors/ftp/data/basic_type/old_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@
6262
"valueExpression": "${params}"
6363
}
6464
]
65-
}
65+
}

tests/unit/connectors/ftp/test_ftp_backward_compatibility_adapter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,4 @@ def test_convert_with_disconnectRequests_in_config(self):
5555

5656
if __name__ == '__main__':
5757
unittest.main()
58+

thingsboard_gateway/connectors/ftp/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14+

thingsboard_gateway/connectors/ftp/backward_compatibility_adapter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,4 @@ def _convert_path(old_path_config: dict) -> dict:
9494

9595
@staticmethod
9696
def is_old_config_format(config: dict) -> bool:
97-
return True if not config.get("parameters") else False
97+
return True if not config.get("parameters") else False

0 commit comments

Comments
 (0)