Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: make the dependency only available for st4+py38 #128

Merged
merged 2 commits into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/on-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
rm -rf "./.git"
echo "Overwriting installed dependency in $ST_LIBS_DIR/$PACKAGE"
rm -rf "$ST_LIBS_DIR/$PACKAGE"
mv "./st3/$PACKAGE" "$ST_LIBS_DIR"
mv "./st4_py38/$PACKAGE" "$ST_LIBS_DIR"
cd -
- uses: SublimeText/UnitTesting/actions/run-tests@v1

Expand All @@ -76,6 +76,6 @@ jobs:
- run: git clone https://github.com/SublimeText/sublime_lib.git
- run: |
cd lsp_utils
mypy st3/lsp_utils
flake8 st3/lsp_utils tests
pyright st3/lsp_utils
mypy st4_py38/lsp_utils
flake8 st4_py38/lsp_utils tests
pyright st4_py38/lsp_utils
2 changes: 1 addition & 1 deletion scripts/update-semantic-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GITHUB_REPO_URL="https://github.com/rbarrois/python-semanticversion"

SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
OUTPUT_DIR="${SCRIPT_DIR}/../st3/lsp_utils/third_party"
OUTPUT_DIR="${SCRIPT_DIR}/../st4_py38/lsp_utils/third_party"
PACKAGE_NAME="semantic_version"

# -------- #
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ deps =
flake8==5.0.4
pyright==1.1.339
commands =
mypy st3/lsp_utils
flake8 st3/lsp_utils tests
pyright st3/lsp_utils
mypy st4_py38/lsp_utils
flake8 st4_py38/lsp_utils tests
pyright st4_py38/lsp_utils