Skip to content

Commit e8bac09

Browse files
Disable pylint line-too-long for detectors doc
1 parent 82ec73d commit e8bac09

File tree

13 files changed

+29
-29
lines changed

13 files changed

+29
-29
lines changed

frouros/detectors/concept_drift/streaming/change_detection/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class BaseCUSUMConfig(BaseChangeDetectionConfig):
3232
:type lambda_: float
3333
:param min_num_instances: minimum numbers of instances to start looking for changes, defaults to 30
3434
:type min_num_instances: int
35-
""" # noqa: E501
35+
""" # noqa: E501 # pylint: disable=line-too-long
3636

3737
def __init__( # noqa: D107
3838
self,

frouros/detectors/concept_drift/streaming/change_detection/bocd.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ class BOCDConfig(BaseChangeDetectionConfig):
135135
.. [adams2007bayesian] Adams, Ryan Prescott, and David JC MacKay.
136136
"Bayesian online changepoint detection."
137137
arXiv preprint arXiv:0710.3742 (2007).
138-
""" # noqa: E501
138+
""" # noqa: E501 pylint: disable=line-too-long
139139

140140
model_type = GaussianUnknownMean
141141

@@ -211,7 +211,7 @@ class BOCD(BaseChangeDetection):
211211
... print(f"Change detected at step {i}")
212212
... break
213213
Change detected at step 1031
214-
""" # noqa: E501
214+
""" # noqa: E501 # pylint: disable=line-too-long
215215

216216
config_type = BOCDConfig # type: ignore
217217

frouros/detectors/concept_drift/streaming/change_detection/cusum.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class CUSUMConfig(BaseCUSUMConfig, DeltaConfig):
2727
.. [page1954continuous] Page, Ewan S.
2828
"Continuous inspection schemes."
2929
Biometrika 41.1/2 (1954): 100-115.
30-
""" # noqa: E501
30+
""" # noqa: E501 # pylint: disable=line-too-long
3131

3232
def __init__( # noqa: D107
3333
self,
@@ -70,7 +70,7 @@ class CUSUM(BaseCUSUM):
7070
... print(f"Change detected at step {i}")
7171
... break
7272
Change detected at step 1086
73-
""" # noqa: E501
73+
""" # noqa: E501 # pylint: disable=line-too-long
7474

7575
config_type = CUSUMConfig # type: ignore
7676

frouros/detectors/concept_drift/streaming/change_detection/geometric_moving_average.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class GeometricMovingAverageConfig(BaseCUSUMConfig, AlphaConfig):
2626
“Control Chart Tests Based on Geometric Moving Averages.”
2727
Technometrics, vol. 1, no. 3, 1959, pp. 239–50.
2828
JSTOR, https://doi.org/10.2307/1266443.
29-
""" # noqa: E501
29+
""" # noqa: E501 # pylint: disable=line-too-long
3030

3131
def __init__( # noqa: D107
3232
self,
@@ -55,7 +55,7 @@ class GeometricMovingAverage(BaseCUSUM):
5555
Technometrics, vol. 1, no. 3, 1959, pp. 239–50.
5656
JSTOR, https://doi.org/10.2307/1266443.
5757
58-
:Example:
58+
:Example:
5959
6060
>>> from frouros.detectors.concept_drift import GeometricMovingAverage, GeometricMovingAverageConfig
6161
>>> import numpy as np
@@ -70,7 +70,7 @@ class GeometricMovingAverage(BaseCUSUM):
7070
... print(f"Change detected at step {i}")
7171
... break
7272
Change detected at step 1071
73-
""" # noqa: E501
73+
""" # noqa: E501 # pylint: disable=line-too-long
7474

7575
config_type = GeometricMovingAverageConfig # type: ignore
7676

frouros/detectors/concept_drift/streaming/change_detection/page_hinkley.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class PageHinkleyConfig(BaseCUSUMConfig, DeltaConfig, AlphaConfig):
2828
.. [page1954continuous] Page, Ewan S.
2929
"Continuous inspection schemes."
3030
Biometrika 41.1/2 (1954): 100-115.
31-
""" # noqa: E501
31+
""" # noqa: E501 # pylint: disable=line-too-long
3232

3333
def __init__( # noqa: D107
3434
self,
@@ -58,7 +58,7 @@ class PageHinkley(BaseCUSUM):
5858
"Continuous inspection schemes."
5959
Biometrika 41.1/2 (1954): 100-115.
6060
61-
:Example:
61+
:Example:
6262
6363
>>> from frouros.detectors.concept_drift import PageHinkley
6464
>>> import numpy as np
@@ -73,7 +73,7 @@ class PageHinkley(BaseCUSUM):
7373
... print(f"Change detected at step {i}")
7474
... break
7575
Change detected at step 1094
76-
""" # noqa: E501
76+
""" # noqa: E501 # pylint: disable=line-too-long
7777

7878
config_type = PageHinkleyConfig # type: ignore
7979

frouros/detectors/concept_drift/streaming/statistical_process_control/ddm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class DDMConfig(BaseSPCConfig):
2727
Advances in Artificial Intelligence–SBIA 2004: 17th Brazilian Symposium on
2828
Artificial Intelligence, Sao Luis, Maranhao, Brazil, September 29-October 1,
2929
2004. Proceedings 17. Springer Berlin Heidelberg, 2004.
30-
""" # noqa: E501
30+
""" # noqa: E501 # pylint: disable=line-too-long
3131

3232
def __init__( # noqa: D107
3333
self,
@@ -81,7 +81,7 @@ class DDM(BaseSPCError):
8181
... warning_flag = True
8282
Warning detected at step 1049
8383
Change detected at step 1131
84-
""" # noqa: E501
84+
""" # noqa: E501 # pylint: disable=line-too-long
8585

8686
config_type = DDMConfig
8787

frouros/detectors/concept_drift/streaming/statistical_process_control/ecdd.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class ECDDWTConfig(BaseECDDConfig):
2929
.. [ross2012exponentially] Ross, Gordon J., et al.
3030
"Exponentially weighted moving average charts for detecting concept drift."
3131
Pattern recognition letters 33.2 (2012): 191-198.
32-
""" # noqa: E501
32+
""" # noqa: E501 # pylint: disable=line-too-long
3333

3434
def __init__( # noqa: D107
3535
self,
@@ -81,7 +81,7 @@ class ECDDWT(BaseSPC):
8181
... if not warning_flag and detector.warning:
8282
... print(f"Warning detected at step {i}")
8383
... warning_flag = True
84-
""" # noqa: E501
84+
""" # noqa: E501 # pylint: disable=line-too-long
8585

8686
config_type = ECDDWTConfig # type: ignore
8787

frouros/detectors/concept_drift/streaming/statistical_process_control/eddm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class EDDMConfig(BaseSPCConfig):
2929
.. [baena2006early] Baena-Garcıa, Manuel, et al. "Early drift detection method."
3030
Fourth international workshop on knowledge discovery from data streams.
3131
Vol. 6. 2006.
32-
""" # noqa: E501
32+
""" # noqa: E501 # pylint: disable=line-too-long
3333

3434
def __init__( # noqa: D107
3535
self,
@@ -167,7 +167,7 @@ class EDDM(BaseSPC):
167167
... warning_flag = True
168168
Warning detected at step 39
169169
Change detected at step 1294
170-
""" # noqa: E501
170+
""" # noqa: E501 # pylint: disable=line-too-long
171171

172172
config_type = EDDMConfig # type: ignore
173173

frouros/detectors/concept_drift/streaming/statistical_process_control/hddm.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class HDDMAConfig(BaseHDDMConfig):
131131
"Online and non-parametric drift detection methods based on Hoeffding’s bounds."
132132
IEEE Transactions on Knowledge and Data Engineering 27.3 (2014):
133133
810-823.
134-
""" # noqa: E501
134+
""" # noqa: E501 pylint: disable=line-too-long
135135

136136
def __init__( # noqa: D107
137137
self,
@@ -168,7 +168,7 @@ class HDDMWConfig(BaseHDDMConfig):
168168
"Online and non-parametric drift detection methods based on Hoeffding’s bounds."
169169
IEEE Transactions on Knowledge and Data Engineering 27.3 (2014):
170170
810-823.
171-
""" # noqa: E501
171+
""" # noqa: E501 # pylint: disable=line-too-long
172172

173173
def __init__( # noqa: D107
174174
self,
@@ -376,7 +376,7 @@ class HDDMA(BaseSPC):
376376
... warning_flag = True
377377
Warning detected at step 1043
378378
Change detected at step 1054
379-
""" # noqa: E501
379+
""" # noqa: E501 # pylint: disable=line-too-long
380380

381381
config_type = HDDMAConfig # type: ignore
382382

@@ -696,7 +696,7 @@ class HDDMW(BaseSPC):
696696
... warning_flag = True
697697
Warning detected at step 1017
698698
Change detected at step 1029
699-
""" # noqa: E501
699+
""" # noqa: E501 # pylint: disable=line-too-long
700700

701701
config_type = HDDMWConfig # type: ignore
702702

frouros/detectors/concept_drift/streaming/statistical_process_control/rddm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class RDDMConfig(BaseSPCConfig):
3232
.. [barros2017rddm] Barros, Roberto SM, et al.
3333
"RDDM: Reactive drift detection method."
3434
Expert Systems with Applications 90 (2017): 344-355.
35-
""" # noqa: E501
35+
""" # noqa: E501 # pylint: disable=line-too-long
3636

3737
def __init__( # noqa: D107
3838
self,
@@ -144,7 +144,7 @@ class RDDM(BaseSPCError):
144144
... warning_flag = True
145145
Warning detected at step 1036
146146
Change detected at step 1066
147-
""" # noqa: E501
147+
""" # noqa: E501 # pylint: disable=line-too-long
148148

149149
config_type = RDDMConfig # type: ignore
150150

0 commit comments

Comments
 (0)