Commit Graph

25 Commits

Author SHA256 Message Date
e08d3fa7b4 - update to 2.12.0:
* E721: Fix false positive of the form `x.type(...) ==`.
 * E502: Fix false-negative with a backslash escape in a comment.
 * E204: New lint forbidding whitespace after decorator `@`.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=39
2024-06-17 06:31:24 +00:00
1e5acdb11c - update to 2.11.1:
* E275: fix false positive with fstrings containing keyword
    parts in python 3.12
  testsuite_fixes.patch
  * E301: fix regression disallowing decorated one-liners.
  * E714: fix false positive with chained ``is not``.
  * E225: require whitespace around ``and`` ``in`` ``is`` and ``or``.
    PR gh#PyCQA/pycodestyle#919.
* When no path is specified, do not try to read from stdin.
  * Report E227 or E228 instead of E225 for whitespace around bitwise,

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=37
2023-11-27 15:59:08 +00:00
cd1491fe4c Accepting request 1102969 from home:ecsos:python
- %{?sle15_python_module_pythons} must at beginning of spec to work.

OBS-URL: https://build.opensuse.org/request/show/1102969
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=35
2023-08-09 19:15:24 +00:00
Markéta Machová
35aeb575a9 Accepting request 1102396 from home:mschreiner:branches:devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1102396
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=34
2023-08-04 14:27:30 +00:00
Steve Kowalik
ae379a7fa3 Accepting request 1099247 from home:anag:branches:devel:languages:python
Fix python-codestyle FTBFS, this is blocking cloud-init in staging

OBS-URL: https://build.opensuse.org/request/show/1099247
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=32
2023-07-18 11:36:18 +00:00
4de6fe54d0 Accepting request 1085604 from home:ojkastl_buildservice:Branch_devel_languages_python
add sle15_python_module_pythons

OBS-URL: https://build.opensuse.org/request/show/1085604
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=30
2023-05-09 06:42:11 +00:00
Markéta Machová
c30a2bbd2a Accepting request 1058254 from home:ojkastl_buildservice:Branch_devel_languages_python
cleanup spec, trim %files section and fix %python_clone command

OBS-URL: https://build.opensuse.org/request/show/1058254
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=28
2023-01-16 13:48:10 +00:00
f8e9e069a6 - Update to 2.10.0 (bsc#1206225)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=26
2022-12-15 21:03:10 +00:00
d604e4cb95 - Update to 2.10.0
* 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=25
2022-12-15 20:47:59 +00:00
OBS User buildservice-autocommit
412bfea4d5 Updating link to change in openSUSE:Factory/python-pycodestyle revision 14
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=eb8dc549ee1762a664cccde5b1904a55
2022-12-15 18:54:53 +00:00
18f1d9604f Accepting request 1042740 from home:yarunachalam:branches:devel:languages:python
- Update to 2.10.0 
  * 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.

OBS-URL: https://build.opensuse.org/request/show/1042740
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=23
2022-12-14 10:07:38 +00:00
OBS User buildservice-autocommit
3801f457b4 Updating link to change in openSUSE:Factory/python-pycodestyle revision 12
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=832b57ee33f2cdef5ffaa68ec0ed2ed0
2022-12-08 13:13:48 +00:00
24bb383c0b Accepting request 1040648 from home:yarunachalam:branches:devel:languages:python
- Update to version 2.10.0 
  * 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.

OBS-URL: https://build.opensuse.org/request/show/1040648
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=21
2022-12-06 16:01:22 +00:00
92c364a231 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=19
2022-08-15 11:02:18 +00:00
b039e2fe93 Accepting request 929188 from home:susnux:branches:devel:languages:python
- Update to version 2.8.0

OBS-URL: https://build.opensuse.org/request/show/929188
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=18
2021-11-06 10:25:12 +00:00
d7dcd3cb34 Accepting request 879527 from home:jayvdb:flake8
- Update to v2.7.0

OBS-URL: https://build.opensuse.org/request/show/879527
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=16
2021-03-18 08:06:50 +00:00
Tomáš Chvátal
227673db14 Accepting request 805552 from home:bnavigator:branches:devel:languages:python
- 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 ``@`` (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

OBS-URL: https://build.opensuse.org/request/show/805552
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=14
2020-05-14 12:56:25 +00:00
Tomáš Chvátal
086fb9c49a Accepting request 670469 from home:jayvdb:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/670469
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=12
2019-02-01 10:49:05 +00:00
bb4ba55772 Accepting request 639619 from home:mcepl:work
- Add comp_w_changes_tokenize.patch to make tests more stable
  (gh#pycqa/pycodestyle#786)

OBS-URL: https://build.opensuse.org/request/show/639619
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=10
2018-10-02 15:04:14 +00:00
Tomáš Chvátal
a3f4a04e1c - Fix provides/obsoletes for pep8
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=8
2018-08-08 12:40:21 +00:00
Tomáš Chvátal
e680be71d6 - Really run tests
- Drop devel dependency

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=7
2018-08-08 12:39:58 +00:00
Tomáš Chvátal
3952b8659f Accepting request 595497 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/595497
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=5
2018-04-11 07:42:43 +00:00
Todd R
67f19c64e4 Accepting request 493123 from home:TheBlackCat:branches:devel:languages:python
Don't provide python2-pep8, singlespec packages should use correct name.

OBS-URL: https://build.opensuse.org/request/show/493123
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=3
2017-05-06 04:27:27 +00:00
Dominique Leuenberger
f7b7b4d550 Accepting request 483177 from devel:languages:python
This package combined python3-pycodestyle, which is already in openSUSE:Factory, with a python2 version using the new single-spec macros.  It replaces python3-pycodestyle, which will receive a delete request as soon as this is accepted.

OBS-URL: https://build.opensuse.org/request/show/483177
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycodestyle?expand=0&rev=1
2017-04-19 16:04:22 +00:00
Jan Matejek
1031b3f495 - 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

- Fix update-alternatives implementation.

- Implement update-alternatives

- 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)

- 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=1
2017-03-24 14:59:09 +00:00