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

Appply some bugbear suggestions #761

Merged
merged 3 commits into from Jan 12, 2024
Merged

Commits on Jan 4, 2024

  1. Fix flake8-bugbear warning

    B015 Pointless comparison. Did you mean to assign a value?
         Otherwise, prepend `assert` or remove it.
    DimitriPapadopoulos committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    0915fee View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2024

  1. Fix flake8-bugbear warning

    B009 Do not call `getattr` with a constant attribute value.
         It is not any safer than normal property access.
    
    Fix a MyPy typing issue, instead of using a Python hack to
    silence the PyPy error:
    	error: Incompatible types in assignment (expression
    	       has type "Optional[str]", variable has type
    	       "str")  [assignment]
    DimitriPapadopoulos committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    57cdfe6 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. Configuration menu
    Copy the full SHA
    9d6e7cb View commit details
    Browse the repository at this point in the history