Skip to content

Commit 5bf82fa

Browse files
committed
Modernize Dec 2025
1 parent 84cb2a0 commit 5bf82fa

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,23 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
os: [ubuntu-latest]
15-
python: ['pypy3.11', '3.10', '3.11', '3.12']
15+
python: ['pypy3.11', '3.10', '3.11', '3.12', '3.13', '3.14']
1616
toxenv: [py]
1717
include:
1818
# windows
1919
- os: windows-latest
20-
python: '3.12'
20+
python: '3.14'
2121
toxenv: py
2222
# typing
2323
- os: ubuntu-latest
2424
python: '3.10'
2525
toxenv: typing
2626
# misc
2727
- os: ubuntu-latest
28-
python: '3.12'
28+
python: '3.14'
2929
toxenv: docs
3030
- os: ubuntu-latest
31-
python: '3.12'
31+
python: '3.14'
3232
toxenv: pre-commit
3333
runs-on: ${{ matrix.os }}
3434
steps:

.pre-commit-config.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
ci:
2+
autoupdate_schedule: monthly
3+
14
repos:
25
- repo: https://github.com/pre-commit/pre-commit-hooks
36
rev: v6.0.0
@@ -18,7 +21,7 @@ repos:
1821
rev: v3.21.2
1922
hooks:
2023
- id: pyupgrade
21-
args: [--py38-plus]
24+
args: [--py310-plus]
2225
- repo: https://github.com/pycqa/flake8
2326
rev: 7.3.0
2427
hooks:

tests/test_iri.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import sys
2-
31
import pytest
42

53
import rfc3986

tests/test_uri.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ def test_uris_with_no_authority_with_empty_path_are_absolute(
275275
uri_without_authority_with_empty_path,
276276
):
277277
uri = URIReference.from_string(uri_without_authority_with_empty_path)
278+
assert uri.is_absolute() is True
278279

279280
def test_uris_with_no_authority_with_query_only_are_absolute(
280281
self,

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{310,311,312},lint,typing
2+
envlist = py{310,311,312,313,314},lint,typing
33

44
[testenv]
55
pip_pre = False

0 commit comments

Comments
 (0)