Skip to content

Commit

Permalink
Fix GitHub pre-commit check (#173)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #173

Differential Revision: D55625861
  • Loading branch information
diego-urgell authored and facebook-github-bot committed Apr 2, 2024
1 parent e77c084 commit 4575bf8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ max-line-length = 120
# C408 ignored because we like the dict keyword argument syntax
# E501 is not flexible enough, we're using B950 instead
ignore =
E203,E305,E402,E501,E721,E741,F405,F821,F841,F999,W503,W504,C408,E302,W291,E303,
E203,E305,E402,E501,E704,E721,E741,F405,F821,F841,F999,W503,W504,C408,E302,W291,E303,
# shebang has extra meaning in fbcode lints, so I think it's not worth trying
# to line this up with executable bit
EXE001,
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ repos:
- --config=.flake8

- repo: https://github.com/omnilib/ufmt
rev: v1.3.0
rev: v2.5.1
hooks:
- id: ufmt
additional_dependencies:
- black == 22.3.0
- black == 24.2.0
- usort == 1.0.2

0 comments on commit 4575bf8

Please sign in to comment.