Passed
Push — dependabot/pip/pyarrow-5.0.0 ( 101caa...cfe875 )
by
unknown
01:39
created

mandos.analysis.projection   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 10
dl 0
loc 21
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A UmapCalc.calc() 0 2 1
1
from typing import Any, Mapping
0 ignored issues
show
introduced by
Missing module docstring
Loading history...
Unused Code introduced by
Unused Any imported from typing
Loading history...
Unused Code introduced by
Unused Mapping imported from typing
Loading history...
2
3
try:
4
    from umap import UMAP
5
except ImportError:
6
    UMAP = None
7
8
from mandos.analysis.io_defns import SimilarityDfLongForm, PsiProjectedDf
9
10
11
class UmapCalc:
12
    """
13
    Calculates UMAP.
14
    """
15
16
    def calc(self, df: SimilarityDfLongForm) -> PsiProjectedDf:
0 ignored issues
show
Coding Style Naming introduced by
Argument name "df" doesn't conform to snake_case naming style ('([^\\W\\dA-Z][^\\WA-Z]2,|_[^\\WA-Z]*|__[^\\WA-Z\\d_][^\\WA-Z]+__)$' pattern)

This check looks for invalid names for a range of different identifiers.

You can set regular expressions to which the identifiers must conform if the defaults do not match your requirements.

If your project includes a Pylint configuration file, the settings contained in that file take precedence.

To find out more about Pylint, please refer to their site.

Loading history...
Documentation introduced by
Empty method docstring
Loading history...
17
        """"""
18
19
20
__all__ = ["UMAP", "UmapCalc"]
21