wtfpython
wtfpython copied to clipboard
chore: Refactor code quality issues
Description
Hey 👋 , I'm member of the Developer Outreach team at DeepSource and ran DeepSource analysis on my fork of the repo. It found some interesting code quality improvements to consider.
This PR fixes a few of the issues detected for you to assess if it is right for you. Happy to provide the tweaks separately otherwise :)
Important changes
- Removed unused import
- Refactor 'if' expression
- Added .deepsource.toml file for continuous analysis on bug risks/performance/code-quality issues on new changes.