You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix this deprecation warning when running ruff on the repository
directly:
```
warning: The top-level linter settings are deprecated in favour of their counterparts in the `lint` section. Please update the following options in `pyproject.toml`:
- 'ignore' -> 'lint.ignore'
- 'select' -> 'lint.select'
- 'unfixable' -> 'lint.unfixable'
- 'isort' -> 'lint.isort'
```
Note that you don't see the deprecation warnings if you run ruff via
pre-commit (only if you run ruff directly, e.g. via ruff .), since
pre-commit [swallows all output from a tool if the tool exits with code
0](https://stackoverflow.com/questions/72895720/pre-commit-hook-does-not-echo-on-terminal/72898524#72898524).
0 commit comments