servo/python
Jerens Lensun 877010c5f6
Mach clippy & test-tidy github inline annotation (#37294)
When the --report-ci flag is passed to ./mach clippy or ./mach
test-tidy, the commands emit CI-friendly output to files in the tempy
directory. These files can later be used by [GitHub Workflow
Commands](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-error-message)
for annotations. If the flag is not provided, the default behavior
remains unchanged. Both clippy and test-tidy will limit have 10 limit
annotation

⚠️ Note: For ./mach clippy --report-ci to work correctly, the Clippy
command must use --message-format=json. If it's not specified, CI output
will not be generated, and no warning or error will be shown.

Example PR: https://github.com/jerensl/servo/pull/1/files

Fixes: #37231

---------

Signed-off-by: Jerens Lensun <jerensslensun@gmail.com>
2025-06-22 15:30:19 +00:00
..
mach change terminal wrapper library from blessing to blessed to support running mach test-wpt on windows. (#35327) 2025-02-06 16:45:34 +00:00
servo Mach clippy & test-tidy github inline annotation (#37294) 2025-06-22 15:30:19 +00:00
tidy Mach clippy & test-tidy github inline annotation (#37294) 2025-06-22 15:30:19 +00:00
wpt tests: Use Ahem font provided by WPT harness. (#37054) 2025-06-09 08:13:05 +00:00
mach_bootstrap.py Use ruff to enforce python code formatting (#37117) 2025-05-26 11:54:43 +00:00
README.md use ruff rather than flake8 for python code linting (#37045) 2025-05-24 14:19:47 +00:00
requirements.txt use ruff rather than flake8 for python code linting (#37045) 2025-05-24 14:19:47 +00:00

This directory contains various Python modules used to support servo development.

servo

servo-specific python code e.g. implementations of mach commands. This is the canonical repository for this code.

tidy

servo-tidy is used to check licenses, line lengths, whitespace, ruff on Python files, lock file versions, and more.

wpt

servo-wpt is a module with support scripts for running, importing, exporting, updating manifests, and updating expectations for WPT tests.