From 652d125d3dc607812cac2df3eceefb9901068320 Mon Sep 17 00:00:00 2001 From: InSync Date: Thu, 21 Nov 2024 17:47:39 +0700 Subject: [PATCH] Extraneous closing parenthesis --- crates/ruff_linter/src/rules/flake8_use_pathlib/violations.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ruff_linter/src/rules/flake8_use_pathlib/violations.rs b/crates/ruff_linter/src/rules/flake8_use_pathlib/violations.rs index 23a83c925f4cac..c6f4499f514044 100644 --- a/crates/ruff_linter/src/rules/flake8_use_pathlib/violations.rs +++ b/crates/ruff_linter/src/rules/flake8_use_pathlib/violations.rs @@ -1116,7 +1116,7 @@ impl Violation for PyPath { /// /// ```python /// p = "." -/// for d in os.listdir(p)): +/// for d in os.listdir(p): /// ... /// ``` ///