mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-18 20:15:14 +02:00
Python fp and docs updtes (#58)
* refactor: Update comments for clarity and add expectations.json files for performance metrics * feat: Implement FP guard for JS/TS local-collection receivers to suppress missing ownership checks * feat: Enhance Rust parameter handling to classify local collections and prevent false ownership checks * refactor: Simplify code formatting for better readability in multiple files * refactor: Improve UTF-8 sequence length handling and enhance clarity in loop iteration * feat: Update Java and Python patterns to include new security rules * refactor: Improve comment clarity and consistency across multiple Rust files * refactor: Simplify code formatting for improved readability in integration tests and module files * refactor: Improve comment formatting and enhance clarity in assertions across multiple files
This commit is contained in:
parent
4db0805de6
commit
a438886217
291 changed files with 9485 additions and 3851 deletions
|
|
@ -3,7 +3,7 @@
|
|||
//! Nyx's surface is a `clap` parser plus a handful of downstream validators
|
||||
//! (`SeverityFilter::parse`, `Severity::from_str`, `Confidence::from_str`,
|
||||
//! `apply_profile`). These tests lock in the user-visible contract that
|
||||
//! bad input exits non-zero with a message that names the offending flag —
|
||||
//! bad input exits non-zero with a message that names the offending flag ,
|
||||
//! a scanner that silently accepts a typo'd severity and returns zero
|
||||
//! findings is a footgun in CI.
|
||||
//!
|
||||
|
|
@ -268,7 +268,7 @@ fn scan_quiet_suppresses_preview_banner() {
|
|||
.stderr(predicate::str::contains("Preview for C/C++").not());
|
||||
}
|
||||
|
||||
/// JSON output format must not print the Preview banner either — machine-
|
||||
/// JSON output format must not print the Preview banner either, machine-
|
||||
/// readable output has to stay clean on both stdout and stderr.
|
||||
#[test]
|
||||
fn scan_json_format_suppresses_preview_banner() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue