Anki/docs
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
..
docker Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
syncserver Fix dockerimage, by bumping rust version (#3993) 2025-05-15 16:09:27 +10:00
architecture.md Updated permalink to architecture visualization (#2001) 2022-08-05 14:47:38 +10:00
build.md Migrate pylib/anki qt/aqt to group syntax (eg pylib:anki) 2023-06-15 17:17:55 +10:00
contributing.md Remove outdated comments in contributing, and mention refactoring 2024-08-10 18:43:11 +07:00
development.md Switch to Ruff (#4119) 2025-06-29 14:38:35 +07:00
editing.md Minor Rust cleanups (#2272) 2022-12-16 21:40:27 +10:00
language_bridge.md Introduce language_bridge.md (#3572) 2025-04-10 15:30:18 +10:00
linux.md Drop remaining qt5 code 2025-06-20 16:13:50 +07:00
mac.md Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
ninja.md Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
protobuf.md Switch to Ruff (#4119) 2025-06-29 14:38:35 +07:00
windows.md Migrate build system to uv (#4074) 2025-06-19 14:03:16 +07:00