mirror of
https://github.com/astral-sh/ruff
synced 2026-01-10 08:04:26 -05:00
ruff/__main__.py: Remove unnecessary os.fsdecode (#18551)
This commit is contained in:
@@ -78,7 +78,7 @@ def find_ruff_bin() -> str:
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
ruff = os.fsdecode(find_ruff_bin())
|
||||
ruff = find_ruff_bin()
|
||||
if sys.platform == "win32":
|
||||
import subprocess
|
||||
|
||||
|
||||
Reference in New Issue
Block a user