From 5f09402df98b38991b6eb3f89d79c49c9a1837e8 Mon Sep 17 00:00:00 2001 From: LinZhihao-723 Date: Tue, 5 Aug 2025 15:27:13 -0400 Subject: [PATCH 1/2] gggg --- ruff.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ruff.toml b/ruff.toml index 6cdab7927..ad4367b6c 100644 --- a/ruff.toml +++ b/ruff.toml @@ -11,7 +11,6 @@ ignore = [ "D400", # First line of docstrings may not end in period "D401", # Docstrings should be written in present tense (not imperative) "D415", # First line of docstrings may not end in a period, question mark, or exclamation point - "FA102", # Allow use of PEP 604 union in type annotations "FBT", # Allow bool positional parameters since other value positions are allowed "FIX002", # Allow todo statements "PERF401", # Allow for loops when creating lists @@ -27,7 +26,7 @@ isort.order-by-type = false [lint.per-file-ignores] "tests/integration/test_*.py" = [ "S101", # Allow use of `assert` (security warning) - "S603", # Allow user of subprocess.Popen (security warning) + "S603", # Allow use of subprocess.Popen (security warning) "T201", # Allow use of `print` (testing) ] From d3096520e850e22a15beea8910c8a91834927c7b Mon Sep 17 00:00:00 2001 From: LinZhihao-723 Date: Tue, 5 Aug 2025 15:30:26 -0400 Subject: [PATCH 2/2] hmmm --- ruff.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ruff.toml b/ruff.toml index ad4367b6c..3bde2f52d 100644 --- a/ruff.toml +++ b/ruff.toml @@ -11,6 +11,7 @@ ignore = [ "D400", # First line of docstrings may not end in period "D401", # Docstrings should be written in present tense (not imperative) "D415", # First line of docstrings may not end in a period, question mark, or exclamation point + "FA102", # Allow use of PEP 604 union in type annotations "FBT", # Allow bool positional parameters since other value positions are allowed "FIX002", # Allow todo statements "PERF401", # Allow for loops when creating lists @@ -26,7 +27,7 @@ isort.order-by-type = false [lint.per-file-ignores] "tests/integration/test_*.py" = [ "S101", # Allow use of `assert` (security warning) - "S603", # Allow use of subprocess.Popen (security warning) + "S603", # Allow use of `subprocess.Popen` (security warning) "T201", # Allow use of `print` (testing) ]