Skip to content

Commit eac794e

Browse files
authored
Cleanup; fixes #947. (#948)
* Cleanup; fixes #947. * Mypy cleaning. * Linter cleanup * Fixed tests.
1 parent 30df5e6 commit eac794e

12 files changed

+322
-331
lines changed

scalene/__main__.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
import sys
22
import traceback
33

4-
from scalene import scalene_profiler
5-
6-
7-
def should_trace(s: str) -> bool:
8-
if scalene_profiler.Scalene.is_done():
9-
return False
10-
return scalene_profiler.Scalene.should_trace(s)
11-
124

135
def main() -> None:
146
try:

0 commit comments

Comments
 (0)