Skip to content

Commit

Permalink
Fix pre-commit GH linter versions (#197)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #197

Reviewed By: JKSenthil

Differential Revision: D57185738

fbshipit-source-id: 5bad2dd667e6798c4c0a5ccee78b2532f385d646
  • Loading branch information
diego-urgell authored and facebook-github-bot committed May 10, 2024
1 parent 98427f3 commit cb6bc39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ repos:
- docs/license_header.txt

- repo: https://github.com/pycqa/flake8
rev: 4.0.1
rev: 6.1.0
hooks:
- id: flake8
args:
- --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 cb6bc39

Please sign in to comment.