From 4df57a352460fe0944b73ddf738d678b772c9bd6 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Thu, 2 Mar 2023 18:22:59 +0100 Subject: fix lint --- fietsboek/actions.py | 2 +- pylint.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fietsboek/actions.py b/fietsboek/actions.py index 2058f4d..0adac94 100644 --- a/fietsboek/actions.py +++ b/fietsboek/actions.py @@ -64,7 +64,7 @@ def add_track( :return: The track object that has been inserted into the database. Useful for its ``id`` attribute. """ - # pylint: disable=too-many-arguments + # pylint: disable=too-many-arguments,too-many-locals LOGGER.debug("Inserting new track...") track = models.Track( owner=owner, diff --git a/pylint.toml b/pylint.toml index 9e3a63c..f1e4270 100644 --- a/pylint.toml +++ b/pylint.toml @@ -17,7 +17,7 @@ # be loaded. Extensions are loading into the active Python interpreter and may # run arbitrary code. (This is an alternative name to extension-pkg-allow-list # for backward compatibility.) -# extension-pkg-whitelist = +extension-pkg-whitelist = ["pydantic"] # Return non-zero exit code if any of these messages/categories are detected, # even if score is above --fail-under value. Syntax same as enable. Messages -- cgit v1.2.3