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

[pre-commit.ci] pre-commit autoupdate #5682

Merged
merged 1 commit into from
Oct 7, 2022
Merged

Conversation

pre-commit-ci[bot]
Copy link
Contributor

@pre-commit-ci pre-commit-ci bot commented Oct 4, 2022

@sphuber sphuber closed this Oct 4, 2022
@sphuber sphuber deleted the pre-commit-ci-update-config branch October 4, 2022 07:05
@chrisjsewell chrisjsewell restored the pre-commit-ci-update-config branch October 5, 2022 08:05
@chrisjsewell chrisjsewell reopened this Oct 5, 2022
@chrisjsewell
Copy link
Member

Heya @sphuber I'd rather you didn't keep closing these pre-commit PRs, they are opened for a reason.
If they pass just merge them.

In this case, it appears there is now an intermittent failure of tests/cmdline/commands/test_process.py::test_process_pause across all PRs.
Is this something that was added recently?

@sphuber
Copy link
Contributor

sphuber commented Oct 5, 2022

they are opened for a reason.

What is that reason if they literally don't change anything in the pre-commit?

@chrisjsewell
Copy link
Member

What is that reason if they literally don't change anything in the pre-commit?

they do, they update versions of the linting tools, which improves the linting of future PRs

@sphuber
Copy link
Contributor

sphuber commented Oct 5, 2022

they do, they update versions of the linting tools, which improves the linting of future PRs

And in this case, none of the linting tools were affected, as shown by the changes. The new pre-commit was run, and nothing was changed whatsoever. If the change is a no-op, why keep merging these? As soon as the version upping actually changes the linting, of course I would be for merging them. By this point we would have merged at least 4 of these, and none of them had any affect. Now you can say, what does it hurt by merging them, but I can ask the same question.

In this case, it appears there is now an intermittent failure of tests/cmdline/commands/test_process.py::test_process_pause across all PRs. Is this something that was added recently?

I think so, I will try to have a look today to see if I can fix it.

@chrisjsewell
Copy link
Member

The new pre-commit was run, and nothing was changed whatsoever

future PRs

@chrisjsewell
Copy link
Member

I think so, I will try to have a look today to see if I can fix it.

cheers 🙏

@sphuber
Copy link
Contributor

sphuber commented Oct 5, 2022

@chrisjsewell I found the direct cause (see #5687 ) but not sure how to fix it yet.

@chrisjsewell
Copy link
Member

Thanks! Will have a look later

updates:
- [github.com/pre-commit/pre-commit-hooks: v4.1.0 → v4.3.0](pre-commit/pre-commit-hooks@v4.1.0...v4.3.0)
@sphuber sphuber force-pushed the pre-commit-ci-update-config branch from ef46bfe to 1f801e3 Compare October 7, 2022 15:09
@codecov
Copy link

codecov bot commented Oct 7, 2022

Codecov Report

Base: 79.65% // Head: 79.65% // Increases project coverage by +0.01% 🎉

Coverage data is based on head (1f801e3) compared to base (0680209).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5682      +/-   ##
==========================================
+ Coverage   79.65%   79.65%   +0.01%     
==========================================
  Files         490      490              
  Lines       36570    36570              
==========================================
+ Hits        29125    29126       +1     
+ Misses       7445     7444       -1     
Impacted Files Coverage Δ
aiida/transports/plugins/local.py 81.85% <0.00%> (+0.25%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@sphuber sphuber self-requested a review October 7, 2022 15:37
@sphuber sphuber merged commit 5122115 into main Oct 7, 2022
@sphuber sphuber deleted the pre-commit-ci-update-config branch October 7, 2022 15:37
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.

2 participants