You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Usage of assert statement in application logic is discouraged. assert is removed with compiling to optimised byte code (python -o producing *.pyo files). Consider raising an exception instead. Ideally, assert statement should be used only in tests. Tip: Make sure test_patterns are defined in .deepsource.toml to avoid false-positives - https://deepsource.io/docs/config/deepsource-toml.html#test-patterns
Occurrences
There are 4 occurrences of this issue in the repository.
Description
Usage of
assert
statement in application logic is discouraged.assert
is removed with compiling to optimised byte code (python -o
producing *.pyo files). Consider raising an exception instead. Ideally,assert
statement should be used only in tests. Tip: Make suretest_patterns
are defined in.deepsource.toml
to avoid false-positives - https://deepsource.io/docs/config/deepsource-toml.html#test-patternsOccurrences
There are 4 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/graphite-project/carbon/issue/BAN-B101/occurrences/
The text was updated successfully, but these errors were encountered: