File: 005.fix-docstring-underline-length.patch

package info (click to toggle)
esda 2.7.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 155,452 kB
  • sloc: python: 7,985; makefile: 40
file content (97 lines) | stat: -rw-r--r-- 3,473 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
Description: Fixed docstring underline length
Author: Josenilson Ferreira da Silva <nilsonfsilva@hotmail.com>
Forwarded:  not-needed
Last-Update: 2025-04-15
Index: esda/esda/silhouettes.py
===================================================================
--- esda.orig/esda/silhouettes.py
+++ esda/esda/silhouettes.py
@@ -58,7 +58,7 @@ def path_silhouette(
 
 
     Parameters
-    -----------
+    ----------
     data    :   np.ndarray (N,P)
                 matrix of data with N observations and P covariates.
     labels  :   np.ndarray (N,)
@@ -94,7 +94,7 @@ def path_silhouette(
                     asymmetry is ignored.
 
     Returns
-    --------
+    -------
     An (N_obs,) array of the path silhouette values for each observation.
     """
     if not HAS_REQUIREMENTS:
Index: esda/esda/join_counts.py
===================================================================
--- esda.orig/esda/join_counts.py
+++ esda/esda/join_counts.py
@@ -297,7 +297,7 @@ class Join_Counts:  # noqa: N801
             documentation for the Join_Count statistic.
 
         Returns
-        --------
+        -------
         If inplace, None, and operation is conducted on
         dataframe in memory. Otherwise, returns a copy of the
         dataframe with the relevant columns attached.
Index: esda/esda/moran.py
===================================================================
--- esda.orig/esda/moran.py
+++ esda/esda/moran.py
@@ -305,7 +305,7 @@ class Moran:
             documentation for the Moran statistic.
 
         Returns
-        --------
+        -------
         If inplace, None, and operation is conducted on dataframe
         in memory. Otherwise, returns a copy of the dataframe with
         the relevant columns attached.
@@ -600,7 +600,7 @@ class Moran_BV:  # noqa: N801
             documentation for the Moran_BV statistic.
 
         Returns
-        --------
+        -------
         If inplace, None, and operation is conducted on dataframe
         in memory. Otherwise, returns a copy of the dataframe with
         the relevant columns attached.
@@ -1071,7 +1071,7 @@ class Moran_Rate(Moran):  # noqa: N801
             documentation for the Moran_Rate statistic.
 
         Returns
-        --------
+        -------
         If inplace, None, and operation is conducted on dataframe
         in memory. Otherwise, returns a copy of the dataframe with
         the relevant columns attached.
@@ -1456,7 +1456,7 @@ class Moran_Local:  # noqa: N801
             documentation for the Moran_Local statistic.
 
         Returns
-        --------
+        -------
         If inplace, None, and operation is conducted on dataframe
         in memory. Otherwise, returns a copy of the dataframe with
         the relevant columns attached.
@@ -1894,7 +1894,7 @@ class Moran_Local_BV:  # noqa: N801
             documentation for the Moran_Local_BV statistic.
 
         Returns
-        --------
+        -------
         If inplace, None, and operation is conducted on dataframe
         in memory. Otherwise, returns a copy of the dataframe with
         the relevant columns attached.
@@ -2279,7 +2279,7 @@ class Moran_Local_Rate(Moran_Local):  #
             documentation for the Moran_Local_Rate statistic.
 
         Returns
-        --------
+        -------
         If inplace, None, and operation is conducted on dataframe
         in memory. Otherwise, returns a copy of the dataframe with
         the relevant columns attached.