Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Update pre-commit #87

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

Merged
merged 1 commit into from
Jan 19, 2024
Merged

Conversation

jarrodmillman
Copy link
Member

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
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

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

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

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jarrodmillman jarrodmillman merged commit 262a2bb into scientific-python:main Jan 19, 2024
@jarrodmillman jarrodmillman deleted the precommit branch January 19, 2024 04:56
@jarrodmillman jarrodmillman added this to the 0.4 milestone Jan 19, 2024
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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.