Upgrade pylint to 2.2.2 (#18750)
* Upgrade to 2.2.0 * simplifiable-if-expression fixes * duplicate-string-formatting-argument fixes * unused-import fixes * Upgrade to 2.2.1 * Remove no longer needed disable * Upgrade to 2.2.2
This commit is contained in:
1 parent
04c7d5c128
commit
1be440a72b
19 files changed
+35
-40
No files matched your search
@@ -147,10 +147,10 @@ class MVGLiveData:
|
||||
self._products = products
|
||||
self._timeoffset = timeoffset
|
||||
self._number = number
|
||||
self._include_ubahn = True if 'U-Bahn' in self._products else False
|
||||
self._include_tram = True if 'Tram' in self._products else False
|
||||
self._include_bus = True if 'Bus' in self._products else False
|
||||
self._include_sbahn = True if 'S-Bahn' in self._products else False
|
||||
self._include_ubahn = 'U-Bahn' in self._products
|
||||
self._include_tram = 'Tram' in self._products
|
||||
self._include_bus = 'Bus' in self._products
|
||||
self._include_sbahn = 'S-Bahn' in self._products
|
||||
self.mvg = MVGLive.MVGLive()
|
||||
self.departures = []
|
||||
|
||||
|
||||
Reference in new issue
Block a user