Skip to content

Clean up pre-commit cache #77

@sadamov

Description

@sadamov
  • Date you used copier PyPackage: 29.11.2022
  • Copier version used, if any: 6.2.0
  • Python version, if any: 3.10.6
  • Operating System: Red Hat Enterprise Linux Server release 7.9 (Maipo) x86_64

Description

Running pre-commit run --all-files generates a substantial amount of files in ~/.cache/pre-commit. This can lead to disk space quota errors at CSCS, as /home is limited to 50GB per user. I think it would make sense to either automatically clean up this folder after a pre-commit or ask the user in the documentation to do so manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions