Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some bug risks and code quality issues #254

Closed
wants to merge 1 commit into from

Conversation

sanketsaurav
Copy link

Changes:

  • Remove unnecessary call to len() to check empty sequence in
    fuzzywuzzy/utils.py and fuzzywuzzy/process.py
  • Remove unnecessary list comprehension in fuzzywuzzy/utils.py

Also added a .deepsource.toml configuration file to run continuous static analysis on the repository with DeepSource.


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

DeepSource is a free to use for open-source projects, and is used by teams at NASA, Uber, Slack among many others, and open-source projects like ThoughtWorks/Gauge, Masonite Framework, 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 len() to check empty sequence in
`fuzzywuzzy/utils.py` and `fuzzywuzzy/process.py`
 - Remove unnecessary list comprehension in `fuzzywuzzy/utils.py`

Also added a `.deepsource.toml` configuration file to run continuous static analysis on the repository with DeepSource.
@garetht
Copy link
Contributor

garetht commented Feb 13, 2020

Thanks, but we'll consider if we want to adopt this at a later time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants