mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 04:37:22 -05:00
* 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 |
||
|---|---|---|
| .. | ||
| support | ||
| __init__.py | ||
| shared.py | ||
| test_cards.py | ||
| test_collection.py | ||
| test_decks.py | ||
| test_exporting.py | ||
| test_find.py | ||
| test_flags.py | ||
| test_importing.py | ||
| test_latex.py | ||
| test_media.py | ||
| test_models.py | ||
| test_schedv3.py | ||
| test_stats.py | ||
| test_template.py | ||
| test_utils.py | ||