Skip to content

Commit 159602f

Browse files
committed
update ruff settings
1 parent 84b7a06 commit 159602f

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,9 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
13-
- uses: actions/setup-python@v4
13+
- uses: actions/setup-python@v5
1414
- name: Install dependencies
15-
run: |
16-
pipx install copier
17-
pipx install poetry
15+
run: pipx install copier poetry
1816
- name: Run test
1917
run: |
2018
git config --global user.name "GitHub Action"

src/.github/workflows/ci.yaml.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- name: Set up Poetry
1515
run: pipx install poetry
16-
- uses: actions/setup-python@v4
16+
- uses: actions/setup-python@v5
1717
with:
1818
python-version: 3.12
1919
cache: poetry

src/pyproject.toml.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ test = { cmd = "pytest", help = "Run tests" }
3434

3535
[tool.ruff]
3636
fix = true
37-
select = ["B", "E", "F", "I", "SIM", "UP"]
37+
lint = { select = ["B", "E", "F", "I", "SIM", "UP"] }
3838

3939
[tool.mypy]
4040
strict = true

0 commit comments

Comments
 (0)