Skip to content

Support for Jupyter Notebooks #256

Closed
astral-sh/ruff-lsp
#264
@advait404

Description

Hi, currently the extension does not perform linting for jupyter notebooks. I have tried adding "include = [".py", ".pyi", "**/pyproject.toml", "*.ipynb"]" into the pyproject.toml but it still fails to work.

  • running on windows 10
  • latest extension version
  • VScodium version 1.79.2

setting.json

  "ruff.args": [
    "--config=D:/Portable Apps/VSCodium/data/pyproject.toml",
  ],

pyproject.toml

[tool.ruff]
select = ["ALL"]
ignore = ["ERA001","E501"]
include = ["*.py", "*.pyi", "**/pyproject.toml", "*.ipynb"]

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions