Proxlight / Proxlight-Designer-v2

MIT License
123 stars 53 forks source link

refactor: fix most `prospector` reports, `pep8` adherence, `black` formatting, simplifications... #13

Closed joao-vitor-souza closed 1 year ago

joao-vitor-souza commented 1 year ago

Sorting imports with isort, formatting the code style with black, resolving most reports from prospector analysis, such as: reduced the number of local variables (R0914); remove unused variable and imports; sat a timeout for requests.get, avoiding it to wait forever (and built a try-except block in case it does); finally, did some logic simplifications in if-else statments.

joao-vitor-souza commented 1 year ago

Interesting, the PR was merged and it's still open, github things...