aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fietsboek/models/track.py3
-rw-r--r--pylint.tests.toml2
-rw-r--r--tests/integration/test_browse.py2
3 files changed, 4 insertions, 3 deletions
diff --git a/fietsboek/models/track.py b/fietsboek/models/track.py
index b0b1f7b..5f09059 100644
--- a/fietsboek/models/track.py
+++ b/fietsboek/models/track.py
@@ -49,6 +49,7 @@ from babel.numbers import format_decimal
from .meta import Base
from .. import util
+
if TYPE_CHECKING:
from .. import models
@@ -415,6 +416,8 @@ class TrackWithMetadata:
``track``, but most attributes are proxied read-only.
"""
+ # pylint: disable=too-many-public-methods
+
def __init__(self, track: Track, data_manager):
self.track = track
self.cache = track.cache
diff --git a/pylint.tests.toml b/pylint.tests.toml
index 1c479e4..9e4b37b 100644
--- a/pylint.tests.toml
+++ b/pylint.tests.toml
@@ -230,7 +230,7 @@ valid-metaclass-classmethod-first-arg = ["cls"]
# ignored-parents =
# Maximum number of arguments for function / method.
-max-args = 5
+max-args = 10
# Maximum number of attributes for a class (see R0902).
max-attributes = 7
diff --git a/tests/integration/test_browse.py b/tests/integration/test_browse.py
index 603f301..89d6f94 100644
--- a/tests/integration/test_browse.py
+++ b/tests/integration/test_browse.py
@@ -2,12 +2,10 @@ import io
import zipfile
from contextlib import contextmanager
from datetime import datetime
-from pathlib import Path
from testutils import load_gpx_asset
from fietsboek import models
from fietsboek.models.track import Visibility
-from fietsboek.data import DataManager
@contextmanager