From ffd17da5e4ff3f22209120b1d10d84db2c3d63ff Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sat, 3 Jun 2023 15:24:46 +0300 Subject: [PATCH] Add 3.12 classifier --- .pre-commit-config.yaml | 10 +++++----- setup.cfg | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1347c7b..e56c436 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -39,11 +39,11 @@ repos: - id: trailing-whitespace exclude: "^.github/.*_TEMPLATE.md" -# Disabled due to asottile/setup-cfg-fmt#73. Re-enable once that issue is fixed. -# - repo: https://github.com/asottile/setup-cfg-fmt -# rev: v1.20.1 -# hooks: -# - id: setup-cfg-fmt + - repo: https://github.com/asottile/setup-cfg-fmt + rev: v2.3.0 + hooks: + - id: setup-cfg-fmt + args: [--include-version-classifiers, --max-py-version=3.12] ci: autoupdate_schedule: quarterly diff --git a/setup.cfg b/setup.cfg index f0236dc..1cee493 100644 --- a/setup.cfg +++ b/setup.cfg @@ -19,6 +19,7 @@ classifiers = Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 download_url = https://github.com/ultrajson/ultrajson project_urls = Source=https://github.com/ultrajson/ultrajson