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

Some security bugs to check out and review #415

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

philipjonsen
Copy link

Just delete the workflow CI and review the code.
Good luck.

deepsource-io bot and others added 9 commits September 10, 2024 12:28
This commit fixes the style issues introduced in de49350 according to the output
from Autopep8, Black, isort, Ruff Formatter and Yapf.

Details: None
style: format code with Autopep8, Black, isort, Ruff Formatter and Yapf
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.
refactor: remove assert statement from non-test files
The `__init__()` method is required to return `None`, but an explicit return value in its body was detected.
Returning a value other than `None` will raise a `TypeError`.
Even if the return value is `None` explicit return statement shall always be avoided.
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.
refactor: remove assert statement from non-test files
refactor: remove `return` from `__init__()` method
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.

1 participant