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: fix bug detection, trying to access self #33955

Merged
merged 1 commit into from
Nov 17, 2022

Conversation

alalazo
Copy link
Member

@alalazo alalazo commented Nov 16, 2022

Typo introduced in #33847

We cannot reference self in a classmethod.

Copy link
Member

@adamjstewart adamjstewart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was just about to submit a PR for this, thanks!

Any idea why flake8 doesn't catch this?

@adamjstewart adamjstewart self-assigned this Nov 16, 2022
@adamjstewart adamjstewart enabled auto-merge (squash) November 16, 2022 21:51
@alalazo
Copy link
Member Author

alalazo commented Nov 16, 2022

Not really. I bet it would have been caught by pylint, but we are not ready for that yet.

@alalazo
Copy link
Member Author

alalazo commented Nov 17, 2022

The error in the pipeline is unrelated. This only affects detecting Python. Force merging instead of waiting for another pipelines run.

@alalazo alalazo merged commit 61f5d85 into spack:develop Nov 17, 2022
@alalazo alalazo deleted the bugfix/python_detection branch November 17, 2022 07:38
amd-toolchain-support pushed a commit to amd-toolchain-support/spack that referenced this pull request Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants