Run linters on changed files only #6458
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
general-linting.yaml
workflow might fail in unchanged files when linters have new versions (allowed byopenbb-devtools
). Just happened with ruff v0.4.5, where a file I didn't touch breaks new ruff versionfile: openbb_platform/obbject_extensions/charting/openbb_charting/core/openbb_figure.py
action: https://github.com/OpenBB-finance/OpenBBTerminal/actions/runs/9206586424/job/25324754940
openbb-core
to avoid conflicts withopenbb-devtools
ruff
in pre-commit hooks. v0.4.5 was released andopenbb-devtools
allows itmypy
was deleted from workflow checks in the release, it's added herecli/