Use literal syntax instead of function calls to create data structure
Remove unnecessary comprehension
Find the other issues found here - https://deepsource.io/gh/pnijhara/h2o4gpu/issues/?category=recommended
This PR also adds .deepsource.toml configuration file to run DeepSource analysis on the repo with. Upon enabling DeepSource, the analysis will run on every PR and commit to detect 560+ types of issues in the changes — including bug risks, anti-patterns, security vulnerabilities, etc.
To enable DeepSource analysis after merging this PR, please follow these steps:
Signup on DeepSource with your GitHub account and grant access to this repo.
Remove unnecessary comprehension
Find the other issues found here - https://deepsource.io/gh/pnijhara/h2o4gpu/issues/?category=recommended This PR also adds
.deepsource.toml
configuration file to run DeepSource analysis on the repo with. Upon enabling DeepSource, the analysis will run on every PR and commit to detect 560+ types of issues in the changes — including bug risks, anti-patterns, security vulnerabilities, etc.To enable DeepSource analysis after merging this PR, please follow these steps:
You can also look at the docs for more details. Do let me know if I can be of any help!