servo/python/wpt/exporter
Jerens Lensun 797db25c4e
mach: Enable ANN rules (type annotations) for ruff Python linter (#38531)
This changes will introduce [flake8-annotations
(ANN)](https://docs.astral.sh/ruff/rules/#flake8-annotations-ann) for
python type annotation, this will make all thing related to function
strictly typed in python

This rule will start to affected this directory from now:
- /python -> Root directory
- /python/tidy
- /python/wpt

Testing: `./mach test-tidy`
Fixes: Not related to any issues

---------

Signed-off-by: Jerens Lensun <jerensslensun@gmail.com>
2025-08-14 10:36:17 +00:00
..
__init__.py mach: Enable ANN rules (type annotations) for ruff Python linter (#38531) 2025-08-14 10:36:17 +00:00
common.py mach: Enable ANN rules (type annotations) for ruff Python linter (#38531) 2025-08-14 10:36:17 +00:00
github.py mach: Enable ANN rules (type annotations) for ruff Python linter (#38531) 2025-08-14 10:36:17 +00:00
step.py mach: Enable ANN rules (type annotations) for ruff Python linter (#38531) 2025-08-14 10:36:17 +00:00