Skip to content

Apply ruff UP fixes#1362

Merged
mdellweg merged 2 commits intopulp:mainfrom
mdellweg:ruff-fixes
Apr 23, 2026
Merged

Apply ruff UP fixes#1362
mdellweg merged 2 commits intopulp:mainfrom
mdellweg:ruff-fixes

Conversation

@mdellweg
Copy link
Copy Markdown
Member

No description provided.

@mdellweg mdellweg marked this pull request as ready for review April 23, 2026 12:53
Comment thread pulp-glue/src/pulp_glue/common/i18n.py Outdated
from importlib.resources import files


# Need to call lru_cache() before using it as a decorator for python 3.7 compatibility
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

(unrelated to the PR - we can prob drop this comment now that we require py3.10+)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Specifically now that we don't use lru_cache at all anymore.

ggainey
ggainey previously approved these changes Apr 23, 2026
Copy link
Copy Markdown
Contributor

@ggainey ggainey left a comment

Choose a reason for hiding this comment

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

Looks like it even caught a few subtle L10N bugs (i.e. changing _("".format()) to _("").format()

@mdellweg mdellweg merged commit d4515d5 into pulp:main Apr 23, 2026
18 checks passed
@mdellweg mdellweg deleted the ruff-fixes branch April 23, 2026 14:39
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