Skip to content

seemingly random changes in pre-commit #3885

@ltalirz

Description

@ltalirz

Something strange happened in PR #3875

After some time working on the PR, pylint suddenly started complaining about invalid variable names in .ci/workchains.py (a file untouched by the PR):

self.ctx.inputs.x = Int(abs(node.inputs.x.value))
self.ctx.inputs.y = Int(abs(node.inputs.y.value))

I added a commit that added # pylint: disable=invalid-name comments and the problem went away.

@sphuber in the end rebased my PR, somehow getting rid of these additional changes in the process. So far, so good.

The strange thing is: The pre-commit check on the final commit of the PR passed, despite the fact the comments were no longer there.

It seems we are witnessing the same again in PR #3738 - pre-commit now started complaining about these two lines again.

@csadorf Do you have any idea what could be going on?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions