kytos-ng / telemetry_int

Kytos Telemetry Napp
MIT License
0 stars 2 forks source link

chore: enabled linters `pylint,pycodestyle,isort,black` and fixed linter errors #17

Closed viniarck closed 1 year ago

viniarck commented 1 year ago

Closes #15 Closes #5

Summary

With linters now it becomes easier to make changes and move code around.

Local Tests

I ran the NApp locally making sure it was loading correctly:

2023-05-18 12:44:14,480 - INFO [kytos.core.controller] [controller.py:889:load_napps] (MainThread) Loading NApp kytos/telemetry_int
2023-05-18 12:44:14,552 - INFO [kytos.core.napps.base] [base.py:248:run] (telemetry_int) Running NApp: <Main(telemetry_int, started 140230682212032)>
2023-05-18 12:44:14,553 - INFO [kytos.core.api_server] [api_server.py:423:_start_endpoint] (MainThread) Started /api/kytos/telemetry_int/v1/evc/enable - POST
2023-05-18 12:44:14,553 - INFO [kytos.core.api_server] [api_server.py:423:_start_endpoint] (MainThread) Started /api/kytos/telemetry_int/v1/evc/disable - POST
2023-05-18 12:44:14,553 - INFO [kytos.core.api_server] [api_server.py:423:_start_endpoint] (MainThread) Started /api/kytos/telemetry_int/v1/evc - GET
2023-05-18 12:44:14,553 - INFO [kytos.core.api_server] [api_server.py:423:_start_endpoint] (MainThread) Started /api/kytos/telemetry_int/v1/sync - GET
2023-05-18 12:44:14,554 - INFO [kytos.core.api_server] [api_server.py:423:_start_endpoint] (MainThread) Started /api/kytos/telemetry_int/v1/evc/update - GET
2023-05-18 12:44:14,554 - INFO [kytos.core.api_server] [api_server.py:423:_start_endpoint] (MainThread) Started /ui/{username}/{napp_name}/{filename:path} - GET

End-to-End Tests

N/A yet