From f4d1d3f8ee8732edd499a91cc86bbdb5fb897bf9 Mon Sep 17 00:00:00 2001 From: Emanuele Bellocchia <54482000+ebellocchia@users.noreply.github.com> Date: Mon, 12 Feb 2024 14:57:32 +0100 Subject: [PATCH] Exclude .eggs and venv from analysis --- mypy.ini | 2 +- prospector.yaml | 2 ++ tox.ini | 6 +++++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/mypy.ini b/mypy.ini index 833d9a3..5cda38c 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1,3 +1,3 @@ [mypy] ignore_missing_imports = True -exclude = .tox|build +exclude = .eggs|.tox|build|venv diff --git a/prospector.yaml b/prospector.yaml index ac4ea45..ca3b256 100644 --- a/prospector.yaml +++ b/prospector.yaml @@ -4,8 +4,10 @@ doc-warnings: true member-warnings: true ignore-paths: + - .eggs - .tox - build + - venv ignore-patterns: - setup.py diff --git a/tox.ini b/tox.ini index 3ec9907..0fa2dd7 100644 --- a/tox.ini +++ b/tox.ini @@ -1,14 +1,16 @@ [tox] skip_missing_interpreters = true -envlist = py{37,38,39,310} +envlist = py{37,38,39,310,311,312} [flake8] ignore = N802 # function name should be lowercase W504 # line break after binary operator exclude = + .eggs .tox build + venv setup.py max-line-length=130 per-file-ignores = @@ -22,6 +24,8 @@ lines_after_imports = 2 line_length = 120 multi_line_output = 5 skip = + .eggs .tox build + venv setup.py