Skip to content

Conversation

@kartben
Copy link
Contributor

@kartben kartben commented Nov 7, 2024

This makes all Python scripts in doc/ compliant with current ruff rules.

redirects.py is kept in the ignore list with regards to line length as keeping the ability to do block selection in this file can be particularly useful.

@kartben kartben force-pushed the doc_fix_ruff branch 4 times, most recently from c8d3dac to d29ea82 Compare November 7, 2024 17:52
@pdgendt
Copy link
Contributor

pdgendt commented Nov 21, 2024

#81070 has been merged 😉

@kartben
Copy link
Contributor Author

kartben commented Nov 21, 2024

#81070 has been merged 😉

will come back to this shortly then :) Thank you!

@kartben kartben force-pushed the doc_fix_ruff branch 2 times, most recently from 50d2398 to fbc542a Compare November 22, 2024 15:50
This makes all Python scripts in doc/_extensions compliant w.r.t current
Ruff rules

Signed-off-by: Benjamin Cabé <[email protected]>
This makes all remaining Python scripts in doc compliant w.r.t current
Ruff rules

Signed-off-by: Benjamin Cabé <[email protected]>
@pdgendt
Copy link
Contributor

pdgendt commented Nov 26, 2024

redirects.py is kept in the ignore list with regards to line length as keeping the ability to do block selection in this file can be particularly useful.

I would add the ignore to the file instead of keeping it in the excludes file. Ideally the excludes file is removed at some point.

# Ignore line-too-long to allow for block selection
# ruff: noqa: E501

See https://docs.astral.sh/ruff/tutorial/#ignoring-errors

@nashif nashif merged commit e544465 into zephyrproject-rtos:main Nov 26, 2024
29 checks passed
@kartben kartben deleted the doc_fix_ruff branch January 30, 2025 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants