jayvdb / sre-tools

Consider decorating method with @staticmethod PYL-R0201
Performance
Major
1 occurrence in this check
Method doesn't use the class instance and could be converted into a static method
 9
10class TestAnalyseRegex(unittest.TestCase):
11
12    def _assert_valid(self, a):13        check_regex(a)
14
15    def _assert_invalid(self, a, msg):