File tree Expand file tree Collapse file tree 4 files changed +713
-372
lines changed
Expand file tree Collapse file tree 4 files changed +713
-372
lines changed Original file line number Diff line number Diff line change 33
44repos :
55 - repo : https://github.com/psf/black-pre-commit-mirror
6- rev : 25.12.0
6+ rev : 26.3.1
77 hooks :
88 - id : black
99 - repo : https://github.com/pycqa/isort
10- rev : 7 .0.0
10+ rev : 8 .0.1
1111 hooks :
1212 - id : isort
1313 name : isort
3636 - id : python-check-blanket-type-ignore
3737 - id : python-use-type-annotations
3838 - repo : https://github.com/astral-sh/ruff-pre-commit
39- rev : v0.14.10
39+ rev : v0.15.7
4040 hooks :
4141 - id : ruff-check
Original file line number Diff line number Diff line change 55from pre_commit_python_eol import __url__ , __version__
66
77try :
8- import httpx
8+ import niquests
99except ImportError :
1010 raise RuntimeError (
11- "httpx was not installed, please install the 'gha' dependency group"
11+ "niquests was not installed, please install the 'gha' dependency group"
1212 ) from None
1313
1414USER_AGENT = (
1515 f"pre-commit-check-eol/{ __version__ } ({ __url__ } ) "
16- f"httpx/ { httpx .__version__ } "
16+ f"niquests/ { niquests .__version__ } "
1717 f"{ platform .python_implementation ()} /{ platform .python_version ()} "
1818)
1919
2323
2424def bump_cache () -> None :
2525 """Update the cached release cycle JSON from the source repository."""
26- with httpx . Client (headers = {"User-Agent" : USER_AGENT }) as client :
26+ with niquests . Session (headers = {"User-Agent" : USER_AGENT }) as client :
2727 r = client .get (CACHE_SOURCE )
2828 r .raise_for_status ()
2929
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ classifiers = [
2323
2424requires-python = " >=3.11"
2525dependencies = [
26- " packaging~=25 .0" ,
26+ " packaging~=26 .0" ,
2727]
2828
2929[project .urls ]
@@ -38,11 +38,11 @@ checkeol = "pre_commit_python_eol.check_eol:main"
3838
3939[dependency-groups ]
4040dev = [
41- " black~=25.0 " ,
41+ " black~=26.3 " ,
4242 " flake8~=7.1" ,
4343 " flake8-annotations~=3.1" ,
4444 " flake8-define-class-attributes~=0.2" ,
45- " isort~=7 .0" ,
45+ " isort~=8 .0" ,
4646 " mypy~=1.14" ,
4747 " pre-commit~=4.0" ,
4848 " pytest~=9.0" ,
@@ -57,7 +57,7 @@ dev = [
5757
5858[project .optional-dependencies ]
5959gha = [
60- " httpx~=0.28 " ,
60+ " niquests~=3.18 " ,
6161]
6262
6363[tool .black ]
You can’t perform that action at this time.
0 commit comments