Skip to content

library method and parameters modified (python) #15

@chrisanc

Description

@chrisanc

Python bug

When using the --fix flag, the methods from libraries (using named arguments) are also replaced (when they shouldn't because they're not my own methods. To fix this, we can simply use the language conventions (using snake_case for python) but the ideal would be not to modify them.

Example:

# before the --fix flag
library.set_info(lib_name="example", lib_desc="example")
# after the --fix flag
library.setInfo(libName="example", libDesc="example")

As you see, after we 'fix' the code, it won't work because of the library.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions