Anki/qt/aqt/forms/__init__.py
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

45 lines
637 B
Python

# ruff: noqa: F401
from . import (
about,
addcards,
addfield,
addmodel,
addonconf,
addons,
browser,
browserdisp,
browseropts,
changemap,
changemodel,
clayout_top,
customstudy,
dconf,
debug,
editcurrent,
edithtml,
emptycards,
exporting,
fields,
filtered_deck,
finddupes,
findreplace,
forget,
getaddons,
importing,
main,
modelopts,
models,
preferences,
preview,
profiles,
progress,
reposition,
setgroup,
setlang,
stats,
studydeck,
synclog,
taglimit,
template,
widgets,
)