Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Fix some bug risks and code quality issues #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sanketsaurav
Copy link

Changes:

  • Remove unnecessary call to dict() and use literals instead for
    faster access in simple_salesforce/api.py and
    simple_salesforce/util.py.

This PR also adds.deepsource.toml to run static analysis continuously on the repo with DeepSource. Upon enabling DeepSource, static analysis will be run on every PR to detect 550+ types of issues in the changes — including bug risks, anti-patterns, performance issues, security vulnerabilities, etc.

To enable DeepSource analysis after merging this PR, please follow these steps:

  1. Sign up on DeepSource with your GitHub account and grant access to this repo.
  2. Activate analysis on this repo here.

You can also look at the docs for more details. Do let me know if I can be of any help!

Cheers,

Sanket
Founder, DeepSource

Changes:
 - Remove unnecessary call to `dict()` and use literals instead for
faster access in `simple_salesforce/api.py` and
`simple_salesforce/util.py`.

Also added .deepsource.toml to configure continuous static analysis with
DeepSource.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant