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

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 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.

2 participants