mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-07 21:25:24 +00:00
ruff/__main__.py
: Remove unnecessary os.fsdecode
(#18551)
This commit is contained in:
parent
aa3c312f5f
commit
b01c95d460
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue