scientific-python / lazy-loader

Populate library namespace without incurring immediate import costs
BSD 3-Clause "New" or "Revised" License
132 stars 20 forks source link

Update pre-commit #87

Closed jarrodmillman closed 8 months ago

jarrodmillman commented 8 months ago

Manually ran:

import yaml
import subprocess

file = ".pre-commit-config.yaml"

with open(file, "r") as f:
    data = yaml.safe_load(f)

repos = []
for repo in data['repos']:
    if 'mirrors-prettier' not in repo['repo']:
        repos.append("--repo")
        repos.append(repo['repo'])

command = ['pre-commit', 'autoupdate', '--freeze'] + repos
subprocess.call(command)
codecov-commenter commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (e13c520) 93.95% compared to head (d45f3f9) 93.95%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #87 +/- ## ======================================= Coverage 93.95% 93.95% ======================================= Files 4 4 Lines 182 182 ======================================= Hits 171 171 Misses 11 11 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.