Skip to content

Commit

Permalink
Merge pull request #81 from akrherz/bump
Browse files Browse the repository at this point in the history
chore: bump ruff
  • Loading branch information
akrherz authored May 7, 2024
2 parents f7867b2 + 1bdebaf commit c9d0875
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
PYTHON_VERSION: ["3.9", "3.10", "3.11"]
PYTHON_VERSION: ["3.9", "3.11", "3.12"]
env:
PYTHON_VERSION: ${{ matrix.PYTHON_VERSION }}
steps:
Expand Down Expand Up @@ -56,8 +56,8 @@ jobs:
coverage xml
- name: Code coverage
if: ${{ matrix.PYTHON_VERSION == '3.11' }}
uses: codecov/codecov-action@v3
if: ${{ matrix.PYTHON_VERSION == '3.12' }}
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ci:
autoupdate_schedule: quarterly
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.3.0"
rev: "v0.4.3"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@

[tool.ruff]
line-length = 79
lint.select = ["E", "F", "I"]
target-version = "py39"

[tool.ruff.lint]
select = [
"E",
"F",
"I",
]

0 comments on commit c9d0875

Please sign in to comment.