Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
2b25d679
Unverified
Commit
2b25d679
authored
Mar 23, 2023
by
Edward Z. Yang
Committed by
GitHub
Mar 23, 2023
Browse files
Upgrade ufmt to 1.3.3 (#7454)
Signed-off-by:
Edward Z. Yang
<
ezyang@meta.com
>
parent
dabb6d52
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
.pre-commit-config.yaml
.pre-commit-config.yaml
+1
-1
CONTRIBUTING.md
CONTRIBUTING.md
+1
-1
No files found.
.pre-commit-config.yaml
View file @
2b25d679
...
@@ -11,7 +11,7 @@ repos:
...
@@ -11,7 +11,7 @@ repos:
-
id
:
end-of-file-fixer
-
id
:
end-of-file-fixer
-
repo
:
https://github.com/omnilib/ufmt
-
repo
:
https://github.com/omnilib/ufmt
rev
:
v1.3.
2
rev
:
v1.3.
3
hooks
:
hooks
:
-
id
:
ufmt
-
id
:
ufmt
additional_dependencies
:
additional_dependencies
:
...
...
CONTRIBUTING.md
View file @
2b25d679
...
@@ -83,7 +83,7 @@ Instead of relying directly on `black` however, we rely on
...
@@ -83,7 +83,7 @@ Instead of relying directly on `black` however, we rely on
[
ufmt
](
https://github.com/omnilib/ufmt
)
, for compatibility reasons with Facebook
[
ufmt
](
https://github.com/omnilib/ufmt
)
, for compatibility reasons with Facebook
internal infrastructure.
internal infrastructure.
To format your code, install
`ufmt`
with
`pip install ufmt==1.3.
2
black==22.3.0 usort==1.0.2`
and use e.g.:
To format your code, install
`ufmt`
with
`pip install ufmt==1.3.
3
black==22.3.0 usort==1.0.2`
and use e.g.:
```
bash
```
bash
ufmt format torchvision
ufmt format torchvision
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment