From db24388cc730ac8f45273fe553283577082554f4 Mon Sep 17 00:00:00 2001
From: Antoine Lambert <anlambert@softwareheritage.org>
Date: Tue, 18 Feb 2025 11:47:50 +0100
Subject: [PATCH] flake8: Exclude some directories to scan

To avoid false positive when running flake8 locally with tox.
---
 pyproject.toml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/pyproject.toml b/pyproject.toml
index bdd06de..e39c748 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -87,6 +87,12 @@ ignore = [
     "W503" # line break before binary operator <https://github.com/psf/black/issues/52>
 ]
 max-line-length = 88
+exclude = [
+    "build",
+    "target",
+    ".tox",
+    "swh/provenance/grpc"
+]
 
 [tool.pytest.ini_options]
 norecursedirs = "build docs .*"
-- 
GitLab