robotcode-plugin 1.0.3__tar.gz → 1.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: robotcode-plugin
3
- Version: 1.0.3
3
+ Version: 1.2.0
4
4
  Summary: Some classes for RobotCode plugin management
5
5
  Project-URL: Donate, https://opencollective.com/robotcode
6
6
  Project-URL: Documentation, https://github.com/robotcodedev/robotcode#readme
@@ -165,7 +165,9 @@ class Application:
165
165
  text = tomli_w.dumps(
166
166
  as_dict(data, remove_defaults=remove_defaults)
167
167
  if dataclasses.is_dataclass(data)
168
- else data if isinstance(data, dict) else {data: data}
168
+ else data
169
+ if isinstance(data, dict)
170
+ else {data: data}
169
171
  )
170
172
 
171
173
  if text is None:
@@ -0,0 +1 @@
1
+ __version__ = "1.2.0"
@@ -1 +0,0 @@
1
- __version__ = "1.0.3"