Native server raises an error "Ruff received invalid settings from the editor" when navigating into installed packages:
2025-04-23 11:17:15.804281841 WARN No settings available for file:///usr/local/lib/python3.12/site-packages/cv2/__init__.py - falling back to default settings
2025-04-23 11:17:15.804285127 ERROR Failed to load settings from `configuration`: error looking key 'workspaceFolder' up: environment variable not found
This loses the rules, and causes flickering and constant popups as it refreshes frequently.
ruff-lsp behaves much better with just a quiet warning.
[Warn - 11:20:42 AM] Skipping standard library file: /usr/local/lib/python3.12/site-packages/cv2/__init__.py
Originally posted by @brad-phobos in astral-sh/ruff#15991 (comment)
Native server raises an error "Ruff received invalid settings from the editor" when navigating into installed packages:
This loses the rules, and causes flickering and constant popups as it refreshes frequently.
ruff-lspbehaves much better with just a quiet warning.Originally posted by @brad-phobos in astral-sh/ruff#15991 (comment)