Skip to content

Commit 5f4a055

Browse files
committed
typo
1 parent 11696f8 commit 5f4a055

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

detect_secrets/plugins/base.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,11 @@ class FooDetector(RegexBasedDetector):
104104

105105
@abstractproperty
106106
def secret_type(self):
107-
return NotImplementedError
107+
raise NotImplementedError
108108

109109
@abstractproperty
110110
def blacklist(self):
111-
return NotImplementedError
111+
raise NotImplementedError
112112

113113
def analyze_string(self, string, line_num, filename):
114114
output = {}

0 commit comments

Comments
 (0)