Skip to content

Error running v0.1.10 #9366

@nickdrozd

Description

@nickdrozd

After installing v0.1.10 via pip:

python3.11 -m ruff --version
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/nick/.local/lib/python3.11/site-packages/ruff/__main__.py", line 32, in <module>
    ruff = os.fsdecode(find_ruff_bin())
                       ^^^^^^^^^^^^^^^
  File "/home/nick/.local/lib/python3.11/site-packages/ruff/__main__.py", line 25, in find_ruff_bin
    if path.is_file():
       ^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'is_file'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions