Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
jobs:
tox:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
os: [windows-latest, ubuntu-latest]
Expand All @@ -28,7 +29,7 @@ jobs:
~\AppData\Local\pip\Cache
key: ${{ runner.os }}-build-${{ matrix.python-version }}
- name: install-tox
run: python -m pip install --upgrade tox virtualenv setuptools pip
run: python -m pip install --upgrade tox # virtualenv setuptools pip
- name: run-tox
run: tox -e py
- run: pipx run auto-walrus -h
7 changes: 2 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: 'v0.9.2'
rev: 'v0.11.2'
hooks:
# Run the formatter.
- id: ruff-format
# Run the linter.
- id: ruff
args: [--fix]
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.14.1'
hooks:
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ lint.select = [
lint.ignore = [
'A001',
'A003',
'ANN101',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: The following rules have been removed and ignoring them has no effect:
- ANN101

'ANN401',
'ARG002', # todo: enable
'ARG003', # todo: enable
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{38,39,310,311,312}
envlist = py{38,39,310,311,312,313}

[testenv]
deps =
Expand Down
8 changes: 4 additions & 4 deletions utils/bump_version.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# mypy: ignore
# ruff: noqa
# ruff: noqa: INP001
import re
import subprocess
import sys
Expand Down Expand Up @@ -29,6 +29,6 @@
with open("README.md", "w", encoding="utf-8") as f:
f.write(content)

subprocess.run(["git", "commit", "-a", "-m", f"Bump version to {version}"])
subprocess.run(["git", "tag", "-a", version, "-m", version])
subprocess.run(["git", "push", "--follow-tags"])
subprocess.run(["git", "commit", "-a", "-m", f"Bump version to {version}"], check=True)
subprocess.run(["git", "tag", "-a", version, "-m", version], check=True)
subprocess.run(["git", "push", "--follow-tags"], check=True)