diff options
author | Daniel Schadt <kingdread@gmx.de> | 2023-03-29 20:16:06 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2023-03-29 20:16:06 +0200 |
commit | 233c688fed5abf3db150052801db7d6732daa44b (patch) | |
tree | ed5e7888aa585152af3eeb17c2172aba48ee662e | |
parent | 66444356a76370ec9c1a5b15576b48ff63bbbed3 (diff) | |
download | fietsboek-233c688fed5abf3db150052801db7d6732daa44b.tar.gz fietsboek-233c688fed5abf3db150052801db7d6732daa44b.tar.bz2 fietsboek-233c688fed5abf3db150052801db7d6732daa44b.zip |
fix lint
-rw-r--r-- | fietsboek/views/profile.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fietsboek/views/profile.py b/fietsboek/views/profile.py index bf1475c..a08fad7 100644 --- a/fietsboek/views/profile.py +++ b/fietsboek/views/profile.py @@ -23,6 +23,7 @@ class CumulativeStats: The values start out with default values, and tracks can be merged in via :meth:`add`. """ + # pylint: disable=too-many-instance-attributes count: int = 0 @@ -71,10 +72,7 @@ class CumulativeStats: self.stopped_time += track.stopped_time self.max_speed = max(self.max_speed, track.max_speed) - if ( - self.longest_distance_track is None - or self.longest_distance_track.length < track.length - ): + if self.longest_distance_track is None or self.longest_distance_track.length < track.length: self.longest_distance_track = track if ( |