Upstream update available: python3-pycodestyle 2.12.1 → 2.14.0 #1
Labels
No labels
ai-summary
bot
needs-build
needs-triage
priority/medium
update/minor
upstream-update
upstream/pypi
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
rpms/python3-pycodestyle#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Upstream update available:
python3-pycodestyle2.12.1→2.14.0Package
python3-pycodestylepython3-pycodestyleniceos-5.22.12.1-1minorpython_rpmleafstandardUpstream
pypi-2.14.02.14.0pypi_json2025-06-20T18:49:48.750360ZFalseSignals
FalseFalse-ai-summary, bot, needs-build, needs-triage, priority/medium, update/minor, upstream-update, upstream/pypiNiceSOFT AI preliminary analysis
1. Краткий вывод
Предлагается обновление пакета
python3-pycodestyleс версии 2.12.1 до 2.14.0. Обновление классифицируется как минорное (minor), не содержит обнаруженных уязвимостей безопасности и не блокируется политикой дистрибутива.2. Риск для НАЙС.ОС
low. Обновление касается инструмента статического анализа кода (
pycodestyle), который является утилитарным пакетом. Минорная версия обычно содержит исправления багов или небольшие улучшения функциональности, не влияющие на стабильность системы в целом. Отсутствие тегов безопасности подтверждает низкий профиль риска.3. Security/CVE
Во входных данных отсутствуют признаки уязвимостей безопасности. Поле
security_keywords_detected_by_scriptимеет значениеFalse, а в разделеRelease notesнет упоминаний исправлений CVE или критических проблем безопасности.4. ABI/API риск
Пакет
pycodestyleявляется инструментом командной строки и библиотекой для проверки стиля кода. Он не предоставляет публичного API, от которого зависят другие компоненты системы (unstable ABI). Однако изменение номера версии может теоретически повлиять на поведение плагинов или скриптов, использующих внутренние функции. Для полной уверенности требуется ручной анализ изменений в коде между версиями 2.12.1 и 2.14.0, но исходя из типа пакета, риск критического нарушения совместимости минимален.5. Риск для RPM-сборки
Вероятность поломки сборки низка. Пакет зависит только от стандартной библиотеки Python (
requires: python3), что не меняется при минорных обновлениях. В release notes отсутствуют указания на смену зависимостей (BuildRequires) или необходимость применения новых патчей. Тестовый набор (%check) должен пройти успешно, если логика проверки стиля не была изменена кардинально.6. Проверки мейнтейнера
rpmbuildс флагом-vдля детального просмотра логов сборки.%checkэтап сборки локально.%files.pycodestyle.py(или модуль) корректно импортируется после установки.7. Рекомендация
update candidate
8. Основание рекомендации
Обновление классифицировано как минорное, не несет рисков безопасности, не нарушает политику дистрибутива и не требует автоматического отклонения. Пакет является утилитарным, и вероятность негативного влияния на систему крайне мала. Рекомендуется включить в очередь кандидатов на обновление после прохождения стандартных проверок сборки.
Upstream release notes / description
Python style guide checker
pycodestyle (formerly called pep8) - Python style guide checker
.. image:: https://github.com/PyCQA/pycodestyle/actions/workflows/main.yml/badge.svg
:target: https://github.com/PyCQA/pycodestyle/actions/workflows/main.yml
:alt: Build status
.. image:: https://readthedocs.org/projects/pycodestyle/badge/?version=latest
:target: https://pycodestyle.pycqa.org
:alt: Documentation Status
.. image:: https://img.shields.io/pypi/wheel/pycodestyle.svg
:target: https://pypi.org/project/pycodestyle/
:alt: Wheel Status
.. image:: https://badges.gitter.im/PyCQA/pycodestyle.svg
:alt: Join the chat at https://gitter.im/PyCQA/pycodestyle
:target: https://gitter.im/PyCQA/pycodestyle?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
pycodestyle is a tool to check your Python code against some of the style
conventions in
PEP 8_... _PEP 8: http://www.python.org/dev/peps/pep-0008/
.. note::
Features
Plugin architecture: Adding new checks is easy.
Parseable output: Jump to error location in your editor.
Small: Just one Python file, requires only stdlib. You can use just
the
pycodestyle.pyfile for this purpose.Comes with a comprehensive test suite.
Installation
You can install, upgrade, and uninstall
pycodestyle.pywith these commands::$ pip install pycodestyle
$ pip install --upgrade pycodestyle
$ pip uninstall pycodestyle
There's also a package for Debian/Ubuntu, but it's not always the
latest version.
Example usage and output
::
$ pycodestyle --first optparse.py
optparse.py:69:11: E401 multiple imports on one line
optparse.py:77:1: E302 expected 2 blank lines, found 1
optparse.py:88:5: E301 expected 1 blank line, found 0
optparse.py:347:31: E211 whitespace before '('
optparse.py:357:17: E201 whitespace after '{'
optparse.py:472:29: E221 multiple spaces before operator
You can also make
pycodestyle.pyshow the source code for each error, andeven the relevant text from PEP 8::
$ pycodestyle --show-source --show-pep8 testing/data/E40.py
testing/data/E40.py:2:10: E401 multiple imports on one line
import os, sys
^
Imports should usually be on separate lines.
Or you can display how often each error was found::
$ pycodestyle --statistics -qq Python-2.5/Lib
232 E201 whitespace after '['
599 E202 whitespace before ')'
631 E203 whitespace before ','
842 E211 whitespace before '('
2531 E221 multiple spaces before operator
4473 E301 expected 1 blank line, found 0
4006 E302 expected 2 blank lines, found 1
165 E303 too many blank lines (4)
325 E401 multiple imports on one line
3615 E501 line too long (82 characters)
Links
Read the documentation <https://pycodestyle.pycqa.org/>_Fork me on GitHub <http://github.com/PyCQA/pycodestyle>_NiceOS maintainer checklist
Versionand related fields inSPECS/*.speconly if policy allows it.SOURCES/sources.lock.json, manifests, metadata and SBOM.Bot metadata
niceos_upstream_monitor.py 1.42026-04-27T22:59:46Z