Skip to content

Commit

Permalink
Update template
Browse files Browse the repository at this point in the history
  • Loading branch information
ajparsons committed May 16, 2024
1 parent 35acb81 commit fbc7cf4
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 13 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10"]
poetry-version: ["1.2"]
poetry-version: ["1.8"]

runs-on: ubuntu-latest

Expand Down Expand Up @@ -47,5 +47,8 @@ jobs:
- name: Test with pyright
uses: jakebailey/pyright-action@v1

- name: Test with black
uses: psf/black@stable
- name: Test with ruff
shell: bash
run: |
python -m ruff .
python -m ruff format --check .
23 changes: 14 additions & 9 deletions {{cookiecutter.hyphenated}}/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,18 @@
"build": {
"dockerfile": "../Dockerfile"
},
"extensions": [
"ms-vscode.test-adapter-converter",
"bungcip.better-toml",
"ms-python.python",
"ms-python.vscode-pylance",
"ms-azuretools.vscode-docker",
"valentjn.vscode-ltex",
"mhutchie.git-graph"
]
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.test-adapter-converter",
"bungcip.better-toml",
"ms-python.python",
"ms-python.vscode-pylance",
"ms-azuretools.vscode-docker",
"valentjn.vscode-ltex",
"mhutchie.git-graph",
"charliermarsh.ruff"
]
}
}
}
2 changes: 1 addition & 1 deletion {{cookiecutter.hyphenated}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ python = "^3.8"
pytest = "^7.1.2"
pytest-cov = "^3.0.0"
pylint = "^2.12.2"
black = "^22.3.0"
ruff = "^0.4.4"
pyright = "^1.1"
toml = "^0.10.2"

Expand Down

0 comments on commit fbc7cf4

Please sign in to comment.