-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Revert "[FSTORE-1453] Move client, decorators, variable_api and constants to hopsworks_common (#229)" This reverts commit 85deafd. * Revert "[FSTORE-1439][APPEND] Apply ruff formatting and fixes to the merged repo (#232)" This reverts commit a612df1. * Revert "[FSTORE-1439] Merge hopsworks-api, feature-store-api and machine-learning-api" This reverts commit 67484a9. * Revert "[FSTORE-1454] Unify variable_api and project_api (#219)" This reverts commit dd4470a. * Revert "Merge machine-learning-api into hsml subdirectory" This reverts commit c599739.
- Loading branch information
1 parent
85deafd
commit 1b1de36
Showing
670 changed files
with
5,808 additions
and
24,721 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
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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: python | ||
|
||
on: pull_request | ||
|
||
env: | ||
APP_API_KEY: ${{ secrets.APP_API_KEY }} | ||
|
||
jobs: | ||
lint_stylecheck: | ||
name: Lint and Stylecheck | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.11" | ||
|
||
- name: Get all changed files | ||
id: get-changed-files | ||
uses: tj-actions/changed-files@v44 | ||
with: | ||
files_yaml: | | ||
src: | ||
- 'python/**/*.py' | ||
- '!python/tests/**/*.py' | ||
test: | ||
- 'python/tests/**/*.py' | ||
- name: install deps | ||
run: pip install ruff==0.4.2 | ||
|
||
- name: ruff on python files | ||
if: steps.get-changed-files.outputs.src_any_changed == 'true' | ||
env: | ||
SRC_ALL_CHANGED_FILES: ${{ steps.get-changed-files.outputs.src_all_changed_files }} | ||
run: ruff check --output-format=github $SRC_ALL_CHANGED_FILES | ||
|
||
- name: ruff on test files | ||
if: steps.get-changed-files.outputs.test_any_changed == 'true' | ||
env: | ||
TEST_ALL_CHANGED_FILES: ${{ steps.get-changed-files.outputs.test_all_changed_files }} | ||
run: ruff check --output-format=github $TEST_ALL_CHANGED_FILES | ||
|
||
- name: ruff format --check $ALL_CHANGED_FILES | ||
env: | ||
ALL_CHANGED_FILES: ${{ steps.get-changed-files.outputs.all_changed_files }} | ||
run: ruff format $ALL_CHANGED_FILES |
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.