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

Fix SIM115 by using a context manager #8611

Merged
merged 1 commit into from
Oct 21, 2024
Merged

Fix SIM115 by using a context manager #8611

merged 1 commit into from
Oct 21, 2024

Commits on Oct 21, 2024

  1. Fix SIM115 by using a context manager

    Ruff started throwing a SIM115 error:
    
    ```
    cfgov/v1/tests/management/commands/test_publish_pages.py:33:14: SIM115 Use a context manager for opening files
    ```
    
    This fixes that by using a context management.
    willbarton committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    bdf5712 View commit details
    Browse the repository at this point in the history