Skip to content

Fix configuration warnings #658

Open
@MichaReiser

Description

@MichaReiser

VS code logs the following warnings in the Output - Extension Host panel:

2024-12-31 13:50:14.481 [warning] [charliermarsh.ruff] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'ruff.interpreter', provide the URI of a resource or 'null' for any resource.
2024-12-31 13:50:14.482 [warning] [charliermarsh.ruff] Accessing a window scoped configuration for a resource is not expected. To associate 'ruff.configuration' to a resource, define its scope to 'resource' in configuration contributions in 'package.json'.
2024-12-31 13:50:14.482 [warning] [charliermarsh.ruff] Accessing a window scoped configuration for a resource is not expected. To associate 'ruff.nativeServer' to a resource, define its scope to 'resource' in configuration contributions in 'package.json'.
2024-12-31 13:50:14.482 [warning] [charliermarsh.ruff] Accessing a window scoped configuration for a resource is not expected. To associate 'ruff.ignoreStandardLibrary' to a resource, define its scope to 'resource' in configuration contributions in 'package.json'.
2024-12-31 13:50:14.482 [warning] [charliermarsh.ruff] Accessing a window scoped configuration for a resource is not expected. To associate 'ruff.importStrategy' to a resource, define its scope to 'resource' in configuration contributions in 'package.json'.
2024-12-31 13:50:14.482 [warning] [charliermarsh.ruff] Accessing a window scoped configuration for a resource is not expected. To associate 'ruff.enable' to a resource, define its scope to 'resource' in configuration contributions in 'package.json'.
2024-12-31 13:50:14.482 [warning] [charliermarsh.ruff] Accessing a window scoped configuration for a resource is not expected. To associate 'ruff.organizeImports' to a resource, define its scope to 'resource' in configuration contributions in 'package.json'.
2024-12-31 13:50:14.482 [warning] [charliermarsh.ruff] Accessing a window scoped configuration for a resource is not expected. To associate 'ruff.fixAll' to a resource, define its scope to 'resource' in configuration contributions in 'package.json'.
2024-12-31 13:50:14.482 [warning] [charliermarsh.ruff] Accessing a window scoped configuration for a resource is not expected. To associate 'ruff.showNotifications' to a resource, define its scope to 'resource' in configuration contributions in 'package.json'.
2024-12-31 13:50:14.482 [warning] [charliermarsh.ruff] Accessing a window scoped configuration for a resource is not expected. To associate 'ruff.showSyntaxErrors' to a resource, define its scope to 'resource' in configuration contributions in 'package.json'.
2024-12-31 13:50:14.483 [warning] [charliermarsh.ruff] Accessing a window scoped configuration for a resource is not expected. To associate 'ruff.configuration' to a resource, define its scope to 'resource' in configuration contributions in 'package.json'.
2024-12-31 13:50:14.483 [warning] [charliermarsh.ruff] Accessing a window scoped configuration for a resource is not expected. To associate 'ruff.nativeServer' to a resource, define its scope to 'resource' in configuration contributions in 'package.json'.
2024-12-31 13:50:14.483 [warning] [charliermarsh.ruff] Accessing a window scoped configuration for a resource is not expected. To associate 'ruff.ignoreStandardLibrary' to a resource, define its scope to 'resource' in configuration contributions in 'package.json'.
2024-12-31 13:50:14.483 [warning] [charliermarsh.ruff] Accessing a window scoped configuration for a resource is not expected. To associate 'ruff.importStrategy' to a resource, define its scope to 'resource' in configuration contributions in 'package.json'.
2024-12-31 13:50:14.483 [warning] [charliermarsh.ruff] Accessing a window scoped configuration for a resource is not expected. To associate 'ruff.enable' to a resource, define its scope to 'resource' in configuration contributions in 'package.json'.
2024-12-31 13:50:14.483 [warning] [charliermarsh.ruff] Accessing a window scoped configuration for a resource is not expected. To associate 'ruff.organizeImports' to a resource, define its scope to 'resource' in configuration contributions in 'package.json'.
2024-12-31 13:50:14.483 [warning] [charliermarsh.ruff] Accessing a window scoped configuration for a resource is not expected. To associate 'ruff.fixAll' to a resource, define its scope to 'resource' in configuration contributions in 'package.json'.
2024-12-31 13:50:14.483 [warning] [charliermarsh.ruff] Accessing a window scoped configuration for a resource is not expected. To associate 'ruff.showNotifications' to a resource, define its scope to 'resource' in configuration contributions in 'package.json'.
2024-12-31 13:50:14.483 [warning] [charliermarsh.ruff] Accessing a window scoped configuration for a resource is not expected. To associate 'ruff.showSyntaxErrors' to a resource, define its scope to 'resource' in configuration contributions in 'package.json'.

We should fix those.

Metadata

Metadata

Assignees

No one assigned

    Labels

    internalAn internal refactor or improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions