Closed akshgpt7 closed 3 years ago
@DeemOnSecurity DeepSource cannot be run as a GitHub action, however, it can run as a GitHub check (checks that run on a PR). The configuration file for a GitHub check has to be present in the root of the repository. Several other CI tools like TravisCI, codecov etc. have their configs in the root itself. Can you let me know your inclination towards having only GitHub actions?
@DeemOnSecurity DeepSource cannot be run as a GitHub action, however, it can run as a GitHub check (checks that run on a PR). The configuration file for a GitHub check has to be present in the root of the repository. Several other CI tools like TravisCI, codecov etc. have their configs in the root itself. Can you let me know your inclination towards having only GitHub actions?
After extensive conversations internally, we have decided not to merge DeepSource into this repository. Thank you for your submission!
🗣 Description
Hey :wave:, I'm a Developer Outreach 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 :)
Summary of changes
else
/elif
whenif
block has areturn
statement..deepsource.toml
file for continuous analysis on bug risks/performance/code-quality issues on new changes.💠Motivation and context
There are certain Anti-Patterns, bug risks and performance issues detected in some files (linked above), that can improve the general code quality here.
✅ Checklist