File tree Expand file tree Collapse file tree 6 files changed +1
-53
lines changed Expand file tree Collapse file tree 6 files changed +1
-53
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ shell-logger
8
8
9
9
shell_logger
10
10
shell
11
- abstract_method
12
11
stats_collector
13
12
trace_collector
14
13
html_utilities
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ line-length = 79
68
68
extend-select = [
69
69
" A" ,
70
70
" AIR" ,
71
- # "ANN",
71
+ " ANN" ,
72
72
" ARG" ,
73
73
" ASYNC" ,
74
74
" B" ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 15
15
from time import sleep , time
16
16
from typing import TYPE_CHECKING
17
17
18
- from .abstract_method import AbstractMethod
19
-
20
18
if TYPE_CHECKING :
21
19
from multiprocessing .managers import SyncManager
22
20
@@ -117,11 +115,7 @@ def collect(self):
117
115
Instantaneously collect a statistic.
118
116
119
117
This is meant to be called repeatedly after some time interval.
120
-
121
- Raises:
122
- AbstractMethod: This must be overridden by subclasses.
123
118
"""
124
- raise AbstractMethod
125
119
126
120
@abstractmethod
127
121
def unproxied_stats (self ):
@@ -130,11 +124,7 @@ def unproxied_stats(self):
130
124
131
125
Convert from Python's Manager's data structures to base Python
132
126
data structures.
133
-
134
- Raises:
135
- AbstractMethod: This must be overridden by subclasses.
136
127
"""
137
- raise AbstractMethod
138
128
139
129
def finish (self ):
140
130
"""
Original file line number Diff line number Diff line change 11
11
from abc import abstractmethod
12
12
from pathlib import Path
13
13
14
- from .abstract_method import AbstractMethod
15
-
16
14
17
15
def trace_collector (** kwargs ) -> TraceCollector :
18
16
"""
@@ -87,11 +85,7 @@ def trace_args(self) -> str:
87
85
88
86
The trace command and the arguments you pass to it, but not the
89
87
command you're tracing. E.g., return `strace -f -c -e "open"`.
90
-
91
- Raises:
92
- AbstractMethod: This needs to be overridden by subclasses.
93
88
"""
94
- raise AbstractMethod
95
89
96
90
def command (self , command : str ):
97
91
"""
You can’t perform that action at this time.
0 commit comments