From bae668ed9cbbba9fc1ab84a8d6060d7c10dcdae7 Mon Sep 17 00:00:00 2001 From: Adrien Vannson Date: Tue, 14 Jan 2025 16:29:42 +0100 Subject: [PATCH] Remove empty type checking blocks --- src/betterproto2_compiler/plugin/compiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/betterproto2_compiler/plugin/compiler.py b/src/betterproto2_compiler/plugin/compiler.py index fa75c4ee..90e2ac8b 100644 --- a/src/betterproto2_compiler/plugin/compiler.py +++ b/src/betterproto2_compiler/plugin/compiler.py @@ -42,7 +42,7 @@ def outputfile_compiler(output_file: OutputTemplate) -> str: # Sort imports, delete unused ones code = subprocess.check_output( - ["ruff", "check", "--select", "I,F401", "--fix", "--silent", "-"], + ["ruff", "check", "--select", "I,F401,TCH005", "--fix", "--silent", "-"], input=code, encoding="utf-8", )