You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Codacy
- Rewrite the script_vars placeholder regex to drop the nested
alternation that triggered semgrep regex_dos.
- Suppress Bandit B105 / Prospector dodgy on _SECRET_PREFIX
('secrets.' is a routing prefix, not a credential).
- Restore BaseHTTPRequestHandler.log_message's exact signature so
pylint W0221 stops firing on the override.
SonarCloud
- Pin TLSv1.2 minimum on the IMAP client (S4423).
- Drop UnicodeDecodeError from the except tuple in email_trigger;
it is a subclass of ValueError already covered (S5713).
- Lift the nested ternary in EmailTriggerWatcher.add into an
explicit if/elif/else (S3358).
- Type _REMOTE_DESKTOP_IMPORT_ERROR as Optional[ImportError] (S5890).
- Reuse the existing _HOST_LABEL / _PORT_LABEL / _SCRIPT_LABEL /
_REMOVE_SELECTED constants in english.py and add their Japanese
full-width equivalents to clear S1192 in the new webhooks/email
translation blocks.
- Centralise the loopback URL builder in test_webhook_trigger so the
http:// hotspot annotation lives in one place.
- Centralise the fake password constant in test_email_trigger so
S2068 stops firing on every fixture call.
Dependencies
- Declare cryptography>=42.0.0 in pyproject.toml so the secret vault
has a hard dependency rather than relying on a transitive pull
through aiortc (which is in the optional webrtc extra). Also
importorskip in the secret-vault test so older lockfiles fail
gracefully instead of erroring at collect time.
0 commit comments