Commit 38a7995
committed
refactor: drop three orphaned private symbols
Dead code surfaced by an unused-symbol sweep across `packages/`:
- `_BRANCHES` (repl/_indent.py): a frozenset that was only there
to document which Robot keywords (`ELSE`, `ELSE IF`, `EXCEPT`,
`FINALLY`) the indent counter ignores. Replaced with a short
inline comment — same self-documenting effect, no orphan symbol.
- `_split_comma` (analyze/code/cli.py): a click callback added
alongside the `--xm` / `--xe` exit-code-mask options, then
superseded by `_parse_exit_code_mask` and never wired up.
- `_cancel_all_running_tasks` (core/concurrent.py): originally
the public `cancel_running_callables`; the FutureEx → Task
rename privatised it but no caller followed.1 parent a7ef8bc commit 38a7995
3 files changed
Lines changed: 4 additions & 28 deletions
File tree
- packages
- analyze/src/robotcode/analyze/code
- core/src/robotcode/core
- repl/src/robotcode/repl
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | 141 | | |
151 | 142 | | |
152 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
255 | 254 | | |
256 | 255 | | |
257 | 256 | | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
38 | 36 | | |
39 | 37 | | |
40 | 38 | | |
| |||
0 commit comments