Skip to content

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

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 #10008

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

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors
Ruff (I001): machine_learning/dbscan.py#L1
machine_learning/dbscan.py:1:1: I001 Import block is un-sorted or un-formatted
Ruff (B006): machine_learning/dbscan.py#L35
machine_learning/dbscan.py:35:31: B006 Do not use mutable data structures for argument defaults
Ruff (E721): machine_learning/dbscan.py#L114
machine_learning/dbscan.py:114:16: E721 Use `is` and `is not` for type comparisons, or `isinstance()` for isinstance checks
Ruff (UP003): machine_learning/dbscan.py#L114
machine_learning/dbscan.py:114:35: UP003 Use `str` instead of `type(...)`
Ruff (SIM102): machine_learning/dbscan.py#L160
machine_learning/dbscan.py:160:21: SIM102 Use a single `if` statement instead of nested `if` statements
Ruff (E721): machine_learning/dbscan.py#L179
machine_learning/dbscan.py:179:16: E721 Use `is` and `is not` for type comparisons, or `isinstance()` for isinstance checks
Ruff (UP003): machine_learning/dbscan.py#L179
machine_learning/dbscan.py:179:35: UP003 Use `str` instead of `type(...)`
ruff
Process completed with exit code 1.