Skip to content

Extension is showing warnings about configuration issues in pyproject.toml files in a .venv #478

@LaurensBosscher

Description

@LaurensBosscher

Hi,

I've enabled the new Ruff LSP and I saw the following output in the logs:

2024-05-23 14:08:07.128 [info] warning: The top-level linter settings are deprecated in favour of their counterparts in the lint section. Please update the following options in /home/laurens/develop/savex/connectors/Bloomberg/.venv/lib/python3.12/site-packages/pandas/pyproject.toml:

  • 'ignore' -> 'lint.ignore'
  • 'select' -> 'lint.select'
  • 'typing-modules' -> 'lint.typing-modules'
  • 'unfixable' -> 'lint.unfixable'
  • 'per-file-ignores' -> 'lint.per-file-ignores'
    warning: The top-level linter settings are deprecated in favour of their counterparts in the lint section. Please update the following options in /home/laurens/develop/savex/connectors/InteractiveBrokers/.venv/lib/python3.12/site-packages/pandas/pyproject.toml:
  • 'ignore' -> 'lint.ignore'
  • 'select' -> 'lint.select'
  • 'typing-modules' -> 'lint.typing-modules'
  • 'unfixable' -> 'lint.unfixable'
  • 'per-file-ignores' -> 'lint.per-file-ignores'

A quick look at the pandas repo does show that they should indeed update their pyproject.toml however as a user this information is not actionable or relevant.

Since we're using a mono-repo with a number of installation of pandas this does create a bit of noise but is otherwise not an issue.

To reproduce:

  1. Install pandas
  2. Enable the new Ruff LSP
  3. Check the Output panel for Ruff.

Metadata

Metadata

Assignees

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