Skip to content

Commit

Permalink
fix: typing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
EuleMitKeule committed May 4, 2023
1 parent 01f2b48 commit f4b626a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"python.linting.pylintArgs": [
"--extension-pkg-whitelist=pydantic",
],
"python.formatting.provider": "black",
"editor.formatOnPaste": false,
"editor.formatOnSave": true,
"editor.formatOnType": true,
Expand All @@ -31,4 +30,7 @@
"terminal.integrated.defaultProfile.linux": "zsh",
"terminal.integrated.defaultProfile.osx": "zsh",
"terminal.integrated.defaultProfile.windows": "PowerShell",
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter"
},
}
1 change: 0 additions & 1 deletion estimenergy/devices/base_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ async def last(
for data_service in self.data_services
if isinstance(data_service, SqlService)
),
None,
)

if sql_service:
Expand Down

0 comments on commit f4b626a

Please sign in to comment.