Skip to content
Merged
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
5 changes: 3 additions & 2 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ jobs:
fail-fast: false
matrix:
py:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "3.14"
os:
- ubuntu-latest
# - macos-latest
Expand Down
34 changes: 17 additions & 17 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
default_language_version:
python: python3.11
python: python3.13
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v6.0.0
hooks:
- id: check-ast
- id: check-builtin-literals
Expand All @@ -15,59 +15,59 @@ repos:
- id: trailing-whitespace
- id: name-tests-test
- repo: https://github.com/asottile/add-trailing-comma
rev: v3.1.0
rev: v3.2.0
hooks:
- id: add-trailing-comma
args: ["--py36-plus"]
- repo: https://github.com/asottile/pyupgrade
rev: v3.13.0
rev: v3.21.0
hooks:
- id: pyupgrade
args: ["--py37-plus"]
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
rev: 6.1.0
hooks:
- id: isort
args: ["--profile", "black", "--filter-files"]
- repo: https://github.com/psf/black
rev: 23.9.1
rev: 25.9.0
hooks:
- id: black
- repo: https://github.com/asottile/blacken-docs
rev: 1.16.0
rev: 1.20.0
hooks:
- id: blacken-docs
additional_dependencies: [black==23.9.1]
additional_dependencies: [black==25.9.0]
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.10.0
hooks:
- id: rst-backticks
- repo: https://github.com/tox-dev/tox-ini-fmt
rev: "1.3.1"
rev: "1.7.0"
hooks:
- id: tox-ini-fmt
args: ["-p", "lint"]
- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
rev: 7.3.0
hooks:
- id: flake8
additional_dependencies:
- flake8-bugbear==23.3.12
- flake8-comprehensions==3.11.1
- flake8-pytest-style==1.7.2
- flake8-bugbear==24.12.12
- flake8-comprehensions==3.17.0
- flake8-pytest-style==2.1.0
- flake8-unused-arguments==0.0.13
- flake8-noqa==1.3.1
- pep8-naming==0.13.3
- flake8-noqa==1.4.0
- pep8-naming==0.15.1
- flake8-pyproject==1.2.3
- repo: https://github.com/PyCQA/doc8
rev: v1.1.1
rev: v2.0.0
hooks:
- id: doc8
- repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
- repo: https://github.com/rhysd/actionlint
rev: v1.6.26
rev: v1.7.7
hooks:
- id: actionlint
4 changes: 2 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
version: 2

build:
os: ubuntu-22.04
os: ubuntu-lts-latest
tools:
python: "3.11"
python: latest

python:
install:
Expand Down
3 changes: 0 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
import datetime
import importlib.metadata

import sphinx_rtd_theme

extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.intersphinx",
Expand All @@ -30,7 +28,6 @@
master_doc = "index"
pygments_style = "sphinx"
html_theme = "sphinx_rtd_theme"
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
html_static_path = ["_static"]

suppress_warnings = ["image.nonlocal_uri"]
7 changes: 1 addition & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ classifiers = [
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Communications :: Chat :: Internet Relay Chat",
]
dynamic = [
Expand Down Expand Up @@ -55,7 +50,7 @@ source = "vcs"

[tool.black]
line_length = 88
target_version = ["py37"]
target_version = ["py39"]

[tool.isort]
known_first_party = ["ib3", "tests"]
Expand Down
16 changes: 9 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ requires =
tox>=4.2
env_list =
lint
py314
py313
py312
py311
py310
py39
py38
py37
docs
pkg_meta
skip_missing_interpreters = true
Expand All @@ -23,7 +24,7 @@ commands =
pytest tests/

[testenv:lint]
base_python = py311
base_python = py313
deps =
pre-commit>=3.2
commands =
Expand All @@ -41,7 +42,7 @@ commands =

[testenv:pkg_meta]
description = check that generated pacakges are valid
base_python = py311
base_python = py314
skip_install = true
deps =
build[virtualenv]>=1.0.3
Expand Down Expand Up @@ -78,8 +79,9 @@ output = dist/coverage.xml

[gh]
python =
3.7 = py37
3.8 = py38
3.9 = py39
3.10 = py310
3.11 = lint, py311, docs, pkg_meta
3.11 = py311
3.12 = py312
3.13 = lint, py313
3.14 = py314, docs, pkg_meta