Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Dec 7, 2023
1 parent 15b7731 commit 87380dd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,6 @@ jobs:
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
- name: Set AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-west-2
- uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.RTX_SSH_KEY }}
Expand Down
3 changes: 2 additions & 1 deletion e2e/test_poetry
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ rm -rf "$RTX_DATA_DIR/cache/poetry"
export POETRY_HOME=".poetry"

eval "$(rtx activate bash)"
rtx i python
rtx i python && _rtx_hook
rtx i poetry && _rtx_hook

assert "poetry --version" "Poetry (version 1.7.1)"
python3 -V
poetry install && _rtx_hook
rtx i poetry -f && _rtx_hook
poetry env info
assert "$(poetry env info -e) --version" "Python 3.12.0"
assert "echo \$VIRTUAL_ENV" "$(poetry env info -p)"
Expand Down
4 changes: 3 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ test-coverage:
./e2e/run_all_tests
if [[ "${TEST_TRANCHE:-}" == 0 ]]; then
rtx trust
pre-commit: render-help render-completions render-mangen
just pre-commit: render-help render-completions render-mangen
rtx implode
elif [[ "${TEST_TRANCHE:-}" == 1 ]]; then
rtx trust
Expand All @@ -88,6 +88,7 @@ lint:
shellcheck -x {{ scripts }}
shfmt -d {{ scripts }}
just --unstable --fmt --check
prettier -c $(git ls-files '*.md' '*.yml' '*.yaml')

# runs linters but makes fixes when possible
lint-fix:
Expand All @@ -96,6 +97,7 @@ lint-fix:
shellcheck -x {{ scripts }}
shfmt -w {{ scripts }}
just --unstable --fmt
prettier -w $(git ls-files '*.md' '*.yml' '*.yaml')

# regenerate README.md
render-help: build
Expand Down

0 comments on commit 87380dd

Please sign in to comment.