fix: linter warnings
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
__version__ = "0.1.2"
|
__version__ = "0.1.3"
|
||||||
|
|
||||||
from .client import PPGEE
|
from .client import PPGEE
|
||||||
|
|
||||||
|
__all__ = [
|
||||||
|
"PPGEE",
|
||||||
|
]
|
||||||
|
|||||||
@@ -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__":
|
||||||
|
|||||||
@@ -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()
|
||||||
|
|||||||
@@ -1 +1,5 @@
|
|||||||
from .frequency import FrequencyPage
|
from .frequency import FrequencyPage
|
||||||
|
|
||||||
|
__all__ = [
|
||||||
|
"FrequencyPage",
|
||||||
|
]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "ppgee"
|
name = "ppgee"
|
||||||
version = "0.1.2"
|
version = "0.1.3"
|
||||||
description = ""
|
description = ""
|
||||||
authors = ["tiagovla <tiagovla@gmail.com>"]
|
authors = ["tiagovla <tiagovla@gmail.com>"]
|
||||||
|
|
||||||
|
|||||||
@@ -2,4 +2,4 @@ from ppgee import __version__
|
|||||||
|
|
||||||
|
|
||||||
def test_version():
|
def test_version():
|
||||||
assert __version__ == "0.1.2"
|
assert __version__ == "0.1.3"
|
||||||
|
|||||||
Reference in New Issue
Block a user