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

tasks: Fix image cache in local podman container, fix ruff 0.7 errors #626

Merged
merged 2 commits into from
Oct 22, 2024

Conversation

martinpitt
Copy link
Member

These days we have to explicitly set $COCKPIT_IMAGES_DATA_DIR.

Drop the explicit "bash" command, it's not necessary any more.

These days we have to explicitly set `$COCKPIT_IMAGES_DATA_DIR`.

Drop the explicit "bash" command, it's not necessary any more.
@martinpitt
Copy link
Member Author

Wohoo, we haven't run cockpituous CI tasks in a while -- new ruff fun. Fixed (ruff could do it automatically)

@martinpitt martinpitt changed the title tasks: Fix image cache in local podman container tasks: Fix image cache in local podman container, fix ruff 0.7 lint errors Oct 22, 2024
@martinpitt martinpitt changed the title tasks: Fix image cache in local podman container, fix ruff 0.7 lint errors tasks: Fix image cache in local podman container, fix ruff 0.7 errors Oct 22, 2024
@martinpitt
Copy link
Member Author

Meh -- this now says exactly the opposite. I cannot reproduce this, the tasks container's ruff-0.6.7-1.fc40.x86_64 says "all passed". Let's disable that rule.

Different ruff versions have contradicting opinions about how to write
the pytest decorators. Writing them with () as we do now is more
general, so let's keep it that way.
@jelly jelly merged commit b294f48 into main Oct 22, 2024
3 checks passed
@jelly jelly deleted the tasks-readme branch October 22, 2024 07:28
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

Successfully merging this pull request may close these issues.

2 participants