October 1, 2019

Release: Permanently silence issues in code

Shubhang Misra @ShubhangMisra

Not every code convention violation in your code is something that you would want to take any action on. Take an example from Python — mark_safe, a function that considers all input passed as valid, would open security vulnerabilities in a view that deals with user input.

But it makes complete sense if used in an environment where the user input is guaranteed to be trusted. Administrator views are a perfect example of this. DeepSource raises an issue for this violation, regardless of the context it is used in.

Read more here about the release: https://deepsource.io/blog/releases-silence-issues-in-code/

Loading comments...