Commit 3765e40
fix: resolve all flake8 lint errors across vultron/ and test/
P1 (runtime crash) fixes:
- extractor.py: move VultronEvent/EVENT_CLASS_MAP/VultronTypes imports
to module level; remove forward-reference string annotation
- helpers.py: remove spurious f-prefix from non-interpolating f-string
- robot.py: add missing _parse_args() function
- mcp_server.py: fix 9 use-case call signatures (SvcXxx(dl, req).execute())
P3/P4 (unused imports) fixes:
- Remove unused imports across 14 test files, 12 demo scripts, 5 vocab
example files, and various adapter/use-case modules
- Restore BASE_URL in demo modules with # noqa: F401 (needed for test
monkeypatching via mp.setattr)
- Fix F811 (logging redefinition) in test_embargo_use_cases.py
- Fix F841 (assigned-but-unused vars) in test_cli.py, test_create_tree.py,
test_create_activity.py, and triggers/embargo.py
E402 (imports not at top) fixes:
- test_trigger_services.py: move FUTURE_DATETIME constant after all imports
- test_performance.py: move logger = ... after all imports; remove unused
DataLayer import
E203 (.flake8):
- Add E203 to extend-ignore (Black-style slice whitespace)
All # noqa placement fixed to appear on the opening 'from X import (' line,
not on the closing ')' line (where flake8 ignores them).
Result: flake8 clean, 985 tests pass, Black unchanged.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 8f00b01 commit 3765e40
File tree
49 files changed
+70
-111
lines changed- test
- api/v2/backend
- core
- behaviors
- case
- report
- use_cases
- demo
- wire/as2
- vocab
- vultron
- adapters
- driven
- driving
- fastapi
- routers
- bt/base/demo
- core
- behaviors
- use_cases/triggers
- demo
- wire/as2
- vocab
- base/objects/activities
- examples
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
49 files changed
+70
-111
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 29 | | |
33 | 30 | | |
34 | 31 | | |
| |||
56 | 53 | | |
57 | 54 | | |
58 | 55 | | |
| 56 | + | |
| 57 | + | |
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | 134 | | |
142 | 135 | | |
143 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | 27 | | |
30 | 28 | | |
31 | 29 | | |
32 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 41 | + | |
| 42 | + | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
0 commit comments