Skip to content

New flake8 version raises new linting errors #747

@armintaenzertng

Description

@armintaenzertng

With flake8 version 6.1.0, new linting errors appeared in the CI:

tests/spdx/parser/all_formats/test_parse_from_file.py:39:16: E721 do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()` tests/spdx/parser/all_formats/test_parse_from_file.py:51:16: E721 do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()` tests/spdx/parser/jsonlikedict/test_dict_parsing_functions.py:37:12: E721 do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()` tests/spdx/parser/jsonlikedict/test_dict_parsing_functions.py:46:12: E721 do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()` 

These need to be fixed so that the CI comes out green again and other PRs can be merged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions