Skip to content
Permalink
Browse files

Add 'pass' to fix IndentationError in detector.py

flake8 testing of https://github.com/MentatInnovations/datastream.io

$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./examples/detector.py:10:7: E999 IndentationError: expected an indented block
    def detect(self, x):
      ^
1     E999 IndentationError: expected an indented block
```
  • Loading branch information...
cclauss
cclauss committed Jan 31, 2018
1 parent 42d2733 commit 2cac0de4550ba421fa0b8baf09c65cac064b25e8
Showing with 1 addition and 0 deletions.
  1. +1 −0 examples/detector.py
@@ -6,6 +6,7 @@

class Greater_Than_Max_Rolling(BaseEstimator, AnomalyMixin):
def __init__(self, ):
pass

def detect(self, x):
score = self.score(x)

0 comments on commit 2cac0de

Please sign in to comment.
You can’t perform that action at this time.