From 1dcb863f55a61b224bbc73348705b847029ad705 Mon Sep 17 00:00:00 2001 From: FestplattenSchnitzel Date: Sun, 5 Mar 2023 09:24:58 +0100 Subject: [PATCH] pylint: Set Python version, exclude vendored file --- pyproject.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index d351e8e3..d2cb8c55 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,6 +31,13 @@ disable_error_code = "no-redef, misc, arg-type" # avoid hangs. jobs = 4 +# Minimum Python version to use for version dependent checks. Will default to the +# version used to run pylint. +py-version = "3.9" + +# Files or directories to be skipped. They should be base names, not paths. +ignore = ["apksigcopier.py"] + [tool.pylint.basic] # Good variable names which should always be accepted, separated by a comma. good-names = ["i", "j", "k", "ex", "Run", "f", "fp"]