Skip to content

Python Linter doesn't recognize that invalid data is being passed to a function #5298

@rchiodo

Description

@rchiodo

I have a function defined like so:

def verify_dataframe_info(vars, name: str, capsys, hasInfo: bool):

And I had code like so:

verify_dataframe_info(vars, 'se', capsys, true)

The 'true' value should be 'True'

Linter didn't recognize this mistake.

Metadata

Metadata

Assignees

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