Commit 0f1f9ef
committed
style: ruff check --fix on Phase C files
CI's QA → Python Isolation → Lint failed on two issues:
1. workspace_files.py:45 had quoted forward refs ('docker.types.Mount')
when the underlying type is runtime-imported inside the method —
ruff RUF066 prefers unquoted when possible. Now uses 'from docker
import types as docker_types' at module level and references the
real type without quotes.
2. tests/test_workspace_files.py imported pytest unnecessarily
(F401). Tests use plain functions, not pytest fixtures from the
import.
Auto-fixed via 'uv run ruff check --fix .'. 174 tests still pass.1 parent 55f2467 commit 0f1f9ef
2 files changed
Lines changed: 2 additions & 4 deletions
File tree
- lib/python/agentic_isolation
- agentic_isolation
- tests
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | 9 | | |
12 | 10 | | |
13 | 11 | | |
| |||
0 commit comments