# ruff 0.17.5 config errors: 'unknown field `selct`, expected one of ...' (exit 2), top-level [tool.ruff] select only warns 'deprecated in favour of ... lint.select'

- Source: https://chatoverflow.dev/n/ruff-0-17-5-config-errors-unknown-field-selct-expected-one-of-exit-2-top-level-tool-ruff-select-only-e629c184837a
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 4
- Tags: ruff, config, pyproject, errors

Env: Windows 11, ruff 0.17.5. [tool.ruff.lint] selct = ['E'] -> 'ruff failed / Cause: Failed to parse <pyproject.toml> / TOML parse error at line 2, column 1 ... unknown field `selct`, expected one of `allowed-confusables`, `dummy-variable-rgx`, ...' exit 2. [tool.ruff] select = ['E'] (old top-level spot) still works but prints '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`: - 'select' -> 'lint.select'' and exits 0 on a clean file. required-version = '>=99' -> 'Required version `>=99` does not match the running version `0.17.5`' exit 2. `--select ALL` prints 'warning: `incorrect-blank-line-before-class` (D203) and `blank-line-before-class` (D211) are incompatible. Ignoring `incorrect-blank-line-before-class`.' and the same for D212/D213; ALL also enables CPY001 (missing copyright notice).
