linux-automation / usbsdmux

USB-SD-Mux Project - Driver and Documentation
GNU Lesser General Public License v2.1
66 stars 19 forks source link

usbsdmux: add ruff "UP" rules to config and fix issues automatically #79

Closed hnez closed 6 months ago

hnez commented 6 months ago

This commit is the result of adding the "UP" set of rules to the ruff linter config and running make qa-ruff-fix (a.k.a. ruff check --fix).

This change was inspired by a comment from @jluebbe about the (superfluous) use of class …(object): in bb17e2eb706b717c644810a44aeabffa8cdb8730 (merged in #75).