Teknium
b76c3facdf
fix(code-health): profile regex rules match executable code, not prose
...
F21 (andrexibiza): PS-P05/PS-P06 ran their regexes over raw source lines, so a
comment such as `# Avoid env = os.environ.copy(); use the scoped builder.`, the same
sentence in a docstring, or a comment warning against `os.getenv("DISCORD_TOKEN")`
produced a blocking hit although nothing builds an env or reads a credential.
Before the regexes run, comment tokens (tokenize) and string statements (ast:
docstrings and bare string examples) are blanked in place, preserving every line
number and line break. Ordinary string literals inside code are kept, so the
env-key argument of `os.getenv("DISCORD_TOKEN")` still matches; the real
`env = os.environ.copy()` / `dict(os.environ)` / platform getenv stay flagged. If
tokenizing fails, the raw lines are used (more hits, never fewer).
2026-10-04 21:29:39 -07:00
..
2026-10-04 13:23:25 -05:00
2026-10-02 19:55:57 -04:00
2026-09-16 23:45:47 -04:00
2026-09-27 23:53:40 -07:00
2026-09-21 22:02:46 -04:00
2026-09-18 23:27:05 -04:00
2026-09-14 19:26:04 -04:00
2026-09-18 20:13:26 -04:00
2026-09-18 20:13:26 -04:00
2026-09-23 16:07:47 -04:00
2026-09-21 22:39:16 -04:00
2026-09-23 07:02:44 -04:00
2026-09-18 22:04:43 -07:00
2026-10-04 21:29:39 -07:00
2026-10-04 21:29:39 -07:00
2026-10-04 21:29:39 -07:00
2026-10-04 21:29:39 -07:00
2026-09-21 22:02:46 -04:00
2026-09-24 16:17:35 -04:00
2026-09-24 14:08:22 -04:00
2026-09-24 14:08:22 -04:00
2026-09-29 12:29:47 -04:00
2026-09-24 01:30:15 -04:00
2026-09-23 16:55:09 -04:00
2026-09-30 09:19:35 -04:00
2026-09-24 11:50:30 -04:00
2026-09-23 03:15:26 -07:00
2026-09-28 14:16:18 -07:00
2026-10-02 12:51:02 -04:00
2026-10-02 12:51:02 -04:00
2026-09-21 06:03:05 -04:00
2026-09-24 23:49:18 -04:00
2026-09-23 18:01:43 -04:00
2026-09-23 17:51:29 -04:00
2026-09-23 11:41:01 -04:00
2026-09-24 13:31:33 -04:00
2026-09-24 23:40:03 -04:00
2026-09-20 11:47:06 -04:00
2026-09-20 11:47:06 -04:00
2026-09-18 20:02:36 -04:00
2026-09-24 11:50:30 -04:00
2026-09-24 02:03:59 -04:00
2026-09-24 09:20:50 -04:00
2026-09-22 02:19:38 -04:00
2026-09-23 19:56:46 -04:00
2026-09-30 09:19:35 -04:00
2026-10-01 01:30:24 +05:30
2026-09-21 22:02:46 -04:00
2026-09-24 02:03:59 -04:00
2026-10-02 13:43:18 -04:00
2026-09-23 10:51:01 -04:00
2026-09-22 02:19:38 -04:00
2026-09-24 14:08:22 -04:00
2026-09-24 13:31:33 -04:00
2026-09-23 17:14:46 -04:00
2026-09-22 02:19:38 -04:00
2026-09-29 14:55:15 -04:00
2026-09-23 14:11:21 -04:00
2026-09-23 09:58:33 -04:00
2026-10-02 18:15:08 -04:00
2026-09-23 07:02:44 -04:00
2026-09-15 03:47:55 -07:00
2026-10-01 23:49:20 -07:00
2026-09-21 14:03:12 -04:00
2026-09-23 18:13:38 -04:00
2026-09-23 03:15:26 -07:00
2026-09-24 16:17:35 -04:00
2026-09-24 10:42:43 -04:00
2026-09-24 08:20:14 -04:00
2026-09-29 14:55:15 -04:00
2026-09-29 14:55:15 -04:00
2026-09-23 09:58:33 -04:00
2026-09-22 00:09:09 -04:00
2026-09-18 20:13:26 -04:00
2026-09-23 11:41:01 -04:00
2026-09-21 22:02:46 -04:00
2026-09-18 20:13:26 -04:00
2026-09-20 12:40:38 -04:00
2026-09-18 20:13:26 -04:00
2026-09-18 20:13:26 -04:00
2026-09-21 18:37:21 -04:00
2026-09-18 20:13:26 -04:00
2026-09-23 13:17:49 -04:00
2026-10-01 10:46:45 -07:00
2026-09-23 16:05:55 -04:00
2026-09-18 02:57:38 -04:00
2026-09-23 11:41:01 -04:00
2026-09-23 15:44:18 -04:00