ruff/crates
Dhruv Manilawala 0c98b5949c
Show full error context in server messages (#13029)
## Summary

Reference:
https://docs.rs/anyhow/latest/anyhow/struct.Error.html#display-representations

Closes: #13022 

## Test Plan

```
2024-08-21 15:21:24.831 [info] [Trace - 3:21:24 PM]    0.017255167s ERROR ThreadId(04) ruff_server::session::index::ruff_settings: Failed to parse /Users/dhruv/playground/ruff/pyproject.toml: TOML parse error at line 1, column 1
  |
1 | [tool.ruff.lint]
  | ^^^^^^^^^^^^^^^^
Unknown rule selector: `ME102`
```

Or,
```
2024-08-21 15:23:47.993 [info] [Trace - 3:23:47 PM]  143.179857375s ERROR ThreadId(66) ruff_server::session::index::ruff_settings: Failed to parse /Users/dhruv/playground/ruff/pyproject.toml: TOML parse error at line 2, column 42
  |
2 | select = ["ALL", "TD006", "TD007", "FIX"
  |                                          ^
invalid array
expected `]`
```
2024-08-21 15:36:16 +05:30
..
red_knot Remove linter dependency from red_knot_server (#13028) 2024-08-21 10:02:42 +00:00
red_knot_python_semantic [red-knot] Improve various tracing logs (#13015) 2024-08-20 18:34:51 +00:00
red_knot_server Remove linter dependency from red_knot_server (#13028) 2024-08-21 10:02:42 +00:00
red_knot_wasm Add API to emit type-checking diagnostics (#12988) 2024-08-20 07:22:30 +00:00
red_knot_workspace Upgrade to Salsa with tables (#13016) 2024-08-21 06:58:53 +00:00
ruff Ignore unused arguments on stub functions (#12966) 2024-08-18 19:21:33 -04:00
ruff_benchmark Use the system allocator for codspeed benchmarks (#13005) 2024-08-21 08:46:51 +02:00
ruff_cache Fix cache key collisions for paths with separators (#12159) 2024-07-03 07:36:46 -05:00
ruff_db Upgrade to Salsa with tables (#13016) 2024-08-21 06:58:53 +00:00
ruff_dev Drop deprecated nursery rule group (#10172) 2024-06-27 13:44:11 +02:00
ruff_diagnostics [Minor typo] Fix article in "an fix" (#12797) 2024-08-10 21:22:00 -04:00
ruff_formatter Upgrade to Rust 1.80 (#12586) 2024-07-30 19:18:08 +00:00
ruff_index [red-knot] small efficiency improvements and bugfixes to use-def map building (#12373) 2024-07-18 09:24:58 -07:00
ruff_linter Update example for PT001 as per the new default behavior (#13019) 2024-08-21 09:34:18 +05:30
ruff_macros Drop deprecated nursery rule group (#10172) 2024-06-27 13:44:11 +02:00
ruff_notebook Fallback to kernelspec to check if it's a Python notebook (#12875) 2024-08-14 12:36:09 +05:30
ruff_python_ast Implement iter(), len() and is_empty() for all display-literal AST nodes (#12807) 2024-08-12 10:39:28 +00:00
ruff_python_ast_integration_tests Rename PreorderVisitor to SourceOrderVisitor (#11798) 2024-06-07 17:01:58 +00:00
ruff_python_codegen Implement iter(), len() and is_empty() for all display-literal AST nodes (#12807) 2024-08-12 10:39:28 +00:00
ruff_python_formatter Implement iter(), len() and is_empty() for all display-literal AST nodes (#12807) 2024-08-12 10:39:28 +00:00
ruff_python_index Enable token-based rules on source with syntax errors (#11950) 2024-07-02 08:57:46 +00:00
ruff_python_literal Remove some unused pub functions (#11576) 2024-05-28 09:56:51 -04:00
ruff_python_parser Upgrade to Rust 1.80 (#12586) 2024-07-30 19:18:08 +00:00
ruff_python_resolver
ruff_python_semantic Select stable import name when multiple possible bindings are in scope (#12888) 2024-08-16 20:16:57 +02:00
ruff_python_stdlib Add a new script to generate builtin module names (#12696) 2024-08-05 21:33:36 +01:00
ruff_python_trivia Stabilize fixes for RET50{5-8} (#12840) 2024-08-14 18:15:45 +02:00
ruff_python_trivia_integration_tests Build CommentRanges outside the parser (#11792) 2024-06-09 09:55:17 +00:00
ruff_server Show full error context in server messages (#13029) 2024-08-21 15:36:16 +05:30
ruff_source_file Add API to emit type-checking diagnostics (#12988) 2024-08-20 07:22:30 +00:00
ruff_text_size Upgrade to Rust 1.79 (#11875) 2024-06-17 07:15:10 +01:00
ruff_wasm Bump version to 0.6.1 (#12937) 2024-08-16 17:48:06 +01:00
ruff_workspace Quote default values consistently (#12981) 2024-08-19 08:02:55 +00:00