Skip to content

ERROR: I am having ruff check issue when runnning tox in WSL  #2649

Closed
@h4l0gen

Description

@h4l0gen

Description of issue or feature request:
I am having ruff check issue when runnning tox in WSL. It shows Linting error of shebang in executable file, see
$ tox -e fix

fix: install_deps> python3 -m pip install -e . -r /mnt/c/Users/ks391/OneDrive/Desktop/open_source/TUF_WEBSITE/simple_envelope/python-tuf/requirements/lint.txt
fix: commands[0]> ruff check --fix tuf examples tests verify_release
examples/manual_repo/basic_repo.py:1:1: EXE002 The file is executable but no shebang is present 

This issue is specific to WSL only, working fine in Linux/Ubuntu.

I know this is not required to put shebang in executable files, But if we can fix or document it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions