Skip to content

Commit

Permalink
update ruff settings
Browse files Browse the repository at this point in the history
  • Loading branch information
branchvincent committed Jun 15, 2024
1 parent 84b7a06 commit 159602f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
- name: Install dependencies
run: |
pipx install copier
pipx install poetry
run: pipx install copier poetry
- name: Run test
run: |
git config --global user.name "GitHub Action"
Expand Down
2 changes: 1 addition & 1 deletion src/.github/workflows/ci.yaml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4
- name: Set up Poetry
run: pipx install poetry
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: 3.12
cache: poetry
Expand Down
2 changes: 1 addition & 1 deletion src/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ test = { cmd = "pytest", help = "Run tests" }

[tool.ruff]
fix = true
select = ["B", "E", "F", "I", "SIM", "UP"]
lint = { select = ["B", "E", "F", "I", "SIM", "UP"] }

[tool.mypy]
strict = true
Expand Down

0 comments on commit 159602f

Please sign in to comment.