Skip to content

refactor: remove assert statement from non-test files - #2

Open
deepsource-dev-autofix[bot] wants to merge 1 commit into
masterfrom
deepsource-autofix-06fa5693
Open

refactor: remove assert statement from non-test files#2
deepsource-dev-autofix[bot] wants to merge 1 commit into
masterfrom
deepsource-autofix-06fa5693

Conversation

@deepsource-dev-autofix

Copy link
Copy Markdown

Usage of assert statement in application logic is discouraged. assert is removed with compiling to optimized byte code. Consider raising an exception instead. Ideally, assert statement should be used only in tests.

Usage of `assert` statement in application logic is discouraged. `assert` is removed with compiling to optimized byte code. Consider raising an exception instead. Ideally, `assert` statement should be used only in tests.
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.

0 participants