fix: linter warnings

This commit is contained in:
tiagovla committed 2023-07-19 02:33:50 -03:00
1 parent a09984f19a
commit df3033bc6e
6 files changed
+15 -4

No files matched your search

+5 -1
View File
@@ -1,3 +1,7 @@
__version__ = "0.1.2" __version__ = "0.1.3"
from .client import PPGEE from .client import PPGEE
__all__ = [
"PPGEE",
]
+3
View File
@@ -34,7 +34,10 @@ async def cli():
def main(): def main():
try:
asyncio.run(cli()) asyncio.run(cli())
except KeyboardInterrupt:
print("Keyboard Interrupt. Exiting.")
if __name__ == "__main__": if __name__ == "__main__":
+1 -1
View File
@@ -39,7 +39,7 @@ class PPGEE:
await self.login() await self.login()
return self return self
async def __aexit__(self, exc_type, exc, tb) -> None: async def __aexit__(self, *_) -> None:
if self.is_logged: if self.is_logged:
await self.logoff() await self.logoff()
await self.close() await self.close()
+4
View File
@@ -1 +1,5 @@
from .frequency import FrequencyPage from .frequency import FrequencyPage
__all__ = [
"FrequencyPage",
]
+1 -1
View File
@@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "ppgee" name = "ppgee"
version = "0.1.2" version = "0.1.3"
description = "" description = ""
authors = ["tiagovla <[email protected]>"] authors = ["tiagovla <[email protected]>"]
+1 -1
View File
@@ -2,4 +2,4 @@ from ppgee import __version__
def test_version(): def test_version():
assert __version__ == "0.1.2" assert __version__ == "0.1.3"