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 #115

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

Commits on Sep 16, 2019

  1. Fix some bug risks and code quality issues

    Changes:
    - In `hammer/library/aws/s3.py`, use `in` operator to check if variable is equal to either of two values.
    - In `hammer/tools/ddb_inject_credentials.py`, use `is` to compare with `None`.
    - In `hammer/reporting-remediation/bot/commands.py`, remove unnecessary `else` used after `raise`.
    - In `hammer/library/aws/s3.py` and `hammer/library/ddb_issues.py`, fix indentation not multiple of four.
    
    Also added a `.deepsource.toml` configuration file to run continuous static analysis on the repository with DeepSource.
    sanketsaurav committed Sep 16, 2019
    Configuration menu
    Copy the full SHA
    55553de View commit details
    Browse the repository at this point in the history