Skip to content

Let ufmt check run without pre-commit #5454

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 2 commits into from
Feb 22, 2022

Conversation

pmeier
Copy link
Collaborator

@pmeier pmeier commented Feb 22, 2022

Until omnilib/ufmt#56 is resolved, the ufmt hook cannot be installed and thus breaks the whole lint CI workflow (see for example https://app.circleci.com/pipelines/github/pytorch/vision/14964/workflows/2a6aab2b-9629-44ae-bf50-2b9c42dc85ca/jobs/1205317). Thus, we should disable it for now and wait until this is fixed upstream.

@facebook-github-bot
Copy link

facebook-github-bot commented Feb 22, 2022

💊 CI failures summary and remediations

As of commit 6c41e4b (more details on the Dr. CI page):


💚 💚 Looks good so far! There are no failures yet. 💚 💚


This comment was automatically generated by Dr. CI (expand for details).

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

@NicolasHug
Copy link
Member

I wonder if we should still keep the lint workflow failing until they fix it on ufmt's side, rather than risk merging un-formatted PRs?

@NicolasHug
Copy link
Member

Or, if this is a pre-commit related issue, still do the checks without using pre-commit ?

Copy link
Contributor

@datumbox datumbox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@datumbox datumbox merged commit 9301685 into pytorch:main Feb 22, 2022
@pmeier pmeier deleted the disable-ufmt-pre-commit branch February 22, 2022 16:09
@NicolasHug NicolasHug changed the title disable ufmt pre-commit hook Let ufmt check run without pre-commit Feb 22, 2022
facebook-github-bot pushed a commit to pytorch/data that referenced this pull request Feb 22, 2022
Summary:
Copycat of pytorch/vision#5454

Pull Request resolved: #241

Reviewed By: NivekT

Differential Revision: D34399601

Pulled By: ejguan

fbshipit-source-id: d1b5914542934b82ed0c7c8f77eba8682ae1ac5b
pmeier added a commit to pmeier/vision that referenced this pull request Feb 23, 2022
datumbox pushed a commit that referenced this pull request Feb 23, 2022
* Revert "disable ufmt pre-commit hook (#5454)"

This reverts commit 9301685.

* upgrade ufmt to 1.3.2
facebook-github-bot pushed a commit that referenced this pull request Feb 25, 2022
Summary:
* disable ufmt pre-commit hook

* run ufmt outside of pre-commit

Reviewed By: jdsgomes

Differential Revision: D34475314

fbshipit-source-id: 8f35f71aadea65c2c09172ad39473d5f145fba98
facebook-github-bot pushed a commit that referenced this pull request Feb 25, 2022
Summary:
* Revert "disable ufmt pre-commit hook (#5454)"

This reverts commit 9301685.

* upgrade ufmt to 1.3.2

Reviewed By: jdsgomes

Differential Revision: D34475325

fbshipit-source-id: 37297c4fe182c615af28a736bd41b6c4e8f774ab
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.

4 participants