ImperialCollegeLondon / FINESSE

A graphical user interface for controlling and monitoring an interferometer device
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Persistent warning for ruff pre-commit hook #558

Closed alexdewar closed 7 months ago

alexdewar commented 7 months ago

The ruff pre-commit hook is complaining that pyproject.toml needs to be updated:

ruff.....................................................................Failed
- hook id: ruff
- files were modified by this hook

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'
  - 'pydocstyle' -> 'lint.pydocstyle'
Found 1 error (1 fixed, 0 remaining).

It seems to actually make the pre-commit hook fail on purpose the first time you try to commit in order to pester you about this, so we should probably fix it.