|
|
|
|
Changelog for python310-pycodestyle-2.11.1-lp154.45.1.noarch.rpm :
* Mon Nov 27 2023 Dirk Müller - update to 2.11.1: * E275: fix false positive with fstrings containing keyword parts in python 3.12 * Tue Aug 08 2023 ecsos - %{?sle15_python_module_pythons} must at beginning of spec to work. * Thu Aug 03 2023 Martin Schreiner - Update to 2.11.0 * Drop EOL python 3.6 / 3.7. * Add support for python 3.12. * E721: adjust handling of type comparison. Allowed forms are now isinstance(x, t) or type(x) is t. * Remove handling of python 2 <> operator. * W606: removed. async / await are always keywords. * Internal: move tests to pytest. * Remove handling of python 2 ur\'\' strings.- Remove testsuite_fixes.patch as it\'s no longer required- Replaced spec file \"Source\" to pull from GitHub due to this issue: https://github.com/PyCQA/pycodestyle/issues/1183- Apply spec-cleaner to spec file. * Tue Jul 18 2023 Ana Guerrero - Add patch to fix testsuite with python 3.11.4 and 3.12 testsuite_fixes.patch * Tue May 09 2023 Johannes Kastl - add sle15_python_module_pythons * Fri Jan 13 2023 Johannes Kastl - cleanup spec, trim %files section and fix %python_clone command * Tue Dec 13 2022 Yogalakshmi Arunachalam - Update to 2.10.0 (bsc#1206225) * Changes: E231: allow trailing comma inside 1-tuples in []. PR #1108. W601, W602, W603, W604: removed (no longer relevant in python 3). PR #1111. E741: also apply to lambdas. PR #1106. E741: fix false positive for comparison operators. PR #1118. * Mon Aug 15 2022 Dirk Müller - update to 2.9.1: * E275: fix false positive for yield expressions. * E221, E222, E223, E224: add support for := operator. PR #1032. * Drop python 2.7 / 3.5. * E262: consider non-breaking spaces (\\xa0) as whitespace. PR #1035. * Improve performance of _is_binary_operator. PR #1052. * E275: requires whitespace around keywords. PR #1063. * Add support for python 3.11. PR #1070. * Thu Nov 04 2021 Ferdinand Thiessen - Update to version 2.8.0 * fix false negative with multiple comparisons * fix false positives with ``match`` * improve performance of bare except check * Backport tokenize performance improvement from python 3.10 * fix for lambdas containing positional-only args * Remove ``indent_size_str`` \"setting\" * allow ``__all__`` to be typed * fix false positives for `` *`` in ``case`` * detect tabs as whitespace * Tue Mar 16 2021 John Vandenberg - Update to v2.7.0 * Fix physical checks (such as W191) at end of file. * Add ``--indent-size`` option (defaulting to ``4``). * W605: fix escaped crlf false positive on windows. * Thu May 14 2020 Benjamin Greiner - Update to version 2.6.0 * E306: fix detection inside ``async def``. PR gh#PyCQA/pycodestyle#929. * E301: fix regression disallowing decorated one-liners. PR gh#PyCQA/pycodestyle#927. * E714: fix false positive with chained ``is not``. PR gh#PyCQA/pycodestyle#931.- Update to version 2.6.0a1 New checks: * E225: require whitespace around ``and`` ``in`` ``is`` and ``or``. PR gh#PyCQA/pycodestyle#847. Changes: * E117: fix indentation using tabs by treating as 8-space indents. PR gh#PyCQA/pycodestyle#837. * E721: fix false positive with names containg ``istype``. PR gh#PyCQA/pycodestyle#850. * E741: allow ``l`` as a named argument in a function call. PR gh#PyCQA/pycodestyle#853. * E302: fix false-negative with decorated functions. PR gh#PyCQA/pycodestyle#859. * W504: ellipsis (``...``) is no longer treated as a binary operator. PR gh#PyCQA/pycodestyle#875. * E402: allow ``with``, ``if``, ``elif``, ``else`` to guard imports. PR gh#PyCQA/pycodestyle#834. * Add support for assignment expressions ``:=`` (PEP 572). PR gh#PyCQA/pycodestyle#879. * Add support for positional-only arguments ``/`` (PEP 570). PR gh#PyCQA/pycodestyle#872, gh#PyCQA/pycodestyle#918. * Add support for python 3.8. * Add support for matrix multiplication operator ``AATT`` (PEP 465). PR gh#PyCQA/pycodestyle#897. * Support visual indent for continuation lines for ``with`` / ``assert`` / ``raise``. PR gh#PyCQA/pycodestyle#912. * E302: allow two blank lines after a block of one-liners. PR gh#PyCQA/pycodestyle#913. * E302: allow two-and-fewer newlines at the top of the file. PR gh#PyCQA/pycodestyle#919.- install executable as alternative * Thu Jan 31 2019 John Vandenberg - update to version 2.5.0 * New checks: + E117: Over-indented code blocks + W505: Maximum doc-string length only when configured with --max-doc-length * Changes: + Remove support for EOL Python 2.6 and 3.3. PR #720. + Add E117 error for over-indented code blocks. + Allow W605 to be silenced by `# noqa` and fix the position reported by W605 + Allow users to omit blank lines around one-liner definitions of classes and functions + Include the function return annotation (``->``) as requiring surrounding whitespace only on Python 3 + Verify that only names can follow ``await``. Previously we allowed numbers and strings. + Add support for Python 3.7 + Fix detection of annotated argument defaults for E252 + Correct the position reported by W504- Removed comp_w_changes_tokenize.patch as it was merged into version 2.5.0 * Tue Oct 02 2018 Matěj Cepl - Add comp_w_changes_tokenize.patch to make tests more stable (gh#pycqa/pycodestyle#786) * Wed Aug 08 2018 tchvatalAATTsuse.com- Really run tests- Drop devel dependency- Fix provides/obsoletes for pep8 * Wed Apr 11 2018 arunAATTgmx.de- specfile: * update copyright year * add README and LICENSE- update to version 2.4.0: * New checks: + Add W504 warning for checking that a break doesn’t happen after a binary operator. This check is ignored by default. PR #502. + Add W605 warning for invalid escape sequences in string literals. PR #676. + Add W606 warning for ‘async’ and ‘await’ reserved keywords being introduced in Python 3.7. PR #684. + Add E252 error for missing whitespace around equal sign in type annotated function arguments with defaults values. PR #717. * Changes: + An internal bisect search has replaced a linear search in order to improve efficiency. PR #648. + pycodestyle now uses PyPI trove classifiers in order to document supported python versions on PyPI. PR #654. + ‘setup.cfg’ ‘[wheel]’ section has been renamed to ‘[bdist_wheel]’, as the former is legacy. PR #653. + pycodestyle now handles very long lines much more efficiently for python 3.2+. Fixes #643. PR #644. + You can now write ‘pycodestyle.StyleGuide(verbose=True)’ instead of ‘pycodestyle.StyleGuide(verbose=True, paths=[‘-v’])’ in order to achieve verbosity. PR #663. + The distribution of pycodestyle now includes the license text in order to comply with open source licenses which require this. PR [#694]. + ‘maximum_line_length’ now ignores shebang (‘#!’) lines. PR #736. + Add configuration option for the allowed number of blank lines. It is implemented as a top level dictionary which can be easily overwritten. Fixes #732. PR #733. * Bugs: + Prevent a ‘DeprecationWarning’, and a ‘SyntaxError’ in future python, caused by an invalid escape sequence. PR #625. + Correctly report E501 when the first line of a docstring is too long. Resolves #622. PR #630. + Support variable annotation when variable start by a keyword, such as class variable type annotations in python 3.6. PR #640. + pycodestyle internals have been changed in order to allow ‘python3 -m cProfile’ to report correct metrics. PR #647. + Fix a spelling mistake in the description of E722. PR #697. + ‘pycodestyle –diff’ now does not break if your ‘gitconfig’ enables ‘mnemonicprefix’. PR #706. * Sat May 06 2017 toddrme2178AATTgmail.com- Don\'t provide python2-pep8, singlespec packages should use correct name. * Fri Mar 24 2017 jmatejekAATTsuse.com- update for singlespec- rename from pep8 to pycodestyle- delete shebang from pycodestyle.py- update to version 2.3.1 * renamed from pep8 to pycodestyle * removed use of project-level .pep8 config file * updated code style, added new warnings * Mon Aug 15 2016 toddrme2178AATTgmail.com- Fix update-alternatives implementation. * Wed Jan 13 2016 toddrme2178AATTgmail.com- Implement update-alternatives * Wed Jan 13 2016 toddrme2178AATTgmail.com- Update to 1.7.0 + Announcements: * Repository moved to PyCQA Organization on GitHub: https://github.com/pycqa/pep8 + Changes: * Reverted the fix in #368, \"options passed on command line are only ones accepted\" feature. This has many unintended consequences in pep8 and flake8 and needs to be reworked when I have more time. * Added support for Python 3.5. (Issue #420 & #459) * Added support for multi-line config_file option parsing. (Issue #429) * Improved parameter parsing. (Issues #420 & #456) + Bugs: * Fixed BytesWarning on Python 3. (Issue #459) * Tue Feb 17 2015 mciharAATTsuse.cz- Update to 1.6.2: * Added check for breaking around a binary operator. (Issue #197, Pull #305) * Assign variables before referenced. (Issue #287) * Report E731 for lambda assignment. (Issue #277) * Report E704 for one-liner def instead of E701. Do not report this error in the default configuration. (Issue #277) * Replace codes E111, E112 and E113 with codes E114, E115 and E116 for bad indentation of comments. (Issue #274) * Report E266 instead of E265 when the block comment starts with multiple #. (Issue #270) * Report E402 for import statements not at the top of the file. (Issue #264) * Do not enforce whitespaces around * * operator. (Issue #292) * Strip whitespace from around paths during normalization. (Issue #339 / #343) * Update --format documentation. (Issue #198 / Pull Request #310) * Add .tox/ to default excludes. (Issue #335) * Do not report E121 or E126 in the default configuration. (Issues #256 / #316) * Allow spaces around the equals sign in an annotated function. (Issue #357) * Allow trailing backslash if in an inline comment. (Issue #374) * If --config is used, only that configuration is processed. Otherwise, merge the user and local configurations are merged. (Issue #368 / #369) * Tue Jan 20 2015 dap.darknessAATTgmail.com- Added \"Requires: python-setuptools\" to prevent \"ImportError: No module named pkg_resources\" if executed.
|
|
|