Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
os: [macOS-latest, ubuntu-latest, windows-latest]

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Set Up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
Expand All @@ -46,7 +46,7 @@ jobs:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: actions/setup-python@v5
with:
python-version: '3.12'
Expand Down
2 changes: 2 additions & 0 deletions aiosqlite/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def __init__(
warn(
"aiosqlite.Connection no longer uses the `loop` parameter",
DeprecationWarning,
stacklevel=2,
)

def _stop_running(self):
Expand Down Expand Up @@ -369,6 +370,7 @@ def connect(
warn(
"aiosqlite.connect() no longer uses the `loop` parameter",
DeprecationWarning,
stacklevel=2,
)

def connector() -> sqlite3.Connection:
Expand Down
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ test:
python -m mypy -p $(PKG)

lint:
python -m flake8 $(PKG)
python -m ruff check $(PKG)
python -m ufmt check $(PKG)

format:
Expand Down
22 changes: 13 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,21 @@ classifiers = [
"Topic :: Software Development :: Libraries",
]
requires-python = ">=3.9"
dependencies = [
"typing_extensions >= 4.0",
]
dependencies = []

[project.optional-dependencies]
dev = [
"attribution==1.8.0",
"black==25.1.0",
"build>=1.2",
"coverage[toml]==7.8.0",
"flake8==7.2.0",
"flake8-bugbear==24.12.12",
"coverage[toml]==7.10.6",
"flit==3.12.0",
"mypy==1.15.0",
"ruff==0.12.11",
"mypy==1.17.1",
"ufmt==2.8.0",
"usort==1.0.8.post1",
]
docs = [
"sphinx==8.1.3",
"sphinx==8.1.3; python_version >= '3.10'",
"sphinx-mdinclude==0.6.2",
]

Expand Down Expand Up @@ -67,6 +63,14 @@ precision = 1
show_missing = true
skip_covered = true

[tool.ruff.lint]
extend-select = [
"B", # https://docs.astral.sh/ruff/rules/#flake8-bugbear-b
]

[tool.ruff.lint.per-file-ignores]
"aiosqlite/tests/__init__.py" = ["F401"]

[tool.mypy]
ignore_missing_imports = true
python_version = "3.9"
Expand Down
Loading
Loading