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

Add LGTM configuration file #5076

Merged

Conversation

DrGFreeman
Copy link
Contributor

@DrGFreeman DrGFreeman commented Dec 15, 2019

Status

Ready for review

Description of Changes

Fixes #5020 .

Changes proposed in this pull request:

Add a configuration file for LGTM tests with default exclusion of the py/import-and-import-from query.

Remove individual suppressions of the py/import-and-import-from query in different files since it is now default in the configuration file.

Testing

Verify that the LGTM analysis does not report any alerts against this PR.

Deployment

Any special considerations for deployment?

N/A

Checklist

If you made changes to the server application code:

  • Linting (make lint) and tests (make test) pass in the development container

If you made changes to securedrop-admin:

  • Linting and tests (make -C admin test) pass in the admin development container

If you made changes to the system configuration:

If you made non-trivial code changes:

  • I have written a test plan and validated it for this PR

If you made changes to documentation:

  • Doc linting (make docs-lint) passed locally

If you added or updated a code dependency:

Choose one of the following:

  • I have performed a diff review and pasted the contents to the packaging wiki
  • I would like someone else to do the diff review

Add basic LGTM configuration file with exclsion of the following query:
- py/import-and-import-from
Remove individual suppression of py/import-and-import-from LGTM queries
as they are now excluded by default by the LGTM configuration file.
Copy link
Contributor

@zenmonkeykstop zenmonkeykstop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI passing, no new alerts, so LGTM also.

@zenmonkeykstop zenmonkeykstop merged commit d07e56f into freedomofpress:develop Dec 17, 2019
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.

Add LGTM configuration file
2 participants