akshgpt7 opened a new pull request #13592: URL: https://github.com/apache/superset/pull/13592
### SUMMARY <!--- Describe the change below, including rationale and design decisions --> Hey, I'm a Developer Outreach at [DeepSource](https:/deepsource.io/) and ran DeepSource analysis on my fork of the repo. It found some interesting [code quality improvements](https://deepsource.io/gh/akshgpt7/superset/) 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 :) **Summary of changes:** - Refactor unnecessary use of comprehension. - Remove unnecessary generator. - Fix dangerous default arguments. - Iterate directly over dictionary instead of using `dict.keys()`. - Remove re-imported modules. - Add `.deepsource.toml` file for continuous analysis on bug risks/performance/code-quality issues on new changes. ### ADDITIONAL INFORMATION <!--- Check any relevant boxes with "x" --> <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue --> - [ ] Has associated issue: - [ ] Changes UI - [ ] Requires DB Migration. - [ ] Confirm DB Migration upgrade and downgrade tested. - [ ] Introduces new feature or API - [ ] Removes existing feature or API ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
