We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6413e6 commit 51ab7a2Copy full SHA for 51ab7a2
slither/printers/summary/entry_points.py
@@ -33,9 +33,11 @@ def output(self, _filename) -> Output:
33
and not c.is_abstract
34
and "lib/" not in c.source_mapping.filename.absolute
35
and "node_modules/" not in c.source_mapping.filename.absolute
36
- and not any(
37
- mock in c.source_mapping.filename.absolute.lower() for mock in ["mock", "mocks"]
38
- )
+ and "test/" not in c.source_mapping.filename.absolute
+ and "tests/" not in c.source_mapping.filename.absolute
+ and "mock/" not in c.source_mapping.filename.absolute
39
+ and "mocks/" not in c.source_mapping.filename.absolute
40
+ and "scripts/" not in c.source_mapping.filename.absolute
41
),
42
key=lambda x: x.name,
43
):
0 commit comments