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

Codacy skip assert warnings #679

Merged
merged 2 commits into from Sep 13, 2018

Conversation

dtkav
Copy link
Collaborator

@dtkav dtkav commented Sep 13, 2018

Codacy issues warning when the assert keyword is used.

The concern from the bandit linter is that people might use assert in production code as a way of checking function inputs or something (no idea why anyone would ever do this).

In the case of connexion, it spews warnings any time you add a unit test! This is pretty annoying, and gives a false sense of a PR's code quality.

This PR disables that warning.

@jmcs
Copy link
Contributor

jmcs commented Sep 13, 2018

👍

@jmcs jmcs merged commit 7b01efd into spec-first:dev-2.0 Sep 13, 2018
@dtkav
Copy link
Collaborator Author

dtkav commented Sep 27, 2018

I don't think this is actually working =(

jmcs pushed a commit that referenced this pull request Nov 12, 2018
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

3 participants