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

Update pre-commit #2067

Merged
merged 3 commits into from
Mar 19, 2024
Merged

Update pre-commit #2067

merged 3 commits into from
Mar 19, 2024

Conversation

davorrunje
Copy link
Collaborator

Why are these changes needed?

pre-commit hasn't been updated in a long time and had quite old versions of ruff and black lacking the latest code formatting styles. This PR updates the pre-commit and fixes a few issues found by the latest versions of tools.

Related issue number

Checks

@codecov-commenter
Copy link

codecov-commenter commented Mar 18, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 48.24%. Comparing base (ca506ba) to head (eec4f5d).

Files Patch % Lines
autogen/oai/completion.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #2067       +/-   ##
===========================================
+ Coverage   36.79%   48.24%   +11.44%     
===========================================
  Files          66       66               
  Lines        7060     7058        -2     
  Branches     1541     1669      +128     
===========================================
+ Hits         2598     3405      +807     
+ Misses       4234     3365      -869     
- Partials      228      288       +60     
Flag Coverage Δ
unittests 48.11% <0.00%> (+11.31%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@qingyun-wu qingyun-wu added this pull request to the merge queue Mar 19, 2024
Merged via the queue into main with commit b1839c3 Mar 19, 2024
56 of 68 checks passed
@davorrunje davorrunje deleted the update-pre-commit branch March 19, 2024 06:42
nicho2 pushed a commit to nicho2/autogen that referenced this pull request Mar 21, 2024
* update pre-commit

* update pre-commit.ci

* lint fix
whiskyboy pushed a commit to whiskyboy/autogen that referenced this pull request Apr 17, 2024
* update pre-commit

* update pre-commit.ci

* lint fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants