Skip to content

Commit

Permalink
use pipx instead of requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
davidosomething committed May 21, 2024
1 parent 2d17ad4 commit 904efd8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,10 @@ jobs:
# Semantic version range syntax or exact version of a Python version
python-version: '3.x'

- name: Upgrade pip
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install --requirement=requirements.txt
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version-file: 'package.json'

- name: Install npm packages
run: npm ci
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
"scripts": {
"_markdownlint": "npx --quiet --yes [email protected] --config markdownlint/dot.markdownlintrc",
"lint": "npx --quiet --yes concurrently --group --prefix=none 'npm:lint:* --silent'",
"lint:bash:bashate": "./bin/dko-header \" ${npm_lifecycle_event} \" && bashate --ignore=E003,E005,E006,E011,E043 -- $(eval \"$npm_package_config_bashfiles\") && echo ' ✓ passed\n'",
"lint:bash:bashate": "./bin/dko-header \" ${npm_lifecycle_event} \" && pipx run bashate --ignore=E003,E005,E006,E011,E043 -- $(eval \"$npm_package_config_bashfiles\") && echo ' ✓ passed\n'",
"lint:bash:shellcheck": "./bin/dko-header \" ${npm_lifecycle_event} \" && shellcheck --shell=bash -- $(eval \"$npm_package_config_bashfiles\") && echo ' ✓ passed\n'",
"lint:readmes": "./bin/dko-header \" ${npm_lifecycle_event} \" && npm run --silent _markdownlint -- $(eval \"$npm_package_config_mdfiles\") && echo ' ✓ passed\n'",
"lint:shell:shellcheck": "./bin/dko-header \" ${npm_lifecycle_event} \" && shellcheck --shell=sh -- $(eval \"$npm_package_config_shfiles\") && echo ' ✓ passed\n'",
"lint:nvim": "./bin/dko-header \" ${npm_lifecycle_event} \" && [ \"$(nvim --headless +'redir>>/dev/stdout | messages | redir END' +q | grep -c Error)\" -eq 0 ] && echo ' ✓ passed\n'",
"lint:yaml": "./bin/dko-header \" ${npm_lifecycle_event} \" && yamllint -- $(eval \"$npm_package_config_yamlfiles\") && echo ' ✓ passed\n'",
"lint:yaml": "./bin/dko-header \" ${npm_lifecycle_event} \" && pipx run yamllint -- $(eval \"$npm_package_config_yamlfiles\") && echo ' ✓ passed\n'",
"test": "npm run --silent lint"
},
"repository": {
Expand Down
2 changes: 0 additions & 2 deletions requirements.txt

This file was deleted.

0 comments on commit 904efd8

Please sign in to comment.