Conversation
| to_folium_map as to_folium_map, | ||
| ) | ||
|
|
||
| from .tsm import TSM as TSM |
Check warning
Code scanning / Pylintpython3 (reported by Codacy)
Import alias does not rename original package Warning
| @@ -0,0 +1 @@ | |||
| from .tsm import TSM as TSM | |||
Check warning
Code scanning / Pylintpython3 (reported by Codacy)
Missing module docstring Warning
| @@ -0,0 +1 @@ | |||
| from .tsm import TSM as TSM | |||
Check warning
Code scanning / Pylintpython3 (reported by Codacy)
Import alias does not rename original package Warning
| @@ -0,0 +1,204 @@ | |||
| from __future__ import annotations | |||
Check warning
Code scanning / Pylintpython3 (reported by Codacy)
Missing module docstring Warning
| # helpers | ||
| # ------------------------------------------------------------------ | ||
| @property | ||
| def _group_cols(self) -> list[str]: |
Check warning
Code scanning / Pylintpython3 (reported by Codacy)
Value 'list' is unsubscriptable Warning
| return self._result | ||
|
|
||
| @property | ||
| def df(self) -> pl.DataFrame: |
Check warning
Code scanning / Pylintpython3 (reported by Codacy)
Attribute name "df" doesn't conform to snake_case naming style Warning
| to_folium_map as to_folium_map, | ||
| ) | ||
|
|
||
| from .tsm import TSM as TSM |
Check warning
Code scanning / Prospector (reported by Codacy)
Import alias does not rename original package (useless-import-alias) Warning
| to_folium_map as to_folium_map, | ||
| ) | ||
|
|
||
| from .tsm import TSM as TSM |
Check warning
Code scanning / Prospector (reported by Codacy)
'.tsm.TSM' imported but unused (F401) Warning
| @@ -0,0 +1 @@ | |||
| from .tsm import TSM as TSM | |||
Check warning
Code scanning / Prospector (reported by Codacy)
Import alias does not rename original package (useless-import-alias) Warning
| @@ -0,0 +1 @@ | |||
| from .tsm import TSM as TSM | |||
Check warning
Code scanning / Prospector (reported by Codacy)
'.tsm.TSM' imported but unused (F401) Warning
| from pathlib import Path | ||
| from typing import Dict, Optional | ||
|
|
||
| import polars as pl |
Check warning
Code scanning / Prospector (reported by Codacy)
Unable to import 'polars' (import-error) Warning
| # helpers | ||
| # ------------------------------------------------------------------ | ||
| @property | ||
| def _group_cols(self) -> list[str]: |
Check warning
Code scanning / Prospector (reported by Codacy)
Value 'list' is unsubscriptable (unsubscriptable-object) Warning
| @@ -0,0 +1 @@ | |||
| from .tsm import TSM as TSM | |||
Check warning
Code scanning / Pylint (reported by Codacy)
Missing module docstring Warning
| @@ -0,0 +1,204 @@ | |||
| from __future__ import annotations | |||
Check warning
Code scanning / Pylint (reported by Codacy)
No name 'annotations' in module 'future' Warning
| @@ -0,0 +1,204 @@ | |||
| from __future__ import annotations | |||
Check warning
Code scanning / Pylint (reported by Codacy)
Missing module docstring Warning
| """ | ||
|
|
||
| def __init__( | ||
| self, |
Check warning
Code scanning / Pylint (reported by Codacy)
Wrong hanging indentation before block (add 4 spaces). Warning
|
|
||
| def __init__( | ||
| self, | ||
| data: pl.DataFrame, |
Check warning
Code scanning / Pylint (reported by Codacy)
Wrong hanging indentation before block (add 4 spaces). Warning
| # helpers | ||
| # ------------------------------------------------------------------ | ||
| @property | ||
| def _group_cols(self) -> list[str]: |
Check warning
Code scanning / Pylint (reported by Codacy)
Value 'list' is unsubscriptable Warning
| # public API | ||
| # ------------------------------------------------------------------ | ||
| def clusterize( | ||
| self, |
Check warning
Code scanning / Pylint (reported by Codacy)
Wrong hanging indentation before block (add 4 spaces). Warning
| # ------------------------------------------------------------------ | ||
| def clusterize( | ||
| self, | ||
| min_vehicles: int = 5, |
Check warning
Code scanning / Pylint (reported by Codacy)
Wrong hanging indentation before block (add 4 spaces). Warning
| def clusterize( | ||
| self, | ||
| min_vehicles: int = 5, | ||
| gap_factor: float = 3.0, |
Check warning
Code scanning / Pylint (reported by Codacy)
Wrong hanging indentation before block (add 4 spaces). Warning
| return self._result | ||
|
|
||
| @property | ||
| def df(self) -> pl.DataFrame: |
Check warning
Code scanning / Pylint (reported by Codacy)
Attribute name "df" doesn't conform to snake_case naming style Warning
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #410 +/- ##
=======================================
Coverage 87.69% 87.69%
=======================================
Files 52 52
Lines 6129 6129
Branches 682 682
=======================================
Hits 5375 5375
Misses 735 735
Partials 19 19
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
No description provided.