Skip to content

How to disable check for ruff in the virtual envs site-packages? #5509

Closed Answered by charliermarsh
jiaulislam asked this question in Q&A
Discussion options

You must be logged in to vote

Can you add .pyenv as an exclusion?

exclude = [
    ".bzr",
    ".direnv",
    ".eggs",
    ".git",
    ".git-rewrite",
    ".hg",
    ".mypy_cache",
    ".nox",
    ".pants.d",
    ".pytype",
    ".ruff_cache",
    ".svn",
    ".tox",
    ".venv",
    "__pypackages__",
    "_build",
    "buck-out",
    "build",
    "dist",
    "node_modules",
    "venv",
    "./epay/tests",
    ".pyenv"
]

We can also add it to our defaults.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@jiaulislam
Comment options

@charliermarsh
Comment options

@jiaulislam
Comment options

@jiaulislam
Comment options

Answer selected by jiaulislam
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants