Skip to content

[pre-commit.ci] pre-commit autoupdate

a1ad4c8
Select commit
Loading
Failed to load commit list.
Open

[pre-commit.ci] pre-commit autoupdate #139

[pre-commit.ci] pre-commit autoupdate
a1ad4c8
Select commit
Loading
Failed to load commit list.
Cirrus CI / build and check (Linux - 3.11) failed Jan 19, 2026 in 1m 5s

Task Summary

Instruction check failed in 00:42

Details

✅ 00:01 clone
✅ 00:01 debug_information
✅ 00:01 prepare
✅ 00:01 pip
✅ 00:01 pre_commit
✅ 00:04 install
✅ 00:09 build
❌ 00:42 check

[INFO] Installing environment for https://github.com/asottile/pyupgrade.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/asottile/blacken-docs.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/codespell-project/codespell.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
trim trailing whitespace.................................................Passed
check for added large files..............................................Passed
check python ast.........................................................Passed
check json...........................................(no files to check)Skipped
check for merge conflicts................................................Passed
check xml................................................................Passed
check yaml...............................................................Passed
debug statements (python)................................................Passed
fix end of files.........................................................Passed
fix requirements.txt.....................................................Passed
mixed line ending........................................................Passed
ruff (legacy alias)......................................................Passed
ruff format..............................................................Passed
pyupgrade................................................................Passed
blacken-docs.............................................................Passed
codespell................................................................Passed
lint: OK ✔ in 29.3 seconds
typecheck: install_deps> python -I -m pip install mypy
.pkg_external: freeze> python -m pip freeze --all
.pkg_external: pip==25.3,setuptools==80.9.0
typecheck: install_package_deps> python -I -m pip install flake8 'importlib-metadata; python_version < "3.8"' pytest pytest-cov pytest-randomly pytest-xdist sphinx
typecheck: install_package> python -I -m pip install --force-reinstall --no-deps /tmp/cirrus-ci-build/dist/configupdater-3.2.post1.dev17+ga1ad4c838-py2.py3-none-any.whl
typecheck: freeze> python -m pip freeze --all
typecheck: alabaster==1.0.0,babel==2.17.0,certifi==2026.1.4,charset-normalizer==3.4.4,ConfigUpdater @ file:///tmp/cirrus-ci-build/dist/configupdater-3.2.post1.dev17%2Bga1ad4c838-py2.py3-none-any.whl#sha256=bfcae50507343c2e79a05cdff37f3aa0ed6e35241ebab2a84185e314e69a5aca,coverage==7.13.1,docutils==0.22.4,execnet==2.1.2,flake8==7.3.0,idna==3.11,imagesize==1.4.1,iniconfig==2.3.0,Jinja2==3.1.6,librt==0.7.8,MarkupSafe==3.0.3,mccabe==0.7.0,mypy==1.19.1,mypy_extensions==1.1.0,packaging==25.0,pathspec==1.0.3,pip==25.3,pluggy==1.6.0,pycodestyle==2.14.0,pyflakes==3.4.0,Pygments==2.19.2,pytest==9.0.2,pytest-cov==7.0.0,pytest-randomly==4.0.1,pytest-xdist==3.8.0,requests==2.32.5,roman-numerals==4.1.0,setuptools==80.9.0,snowballstemmer==3.0.1,Sphinx==9.0.4,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-serializinghtml==2.0.0,typing_extensions==4.15.0,urllib3==2.6.3
typecheck: commands[0]> python -m mypy src tools
src/configupdater/builder.py: note: In member "option" of class "BlockBuilder":
src/configupdater/builder.py:112: error: Incompatible types in assignment
(expression has type "str | None", variable has type "str")  [assignment]
            option.value = value
                           ^~~~~
src/configupdater/section.py: note: In member "__setitem__" of class "Section":
src/configupdater/section.py:172: error: Incompatible types in assignment
(expression has type "str | None", variable has type "str")  [assignment]
                    option.value = value
                                   ^~~~~
src/configupdater/section.py: note: In member "set" of class "Section":
src/configupdater/section.py:272: error: Incompatible types in assignment
(expression has type "str | None", variable has type "str")  [assignment]
                self[option].value = value
                                     ^~~~~
Found 3 errors in 2 files (checked 11 source files)
typecheck: exit 1 (1.52 seconds) /tmp/cirrus-ci-build> python -m mypy src tools pid=1055
  lint: OK (29.29=setup[3.25]+cmd[26.04] seconds)
  typecheck: FAIL code 1 (13.13=setup[11.61]+cmd[1.52] seconds)
  evaluation failed :( (42.46 seconds)

Exit status: 255��