Anki/rslib
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
..
benches Update Rust and Python deps (#2567) 2023-07-01 18:26:43 +10:00
i18n Update to Rust 1.88 2025-06-29 11:50:49 +07:00
io Launcher tweaks 2025-06-20 16:13:50 +07:00
linkchecker Migrate build system to uv (#4074) 2025-06-19 14:03:16 +07:00
process Migrate build system to uv (#4074) 2025-06-19 14:03:16 +07:00
proto Switch to Ruff (#4119) 2025-06-29 14:38:35 +07:00
proto_gen lazy_static → once_cell → stabilized versions (#3447) 2024-09-30 23:35:06 +10:00
src Update to Rust 1.88 2025-06-29 11:50:49 +07:00
sync Refactor launcher + various tweaks 2025-06-27 16:10:12 +07:00
tests/support move linkchecker into separate crate 2021-12-20 17:27:43 +10:00
.gitignore initial Bazel conversion 2020-11-01 14:26:58 +10:00
bench.sh Update Rust and Python deps (#2567) 2023-07-01 18:26:43 +10:00
build.rs Fix building outside workspace 2023-07-02 18:22:44 +10:00
Cargo.toml Migrate build system to uv (#4074) 2025-06-19 14:03:16 +07:00
README.md Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
rust_interface.rs Update to Rust 1.88 2025-06-29 11:50:49 +07:00

Anki's Rust code.