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

Python: linter warning E721 on generated _to_json_data function #87

Open
ericgj opened this issue Aug 10, 2024 · 0 comments
Open

Python: linter warning E721 on generated _to_json_data function #87

ericgj opened this issue Aug 10, 2024 · 0 comments

Comments

@ericgj
Copy link

ericgj commented Aug 10, 2024

Using the ruff linter, but apparently derived from pycodestyle rule E721, I get lint errors for all lines like if type(data) is dict or if type(data) is list, telling me to use isinstance instead.

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

No branches or pull requests

1 participant