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

[INF] Avoid timeouts in pre-commit ci/cd due to darglint #1246

Merged
merged 10 commits into from
Mar 3, 2023

Conversation

thatlittleboy
Copy link
Contributor

@thatlittleboy thatlittleboy commented Feb 18, 2023

Just a tiny PR to turn off darglint in the pre-commit CI workflow for now --- as it's consistently taking >3min to run and timing out ---, and replacing it with GH actions.
It is currently hindering the other pre-commit checks (black) from being applied/auto-fixed in PRs as a result as well.

Locally, one would still use pre-commit to check darglint as per normal.

The plan is to use #1236 to replace darglint.

Also, black has adopted a new style with the new 2023 release, so this PR also fixes that to conform our code to the new style.

@thatlittleboy thatlittleboy changed the title [INF] Avoid timeouts in pre-commit ci/cd [INF] Avoid timeouts in pre-commit ci/cd due to darglint Feb 18, 2023
@thatlittleboy thatlittleboy marked this pull request as draft February 18, 2023 02:17
@ericmjl
Copy link
Member

ericmjl commented Feb 18, 2023

@codecov
Copy link

codecov bot commented Feb 18, 2023

Codecov Report

Merging #1246 (50c69e7) into dev (0376a51) will increase coverage by 10.92%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##              dev    #1246       +/-   ##
===========================================
+ Coverage   86.75%   97.67%   +10.92%     
===========================================
  Files          78       78               
  Lines        3617     3617               
===========================================
+ Hits         3138     3533      +395     
+ Misses        479       84      -395     

@thatlittleboy thatlittleboy marked this pull request as ready for review February 18, 2023 03:13
@asottile
Copy link

asottile commented Mar 2, 2023

hello -- please merge this ASAP as it's significantly impacting queue at the moment

@thatlittleboy
Copy link
Contributor Author

@ericmjl I'll make the executive decision to merge this PR in first since it's affecting others; let's address further concerns in a separate PR, hope you don't mind!

@thatlittleboy thatlittleboy merged commit 334e277 into dev Mar 3, 2023
@thatlittleboy thatlittleboy deleted the avoid-timeouts branch March 3, 2023 03:10
@thatlittleboy
Copy link
Contributor Author

@asottile done

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