mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-19 05:34:22 +01:00
Record that extracting an embedded program pulls it into the lint gate
install_plagiarism_tools.sh is mostly two heredocs emitting Python programs. Extracting them clears the cap for all three files and is what the shell rules want, but the extracted files then face ruff ALL, pylint and mypy - and arrived with 22 violations in code that gets installed. That is a Python cleanup task, not a line-count split. Reverted. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011w2Pj4Ek3ZNMQVYcFHgXDY
This commit is contained in:
parent
76771e2495
commit
43c502c940
@ -164,6 +164,18 @@ file, and the entry itself still linted clean with `-x`.
|
||||
still heredoc-unaware, so check for `<<` in the region you are moving before
|
||||
choosing a boundary.
|
||||
|
||||
### Extracting an embedded program pulls it into the Python gate
|
||||
|
||||
`install_plagiarism_tools.sh` (534) is mostly two heredocs emitting a 224-line
|
||||
and a 90-line Python program. Extracting them to real files under
|
||||
`plagiarism/` gets all three under the cap in one move and is what the shell
|
||||
rules ask for — but those files then face `ruff select = ["ALL"]`, `pylint`
|
||||
and `mypy`, and they arrived with **22 violations**. Fixing those means
|
||||
rewriting a plagiarism checker, and it changes code that gets _installed_.
|
||||
|
||||
So: extracting an embedded program is the right shape, but budget it as a
|
||||
**Python cleanup task, not a line-count split**. Reverted for now.
|
||||
|
||||
### When to give up on a seam
|
||||
|
||||
`clean_audio.sh` was reverted. Two probe-result globals were read by functions
|
||||
|
||||
Loading…
Reference in New Issue
Block a user