forked from commaai/openpilot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove pre-commit (explorations) (commaai#33172)
* remove pre-commit (explorations) * lint.sh * remove rest * add to release files * no source * 1min is all you need
- Loading branch information
1 parent
4b11c9e
commit 13511e3
Showing
12 changed files
with
101 additions
and
291 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,17 +46,13 @@ jobs: | |
python3 -m ensurepip --upgrade | ||
pip3 install uv | ||
uv lock --upgrade | ||
- name: pre-commit autoupdate | ||
run: | | ||
git config --global --add safe.directory '*' | ||
pre-commit autoupdate | ||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@9153d834b60caba6d51c9b9510b087acf9f33f83 | ||
with: | ||
author: Vehicle Researcher <[email protected]> | ||
token: ${{ secrets.ACTIONS_CREATE_PR_PAT }} | ||
commit-message: Update Python packages and pre-commit hooks | ||
title: '[bot] Update Python packages and pre-commit hooks' | ||
commit-message: Update Python packages | ||
title: '[bot] Update Python packages' | ||
branch: auto-package-updates | ||
base: master | ||
delete-branch: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ pytest | |
cd system/loggerd && pytest . | ||
|
||
# run the linter | ||
pre-commit run --all | ||
op lint | ||
``` | ||
|
||
## Testing | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,6 @@ | |
"selfdrive/car/tests/test_models.*", | ||
|
||
"^tools/", | ||
"^scripts/", | ||
"^tinygrad_repo/", | ||
|
||
"matlab.*.md", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" | ||
cd $DIR/../ | ||
|
||
# TODO: bring back rest of pre-commit checks: | ||
# https://github.com/commaai/openpilot/blob/4b11c9e914707df9def598616995be2a5d355a6a/.pre-commit-config.yaml#L2 | ||
|
||
ruff check . |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.