Anki/build/ninja_gen/src
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
..
bin Update to Rust 1.88 2025-06-29 11:50:49 +07:00
action.rs Update n2 [action required] 2025-02-19 10:34:45 +07:00
archives.rs Migrate build system to uv (#4074) 2025-06-19 14:03:16 +07:00
build.rs Update to Rust 1.88 2025-06-29 11:50:49 +07:00
cargo.rs Fix check action on Windows ARM 2025-06-20 16:52:25 +07:00
command.rs Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00
configure.rs Add option to use LTO in release builds 2023-07-02 18:22:44 +10:00
copy.rs Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00
git.rs Ensure PyOxidizer checked out when bundling 2024-02-13 10:56:53 +10:00
hash.rs Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00
input.rs lazy_static → once_cell → stabilized versions (#3447) 2024-09-30 23:35:06 +10:00
lib.rs Migrate proto build actions to ninja_gen; switch from dyn Error to anyhow 2023-06-30 19:37:02 +10:00
node.rs Migrate build system to uv (#4074) 2025-06-19 14:03:16 +07:00
protobuf.rs Migrate build system to uv (#4074) 2025-06-19 14:03:16 +07:00
python.rs Switch to Ruff (#4119) 2025-06-29 14:38:35 +07:00
render.rs Update to Rust 1.88 2025-06-29 11:50:49 +07:00
rsync.rs Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00
sass.rs Migrate proto build actions to ninja_gen; switch from dyn Error to anyhow 2023-06-30 19:37:02 +10:00