Skip to content

[pre-commit.ci] pre-commit autoupdate

962a804
Select commit
Loading
Failed to load commit list.
Open

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

[pre-commit.ci] pre-commit autoupdate
962a804
Select commit
Loading
Failed to load commit list.
Cirrus CI / build and check (Linux - 3.11) failed Jan 26, 2026 in 56s

Task Summary

Instruction check failed in 00:37

Details

✅ 00:01 clone
✅ 00:01 debug_information
✅ 00:01 prepare
✅ 00:01 pip
✅ 00:01 pre_commit
✅ 00:03 install
✅ 00:06 build
❌ 00:37 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 24.4 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+g962a804ee-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%2Bg962a804ee-py2.py3-none-any.whl#sha256=765ef4cb958ae2fc8292f562584b4a9baeefa51298695e691990675b44a87784,coverage==7.13.2,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==26.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.55 seconds) /tmp/cirrus-ci-build> python -m mypy src tools pid=1167
  lint: OK (24.40=setup[2.01]+cmd[22.39] seconds)
  typecheck: FAIL code 1 (13.19=setup[11.64]+cmd[1.55] seconds)
  evaluation failed :( (37.62 seconds)

Exit status: 255��