-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: merge and make CI buildable (#5)
- Loading branch information
Showing
197 changed files
with
17,402 additions
and
7,343 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
'@secretflow/notebook-pyproject-secretnote': patch | ||
'@secretflow/notebook-pyproject-spu-stubs': patch | ||
'secretnote': patch | ||
'spu-stubs': patch | ||
--- | ||
|
||
Initial publish |
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,9 @@ | ||
--- | ||
'@secretflow/secretnote-ui': minor | ||
'secretnote': minor | ||
'spu-stubs': minor | ||
'@secretflow/repo-utils': minor | ||
'@secretflow/secretnote': minor | ||
--- | ||
|
||
Include SecretNote server application |
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 |
---|---|---|
@@ -1,11 +1,18 @@ | ||
#!/usr/bin/env bash | ||
|
||
PYTHON_VENV_VERSION=$(cat .python-version | tr -d " \t\n\r") | ||
PYTHON_VERSION="3.8.17" | ||
REPO_ROOT=$(git rev-parse --show-toplevel) | ||
|
||
rye fetch $PYTHON_VENV_VERSION | ||
# Download Python | ||
rye fetch $PYTHON_VERSION | ||
|
||
# Remove current virtual environment | ||
find .venv -exec rm -rf {} + 2> /dev/null | ||
|
||
# Create new virtual environment | ||
cd "$REPO_ROOT"/.. | ||
python +$PYTHON_VERSION -m venv "$REPO_ROOT/.venv" | ||
|
||
python +$PYTHON_VENV_VERSION -m venv "$REPO_ROOT/.venv" | ||
printf '{"python": "%s"}' "$PYTHON_VENV_VERSION" > "$REPO_ROOT/.venv/rye-venv.json" | ||
# Write auxiliary files for Rye | ||
printf '{"python": "%s"}\n' "$PYTHON_VERSION" > "$REPO_ROOT/.venv/rye-venv.json" | ||
printf '%s\n' "$PYTHON_VERSION" > "$REPO_ROOT/.python-version" |
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
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
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
module.exports = { | ||
'*': ['prettier --ignore-unknown --check'], | ||
'*.*': ['prettier --ignore-unknown --check'], | ||
'*.{css,less}': ['stylelint'], | ||
'*.{js,jsx,ts,tsx,mjs,mts,cjs,cts,mtsx,ctsx,mjsx,cjsx}': ['eslint'], | ||
'*.{py,pyi}': ['black --check', 'ruff check', 'pyright'], | ||
'*.ipynb': ['black --check', 'ruff check' /* 'pyright' */], | ||
}; |
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 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
Oops, something went wrong.