From f2cfe1a1060f1b7713f08af6eb7fe0fc24472984 Mon Sep 17 00:00:00 2001 From: Evan Smothers Date: Tue, 10 Oct 2023 13:53:16 -0700 Subject: [PATCH] Update linter versions (#481) Summary: Pull Request resolved: https://github.com/facebookresearch/multimodal/pull/481 Test Plan: CI Reviewed By: pbontrager Differential Revision: D50138753 Pulled By: ebsmothers fbshipit-source-id: 76a94ebd764e6a414663105b19a714fb6fed7cc7 --- .pre-commit-config.yaml | 6 +++--- dev-requirements.txt | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e5bf4905..d08e58c5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -35,9 +35,9 @@ repos: args: ['--config=.flake8'] - repo: https://github.com/omnilib/ufmt - rev: v1.3.0 + rev: v2.0.1 hooks: - id: ufmt additional_dependencies: - - black == 22.3.0 - - usort == 1.0.2 + - black == 22.12.0 + - usort == 1.0.5 diff --git a/dev-requirements.txt b/dev-requirements.txt index ea849ab6..fa09973a 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,5 +1,5 @@ DALL-E==0.1 -black==22.3.0 +black==22.12.0 flake8-bugbear==22.4.25 flake8==4.0.1 iopath @@ -9,5 +9,5 @@ pre-commit pytest pytest-cov pytest-mock==3.8.2 -ufmt==1.3.0 -usort==1.0.2 +ufmt==2.0.1 +usort==1.0.5