From 25c981d0ab9a0655d37eff5481398103a6c33b93 Mon Sep 17 00:00:00 2001 From: Walter BONETTI Date: Thu, 6 Jun 2024 11:04:02 -0400 Subject: [PATCH] Fix importlib_metadata.entry_points attribute error by updating flake8 --- .pre-commit-config.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 059c326f2..fa5b292fb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,8 @@ repos: - id: black language_version: python3 - repo: https://github.com/pycqa/flake8 - rev: 3.9.1 # Use the ref you want to point at + rev: 7.0.0 # Use the ref you want to point at hooks: - id: flake8 - args: ['--config=.flake8'] \ No newline at end of file + args: ['--config=.flake8'] + additional_dependencies: ['importlib_metadata==4.3']