Skip to content

Commit b01c95d

Browse files
authored
ruff/__main__.py: Remove unnecessary os.fsdecode (astral-sh#18551)
1 parent aa3c312 commit b01c95d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/ruff/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def get_last_three_path_parts(path: str) -> list[str]:
7878

7979

8080
if __name__ == "__main__":
81-
ruff = os.fsdecode(find_ruff_bin())
81+
ruff = find_ruff_bin()
8282
if sys.platform == "win32":
8383
import subprocess
8484

0 commit comments

Comments
 (0)