named-data / python-ndn

An NDN client library with AsyncIO support in Python 3
https://python-ndn.readthedocs.io/en/latest
Apache License 2.0
24 stars 17 forks source link

Eliminate All Unneeded Else / Elif statements to Increase Readability #32

Closed justincpresley closed 2 years ago

justincpresley commented 2 years ago

Found these places via the tool codefactor. There are other issues that it detects, but I left those open as there could be different ways to solve them.

zjkmxy commented 2 years ago

I don't think I will merge this PR. But I will consider fix some of them.