Skip to content

Implementation of Density-based spatial clustering of applications with noise (DBSCAN) ML Algorithm #10006

Implementation of Density-based spatial clustering of applications with noise (DBSCAN) ML Algorithm

Implementation of Density-based spatial clustering of applications with noise (DBSCAN) ML Algorithm #10006

Triggered via pull request October 2, 2024 10:16
Status Failure
Total duration 14s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (I001): machine_learning/dbscan.py#L1
machine_learning/dbscan.py:1:1: I001 Import block is un-sorted or un-formatted
Ruff (W293): machine_learning/dbscan.py#L11
machine_learning/dbscan.py:11:1: W293 Blank line contains whitespace
Ruff (B006): machine_learning/dbscan.py#L29
machine_learning/dbscan.py:29:18: B006 Do not use mutable data structures for argument defaults
Ruff (E721): machine_learning/dbscan.py#L95
machine_learning/dbscan.py:95:42: E721 Use `is` and `is not` for type comparisons, or `isinstance()` for isinstance checks
Ruff (UP003): machine_learning/dbscan.py#L95
machine_learning/dbscan.py:95:61: UP003 Use `str` instead of `type(...)`
Ruff (E501): machine_learning/dbscan.py#L95
machine_learning/dbscan.py:95:89: E501 Line too long (100 > 88)
Ruff (SIM102): machine_learning/dbscan.py#L134
machine_learning/dbscan.py:134:21: SIM102 Use a single `if` statement instead of nested `if` statements
Ruff (E721): machine_learning/dbscan.py#L150
machine_learning/dbscan.py:150:42: E721 Use `is` and `is not` for type comparisons, or `isinstance()` for isinstance checks
Ruff (UP003): machine_learning/dbscan.py#L150
machine_learning/dbscan.py:150:61: UP003 Use `str` instead of `type(...)`
Ruff (E501): machine_learning/dbscan.py#L150
machine_learning/dbscan.py:150:89: E501 Line too long (100 > 88)