-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path.vulture_whitelist.py
More file actions
70 lines (59 loc) · 1.29 KB
/
.vulture_whitelist.py
File metadata and controls
70 lines (59 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Vulture whitelist for false positives
# Usage: vulture fusion/ .vulture_whitelist.py
# Common method names that appear unused but are called dynamically
# These are string patterns that vulture recognizes
# Django-style patterns
setUp = True
tearDown = True
# Common simulation framework methods
run = True
execute = True
start = True
stop = True
init = True
setup = True
cleanup = True
process = True
handle = True
update = True
step = True
# Common class attributes
name = True
id = True
type = True
value = True
config = True
logger = True
version = True
# CLI and entry points
main = True
cli = True
command = True
args = True
parser = True
# Event handlers
on_event = True
handle_event = True
callback_event = True
# Property names
property = True
# Mock fixtures - pytest fixtures used by @patch decorators
mock_validate = True
mock_process_req = True
mock_process_opt = True
mock_cwd = True
mock_extract = True
mock_save_input = True
# Abstract method parameters - required for interface documentation
deterministic = True
total_timesteps = True
next_observation = True
next_state = True
timestep = True
# Protocol parameters - required by Python protocols
exc_type = True
exc_val = True
exc_tb = True
# Tuple unpacking in tests - variables that are unpacked but not all used
high = True
kw = True