Skip to content

Conversation

@jscheffl
Copy link
Contributor

@jscheffl jscheffl commented Nov 1, 2025

As I was attempting to clean code toward ruff rule PLW0603 (https://docs.astral.sh/ruff/rules/global-statement/) I noticed that some code is a bit... outdated to be refactored. Making some smaller PRs for the cleanup of PLW0603 assuming easier to review

This PR attempts to remove the global keyword from serialized objects module. It was mainly used as a cache, so replaced it with functools.cache

@jscheffl jscheffl force-pushed the bugfix/remove-global-from-serialization branch from 260dd5a to 698207a Compare November 2, 2025 12:41
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.

1 participant