Anki/rslib/proto
Abdo f94d05bcbe
Switch to Ruff (#4119)
* Add check:ruff build action

* Add fix:ruff action

* Add Ruff config

Mostly generated by Cursor

* Handle rest of lints

* Fix formatting

* Replace black and isort with ruff-format

* Run ruff-format

* Fix lint errors

* Remove pylint disables

* Remove .pylintrc

* Update docs

* Fix check:format not just checking

* Fix isort rule being ignored

* Sort imports

* Ensure ./ninja format also handles import sorting

* Remove unused isort cfg

* Enable unsafe fixes in fix:ruff, and enable unused var warning

* Re-run on config change; enable unnecessary ARG ignores

* Use all pycodestyle errors, and add some more commented-out ones

Latter logged on https://github.com/ankitects/anki/issues/4135
2025-06-29 14:38:35 +07:00
..
src Integrate AnkiHub Sign-in (#3232) 2024-08-17 10:58:23 +07:00
build.rs Move .py i18n method generation to Rust 2023-07-03 15:58:46 +10:00
Cargo.toml Remove some unused Rust dependencies 2023-06-24 19:30:29 +10:00
python.rs Switch to Ruff (#4119) 2025-06-29 14:38:35 +07:00
rust.rs Bump Rust deps 2024-10-21 15:34:04 +10:00
typescript.rs Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00