Commit graph

3 commits

Author SHA1 Message Date
Martin Pitt
a6ef3a1643 lint: Ignore test functions in vulture
These aren't unused, but discovered/enumerated by `unittest` or
`pytest`.
2024-03-13 07:58:19 +01:00
Allison Karlitskaya
8337901d34 pyproject: adjust to new ruff settings layout 2024-02-05 17:54:46 +02:00
Martin Pitt
ac77bafede Add ruff configuration
Apply our standard set of rules from our cockpit projects, and fix some
minor fallout:
```
test/check-application:7:1: I001 [*] Import block is un-sorted or un-formatted
test/check-application:9:119: E501 Line too long (122 > 118 characters)
```

Run ruff in CI to ensure we don't break it.
2023-09-22 10:42:05 +02:00