aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2023-03-02 18:22:59 +0100
committerDaniel Schadt <kingdread@gmx.de>2023-03-02 18:22:59 +0100
commit4df57a352460fe0944b73ddf738d678b772c9bd6 (patch)
tree769922b0bf4c7e27def3ab19b69ec11393adc48d
parentb423cc4a2deaa54cf529a1823f5977b5b5ef9b89 (diff)
downloadfietsboek-4df57a352460fe0944b73ddf738d678b772c9bd6.tar.gz
fietsboek-4df57a352460fe0944b73ddf738d678b772c9bd6.tar.bz2
fietsboek-4df57a352460fe0944b73ddf738d678b772c9bd6.zip
fix lint
-rw-r--r--fietsboek/actions.py2
-rw-r--r--pylint.toml2
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