ruff/crates/ruff_cli/tests
konsti a268648c58
Add paths to toml parse errors (#9358)
**Summary** Previously, the information which toml file failed to parse
was missing in errors.

**Before**
```console
$ ruff check /home/konsti/projects/datasett
ruff failed
  Cause: TOML parse error at line 12, column 8
   |
12 | python "=3.9.2"
   |        ^
expected `.`, `=`
```

**After**
```console
$ ruff check /home/konsti/projects/datasett
ruff failed
  Cause: Failed to parse /home/konsti/projects/datasett/datasett-0.0.1.tar.gz/datasett-0.0.1/pyproject.toml
  Cause: TOML parse error at line 12, column 8
   |
12 | python "=3.9.2"
   |        ^
expected `.`, `=`
```

I avoided pulling in `fs_err` just for this case.
2024-01-02 11:56:51 -05:00
..
snapshots Add cell field to JSON output format (#7664) 2023-10-13 01:06:02 +00:00
format.rs Add paths to toml parse errors (#9358) 2024-01-02 11:56:51 -05:00
integration_test.rs Add paths to toml parse errors (#9358) 2024-01-02 11:56:51 -05:00
lint.rs Stop at the first resolved parent configuration (#8864) 2023-11-29 04:21:07 +00:00
resolve_files.rs Update ruff check and ruff format to default to the current directory (#8791) 2023-11-21 11:34:21 -06:00