1
0
forked from pool/python-flake8

105 Commits

Author SHA256 Message Date
e78278d21d Accepting request 1293763 from devel:languages:python
- update to 7.3.0:
  * pycodestyle has been updated to >= 2.4.0, < 2.5.0
  * Pyflakes has been updated to >= 2.0.0, < 2.1.0
  * Add ``paths`` to allow local plugins to exist outside of
    ``sys.path`` (See also :issue:`1067`, :issue:`1237`)
  * Copy ``setup.cfg`` files to the temporary git hook execution
    directory (See also :issue:`1299`)
  * Only skip a file if ``# flake8: noqa`` is on a line by itself
  * Provide a better user experience for broken plugins
  * Report ``E902`` when a file passed on the command line does
    not exist (See also :issue:`645`, :issue:`878`)
  * Add ``--extend-ignore`` for extending the default ``ignore``
    instead of overriding it (See also :issue:`1061`, :issue:`1180`)
  * Respect a formatter's newline setting when printing
  * Fix leaking of processes in the legacy api
  * Fix a ``SyntaxWarning`` for an invalid escape sequence
  * Fix ``DeprecationWarning`` due to import of ``abc`` classes
  * Defer ``setuptools`` import to improve flake8 startup time
  * Fix inconsistent line endings in ``FileProcessor.lines``
    when running under python 3.x

OBS-URL: https://build.opensuse.org/request/show/1293763
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=49
2025-07-17 15:17:06 +00:00
709d568887 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=102 2025-07-16 10:49:13 +00:00
2e625e2744 - update to 7.3.0:
* pycodestyle has been updated to >= 2.4.0, < 2.5.0
  * Pyflakes has been updated to >= 2.0.0, < 2.1.0
  * Add ``paths`` to allow local plugins to exist outside of
    ``sys.path`` (See also :issue:`1067`, :issue:`1237`)
  * Copy ``setup.cfg`` files to the temporary git hook execution
    directory (See also :issue:`1299`)
  * Only skip a file if ``# flake8: noqa`` is on a line by itself
  * Provide a better user experience for broken plugins
  * Report ``E902`` when a file passed on the command line does
    not exist (See also :issue:`645`, :issue:`878`)
  * Add ``--extend-ignore`` for extending the default ``ignore``
    instead of overriding it (See also :issue:`1061`, :issue:`1180`)
  * Respect a formatter's newline setting when printing
  * Fix leaking of processes in the legacy api
  * Fix a ``SyntaxWarning`` for an invalid escape sequence
  * Fix ``DeprecationWarning`` due to import of ``abc`` classes
  * Defer ``setuptools`` import to improve flake8 startup time
  * Fix inconsistent line endings in ``FileProcessor.lines``
    when running under python 3.x

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=101
2025-07-13 12:35:04 +00:00
b4c172dfc7 Accepting request 1291284 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1291284
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=48
2025-07-09 15:26:15 +00:00
4e2d3d434b - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=99
2025-07-08 13:28:42 +00:00
5a0a6a0aab Accepting request 1269469 from devel:languages:python
- update to 7.2.0:
  * pycodestyle has been updated to >= 2.13.0, < 2.14.0
  * pyflakes has been updated to >= 3.3.0, < 3.4.0
  * Require python >= 3.9 (See also :pull:`1973`).

OBS-URL: https://build.opensuse.org/request/show/1269469
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=47
2025-05-20 07:30:56 +00:00
d072610c3a - update to 7.2.0:
* pycodestyle has been updated to >= 2.13.0, < 2.14.0
  * pyflakes has been updated to >= 3.3.0, < 3.4.0
  * Require python >= 3.9 (See also :pull:`1973`).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=97
2025-04-15 07:55:11 +00:00
73bc3f8e5b Accepting request 1195178 from devel:languages:python
- update to 7.1.1:
  * Properly preserve escaped `{` and `}` in fstrings in logical
    lines in 3.12+.

OBS-URL: https://build.opensuse.org/request/show/1195178
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=46
2024-08-22 16:10:35 +00:00
2c122f9640 Accepting request 1181242 from devel:languages:python
- update to 7.1.0:
  * require pycodestyle 2.12.0

OBS-URL: https://build.opensuse.org/request/show/1181242
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=45
2024-06-17 17:27:37 +00:00
cfd84651bd - update to 7.1.0:
* require pycodestyle 2.12.0

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=93
2024-06-17 06:31:54 +00:00
63e93a1c41 Accepting request 1137099 from devel:languages:python
- update to 7.0.0:
  * Remove ``--include-in-doctest`` and ``--exclude-from-doctest``
    options.
  * Pyflakes has been updated to >= 3.2.0, < 3.3.0

  * Ignore unfixed warning.
- remove remove_mock_dependency.patch

OBS-URL: https://build.opensuse.org/request/show/1137099
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=44
2024-01-06 16:29:14 +00:00
0906f00d25 - update to 7.0.0:
* Remove ``--include-in-doctest`` and ``--exclude-from-doctest``
    options.
  * Pyflakes has been updated to >= 3.2.0, < 3.3.0
  * Ignore unfixed warning.
- remove remove_mock_dependency.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=91
2024-01-05 15:57:14 +00:00
47b1cdb190 Accepting request 1102807 from devel:languages:python
- Update to 6.1.0:
  * Pyflakes has been updated to >= 3.1.0, < 3.2.0 (See also #1847).
  * pycodestyle has been updated to >= 2.11.0, < 2.12.0 (See also #1848).
  * Deprecate --include-in-doctest, --exclude-from-doctest
   (See also #1747, #1768).
  * Add support for python 3.12 (See also #1832, #1849, #1850).
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1102807
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=43
2023-08-14 20:35:02 +00:00
3a53140c7b - Update to 6.1.0:
* Pyflakes has been updated to >= 3.1.0, < 3.2.0 (See also #1847).
  * pycodestyle has been updated to >= 2.11.0, < 2.12.0 (See also #1848).
  * Deprecate --include-in-doctest, --exclude-from-doctest
   (See also #1747, #1768).
  * Add support for python 3.12 (See also #1832, #1849, #1850).
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=89
2023-08-08 06:21:59 +00:00
efb498d5f1 Accepting request 1085627 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1085627
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=42
2023-05-09 11:09:03 +00:00
07e68500ae Accepting request 1085540 from home:ojkastl_buildservice:Branch_devel_languages_python
add sle15_python_module_pythons

OBS-URL: https://build.opensuse.org/request/show/1085540
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=87
2023-05-09 06:39:19 +00:00
24a0e5db76 Accepting request 1043219 from devel:languages:python
- update to 6.0.0 (bsc#1206225):
  * https://flake8.pycqa.org/en/latest/release-notes/6.0.0.html
  * Require python >= 3.8.1 (See also #1633, #1741).
  * List available formatters in for --format option in --help (See also #223, #1624).
  * Improve multiprocessing performance (See also #1723).
  * Enable multiprocessing on non-fork platforms (See also #1723).
  * Ensure results are sorted when discovered from files (See also #1670, #1726).

OBS-URL: https://build.opensuse.org/request/show/1043219
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=41
2022-12-16 16:51:41 +00:00
9589b3b6dd - update to 6.0.0 (bsc#1206225):
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=85
2022-12-15 21:02:17 +00:00
9bc92b2de7 - update to 6.0.0:
* https://flake8.pycqa.org/en/latest/release-notes/6.0.0.html
  * Require python >= 3.8.1 (See also #1633, #1741).
  * List available formatters in for --format option in --help (See also #223, #1624).
  * Improve multiprocessing performance (See also #1723).
  * Enable multiprocessing on non-fork platforms (See also #1723).
  * Ensure results are sorted when discovered from files (See also #1670, #1726).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=84
2022-12-15 20:59:09 +00:00
b25f20b39d Accepting request 999905 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/999905
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=40
2022-08-30 12:49:00 +00:00
b2b2663ff2 Accepting request 999541 from home:bnavigator:branches:devel:languages:python
- Pin to upstream's ranges in dependendcies in order to not break
  downstream packages all the time
  https://flake8.pycqa.org/en/latest/faq.html#why-does-flake8-use-ranges-for-its-dependencies
- Remove obsolete python2 packaging directives

OBS-URL: https://build.opensuse.org/request/show/999541
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=82
2022-08-29 09:39:45 +00:00
5b4f5a816c Accepting request 997695 from devel:languages:python
- update to 5.0.4:
  * Remove ``indent_size_str`` (See also :pull:`1411`).
  * Remove some dead code (See also :pull:`1453`, :pull:`1540`, :pull:`1541`).
  * Missing explicitly-specified configuration is now an error (See also
  :issue:`1497`, :pull:`1498`).
  * Always read configuration files as UTF-8 (See also :issue:`1532`,
  :pull:`1533`).
  * Remove manpage from docs -- use ``help2man`` or related tools instead (See
  also :pull:`1557`).
  * Forbid invalid plugin codes (See also :issue:`325`, :pull:`1579`).
  * lots of bugfixes, see included changelog
- drop fix-mock-patch-with-python3.4.patch fix-recent-flake8-stdoutWriteHook-change.patch (obsolete/upstream)

OBS-URL: https://build.opensuse.org/request/show/997695
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=39
2022-08-23 12:25:38 +00:00
6fd226b04f - update to 5.0.4:
* Remove ``indent_size_str`` (See also :pull:`1411`).
  * Remove some dead code (See also :pull:`1453`, :pull:`1540`, :pull:`1541`).
  * Missing explicitly-specified configuration is now an error (See also
  :issue:`1497`, :pull:`1498`).
  * Always read configuration files as UTF-8 (See also :issue:`1532`,
  :pull:`1533`).
  * Remove manpage from docs -- use ``help2man`` or related tools instead (See
  also :pull:`1557`).
  * Forbid invalid plugin codes (See also :issue:`325`, :pull:`1579`).
  * lots of bugfixes, see included changelog
- drop fix-mock-patch-with-python3.4.patch fix-recent-flake8-stdoutWriteHook-change.patch (obsolete/upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=80
2022-08-18 09:01:17 +00:00
e63b435264 Accepting request 962908 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/962908
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=38
2022-03-20 19:55:08 +00:00
c08a210424 Accepting request 962513 from home:pgajdos:python
- python-mock is actually not needed for build

OBS-URL: https://build.opensuse.org/request/show/962513
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=78
2022-03-18 17:03:39 +00:00
33c96797e1 Accepting request 931515 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/931515
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=37
2021-11-20 01:38:06 +00:00
b42fbe98b9 Accepting request 931330 from home:marxin:branches:devel:languages:python
- Add temporarily workaround for https://github.com/tholo/pytest-flake8/issues/81
  (fix-recent-flake8-stdoutWriteHook-change.patch).

OBS-URL: https://build.opensuse.org/request/show/931330
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=77
2021-11-15 11:32:41 +00:00
5abe8f6f45 Accepting request 930697 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/930697
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=36
2021-11-12 14:59:07 +00:00
9b70505bd2 Accepting request 930687 from home:marxin:branches:devel:languages:python
- update to 4.0.1:
  * Update spec python module dependencies accordingly.
  * Fix parallel execution collecting a SyntaxError (See also #1410 #1408).
- update to 4.0.0:
  * Remove --install-hook vcs integration (See also #1008).
  * Remove setuptools command (See also #1009).
  * Migrate from GitLab to GitHub (See also #1305).
  * Due to constant confusion by users, user-level |Flake8| configuration files
    are no longer supported. Files will not be searched for in the user's home
    directory (e.g., ~/.flake8) nor in the XDG config directory (e.g.,
    ~/.config/flake8).  (See also #1404).
  * pycodestyle has been updated to >= 2.8.0, < 2.9.0 (See also #1406).
  * Pyflakes has been updated to >= 2.4.0, < 2.5.0 (See also #1406).
  * flake8 requires python >= 3.6 (See also #1010).
  * Add --extend-select option (See also #1312 #1061).
  * Automatically create directories for output files (See also #1329).
  * ast parse before tokenizing to improve SyntaxError errors (See also
    #1320 #740).
  * Fix warning in --indent-size argparse help (See also #1367).
  * Fix handling SyntaxError in python 3.10+ (See also #1374
    #1372).
  * Fix writing non-cp1252-encodable when output is piped on windows (See also
    #1382 #1381).
- Rebase fix-mock-patch-with-python3.4.patch and remove ignore-selectable-groups-warning.patch.

OBS-URL: https://build.opensuse.org/request/show/930687
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=76
2021-11-10 14:27:52 +00:00
dd8015d3db Accepting request 921252 from devel:languages:python
- Add ignore-selectable-groups-warning.patch:
  * Ignore unfixed warning.

OBS-URL: https://build.opensuse.org/request/show/921252
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=35
2021-09-26 19:48:38 +00:00
005b78d133 - Add ignore-selectable-groups-warning.patch:
* Ignore unfixed warning.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=75
2021-09-24 09:07:25 +00:00
418b23bd81 Accepting request 897850 from devel:languages:python
- update to 3.9.2:
  * Fix codes being ignored by plugins utilizing ``extend_default_ignore``
  * Fix error message for ``E111`` in ``pycodestyle``
  *  ``indent_size_str`` is deprecated, use ``str(indent_size)`` instead

OBS-URL: https://build.opensuse.org/request/show/897850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=34
2021-06-11 20:30:18 +00:00
25b6b7566d - update to 3.9.2:
* Fix codes being ignored by plugins utilizing ``extend_default_ignore``
  * Fix error message for ``E111`` in ``pycodestyle``
  *  ``indent_size_str`` is deprecated, use ``str(indent_size)`` instead

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=73
2021-06-06 12:37:00 +00:00
ce789863d0 Accepting request 879751 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/879751
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=33
2021-03-21 22:18:58 +00:00
dcef4417d5 Accepting request 879528 from home:jayvdb:flake8
- Update to v3.9.0

OBS-URL: https://build.opensuse.org/request/show/879528
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=71
2021-03-17 22:38:39 +00:00
a789e9a5e8 Accepting request 840912 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/840912
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=32
2020-10-29 08:47:17 +00:00
Tomáš Chvátal
31e1a52521 Accepting request 840889 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/840889
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=69
2020-10-10 20:58:09 +00:00
a941250757 Accepting request 830733 from devel:languages:python
- Add patch to fix build with pytest 6:
  * pytest6.patch

OBS-URL: https://build.opensuse.org/request/show/830733
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=31
2020-09-04 09:03:03 +00:00
Tomáš Chvátal
e4b944acc3 - Add patch to fix build with pytest 6:
* pytest6.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=67
2020-08-31 10:21:19 +00:00
736602c574 Accepting request 820510 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/820510
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=30
2020-07-15 10:09:28 +00:00
Tomáš Chvátal
1c6d8b60ef Accepting request 820453 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/820453
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=65
2020-07-12 06:38:03 +00:00
7f0108b6c2 Accepting request 810992 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/810992
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=29
2020-06-05 18:00:10 +00:00
Tomáš Chvátal
1a92fbd2e9 Accepting request 810978 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/810978
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=63
2020-06-03 05:56:31 +00:00
a246db3576 Accepting request 805760 from devel:languages:python
- Update to 3.8.1
  * Fix --output-file (regression in 3.8.0) (See also GitLab!427,
    GitLab#637)
- Update notes for 3.8.0
   * Fix logical checks which report positions out of bounds (See also
     GitLab!422, GitLab#635)
   * Fix --exclude=.* accidentally matching . and .. (See also GitLab!424,
     GitLab#632)
   * Add deprecation message for vcs hooks (See also GitLab!420, GitLab#568)
- Update notes for 3.8.0a2
   * Fix type="str" optparse options (See also GitLab!419)
- Update notes for 3.8.0a1
  New Dependency Information
  * Remove dependency on entrypoints and add dependency on importlib-metadata
    (only for python<3.8) (See also GitLab!388, GitLab#569)
  * Pyflakes has been updated to >= 2.2.0, < 2.3.0 (See also GitLab!417)
  * pycodestyle has been updated to >= 2.6.0a1, < 2.7.0 (See also GitLab!418)
  Features
  * Add --extend-exclude option to add to --exclude without overwriting (See
    also GitLab!315, GitLab#535)
  * Move argument parsing from optparse to argparse (See also GitLab!341
  * Group plugin options in --help (See also GitLab!342, GitLab#565)
  * Remove parsing of verbose from configuration files as it was not
    consistently applied (See also GitLab!360, GitLab#439)
  * Remove parsing of output_file from configuration files as it was not
    consistently applied (See also GitLab!361)
  * Resolve configuration files relative to cwd instead of common prefix of
    passed filenames. You may need to change flake8 subproject to cd subproject
    && flake8 . (See also GitLab!363)
  * Officially support python3.8 (See also GitLab!377)

OBS-URL: https://build.opensuse.org/request/show/805760
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=28
2020-05-28 07:06:08 +00:00
Tomáš Chvátal
dca366679e OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=61 2020-05-15 08:12:58 +00:00
Tomáš Chvátal
49f4ac8ead Accepting request 805568 from home:bnavigator:branches:devel:languages:python
- Update to 3.8.1
  * Fix --output-file (regression in 3.8.0) (See also GitLab!427,
    GitLab#637)
- Update notes for 3.8.0
   * Fix logical checks which report positions out of bounds (See also
     GitLab!422, GitLab#635)
   * Fix --exclude=.* accidentally matching . and .. (See also GitLab!424,
     GitLab#632)
   * Add deprecation message for vcs hooks (See also GitLab!420, GitLab#568)
- Update notes for 3.8.0a2
   * Fix type="str" optparse options (See also GitLab!419)
- Update notes for 3.8.0a1
  New Dependency Information
  * Remove dependency on entrypoints and add dependency on importlib-metadata
    (only for python<3.8) (See also GitLab!388, GitLab#569)
  * Pyflakes has been updated to >= 2.2.0, < 2.3.0 (See also GitLab!417)
  * pycodestyle has been updated to >= 2.6.0a1, < 2.7.0 (See also GitLab!418)
  Features
  * Add --extend-exclude option to add to --exclude without overwriting (See
    also GitLab!315, GitLab#535)
  * Move argument parsing from optparse to argparse (See also GitLab!341
  * Group plugin options in --help (See also GitLab!342, GitLab#565)
  * Remove parsing of verbose from configuration files as it was not
    consistently applied (See also GitLab!360, GitLab#439)
  * Remove parsing of output_file from configuration files as it was not
    consistently applied (See also GitLab!361)
  * Resolve configuration files relative to cwd instead of common prefix of
    passed filenames. You may need to change flake8 subproject to cd subproject
    && flake8 . (See also GitLab!363)
  * Officially support python3.8 (See also GitLab!377)
  * --disable-noqa now also disables # flake8: noqa (See also GitLab!380,
    GitLab#590)
  * Ensure that a missing file produces a E902 error (See also GitLab!404,
    GitLab#600)
  * # noqa comments now apply to all of the lines in an explicit \ continuation
    or in a line continued by a multi-line string (See also GitLab!413, GitLab#375)
  Bugs Fixed
  * Fix --exclude=./t.py to only match t.py at the top level (See also
    GitLab!311, GitLab#382)
  * Fix --show-source when a file is indented with tabs (See also GitLab!339,
    GitLab#563)
  * Fix crash when --max-line-length is given a non-integer (See also
    GitLab!341, GitLab#541)
  * Prevent flip-flopping of indent_char causing extra E101 errors (See also
    GitLab!357, pycodestyle#886)
  * Only enable multiprocessing when the method is fork fixing issues on macos
    with python3.8+ (See also GitLab!366, GitLab#587) (note: this fix also
    landed in 3.7.9)
  * noqa is now only handled by flake8 fixing specific-noqa. Plugins requesting
    this parameter will always receive False (See also GitLab!331, GitLab#552)
  * Fix duplicate loading of plugins when invoked via python -m flake8 (See also
    GitLab!388)
  * Fix early exit when --exit-zero and --diff are provided and the diff is
    empty (See also GitLab!391)
  * Consistently split lines when \f is present when reading from stdin
    (See also GitLab!406, GitLab#270)
  Deprecations
  * python setup.py flake8 (setuptools integration) is now deprecated and will
    be removed in a future version (See also GitLab!330, GitLab#544)
  * type='string' (optparse) types are deprecated, use type=callable (argparse)
    instead. Support for type='string' will be removed in a future version (See
    also GitLab!341)
  * %default in plugin option help text is deprecated, use %(default)s instead.
    Support for %default will be removed in a future version (See also
    GitLab!341)
  * optparse-style action='callback' setting for options is deprecated,
    use argparse action classes instead. This will be removed in a future
    version (See also GitLab!341)
- remove remove_mock_dependency.patch 
- remove pyflakes-version.patch

OBS-URL: https://build.opensuse.org/request/show/805568
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=60
2020-05-15 08:12:26 +00:00
61309e72e9 Accepting request 800170 from devel:languages:python
- Skip failing test_all_pyflakes_messages_have_flake8_codes_assigned test
  (gl#pycqa/flake8#633)
- Add pyflakes-version.patch to make the package work with
  the pyflakes in Factory now.

OBS-URL: https://build.opensuse.org/request/show/800170
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=27
2020-05-11 11:25:50 +00:00
30bdf95726 - Add pyflakes-version.patch to make the package work with
the pyflakes in Factory now.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=58
2020-05-04 21:18:01 +00:00
f95e19104d Fix changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=57
2020-05-04 21:07:17 +00:00
7e3d2eeac6 - Skip failing test_all_pyflakes_messages_have_flake8_codes_assigned test
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=56
2020-05-04 20:33:15 +00:00
e0ba9f6d95 Accepting request 751377 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/751377
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=26
2019-12-02 10:32:53 +00:00
Tomáš Chvátal
211a3d8449 - Update to 3.7.9:
* Disable multiprocessing when the multiprocessing method is spawn
    (such as on macos in python3.8) (See also GitLab!367, GitLab#587)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=54
2019-11-20 15:01:36 +00:00
a2363dfcf3 Accepting request 717079 from devel:languages:python
- Update to 3.7.8:
  * Fix handling of Application.parse_preliminary_options_and_args when
    argv is an empty list (See also GitLab!310, GitLab#518)
  * Fix crash when a file parses but fails to tokenize (See also GitLab!314,
    GitLab#532)
  * Log the full traceback on plugin exceptions (See also GitLab!317)
  * Fix # noqa: ... comments with multi-letter codes (See also GitLab!326,
    GitLab#549)
- Rebase remove_mock_dependency.patch

OBS-URL: https://build.opensuse.org/request/show/717079
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=25
2019-07-30 11:03:04 +00:00
Tomáš Chvátal
0ab2554382 - Update to 3.7.8:
* Fix handling of Application.parse_preliminary_options_and_args when
    argv is an empty list (See also GitLab!310, GitLab#518)
  * Fix crash when a file parses but fails to tokenize (See also GitLab!314,
    GitLab#532)
  * Log the full traceback on plugin exceptions (See also GitLab!317)
  * Fix # noqa: ... comments with multi-letter codes (See also GitLab!326,
    GitLab#549)
- Rebase remove_mock_dependency.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=52
2019-07-19 12:21:54 +00:00
7b46de8c54 Accepting request 681065 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/681065
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=24
2019-03-04 08:12:22 +00:00
Tomáš Chvátal
7913250517 Accepting request 681063 from home:jayvdb:flake8
- Create doc sub package with rst files, and README.rst
- Replace main package %doc README.rst with manpage.rst
- Simplify dependency on python-typing, which is provided by python3-base when it isnt a separate dependency

OBS-URL: https://build.opensuse.org/request/show/681063
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=50
2019-03-03 08:36:36 +00:00
60f4cda69d Accepting request 680681 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/680681
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=49
2019-03-02 11:11:35 +00:00
82958f85d7 Accepting request 678215 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/678215
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=23
2019-02-26 21:15:26 +00:00
Tomáš Chvátal
34a931eb92 Accepting request 678073 from home:jayvdb:flake8
- Update to v3.7.6
  * Fix ``--per-file-ignores`` for multi-letter error codes
  * Improve flake8 speed when only 1 filename is passed

OBS-URL: https://build.opensuse.org/request/show/678073
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=47
2019-02-22 10:42:42 +00:00
dc41abf49c Accepting request 672301 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/672301
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=22
2019-02-14 13:12:14 +00:00
Tomáš Chvátal
4ca7b43c11 Accepting request 672184 from home:alarrosa:branches:devel:languages:python
- Add missing dependency on python3-typing when python3 < 3.5
- Add fix-mock-patch-with-python3.4.patch to fix building the package in
  Leap 42.3. In python 3.5, mock.patch uses create=True automatically if
  you are patching builtins in a module, but in python 3.4 the argument
  is still needed.

- Enable tests
- Add allow-bytes-filenames.patch to fix some tests that fail because
  they pass bytes objects as filenames.
- Update remove_mock_dependency.patch to fix another test that used mock

OBS-URL: https://build.opensuse.org/request/show/672184
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=45
2019-02-06 21:25:51 +00:00
a15f4220a7 Accepting request 671477 from home:alarrosa:branches:devel:languages:python
- Update to version 3.7.5:
  * Bugs Fixed
    + Fix reporting of pyflakes "referenced before assignment" error
      (See also GitLab!301, GitLab#503)
- Update to version 3.7.4:
  * Bugs Fixed
    + Fix performance regression with lots of per-file-ignores and errors
      (See also GitLab!299, GitLab#501)
- Update to version 3.7.3:
  * Bugs Fixed
    + Fix imports of typing in python 3.5.0 / 3.5.1 (See also GitLab!294,
      GitLab#498)
    + Fix flake8 --statistics (See also GitLab!295, GitLab#499)
    + Gracefully ignore flake8-per-file-ignores plugin if installed
      (See also GitLab!297, GitLab#495)
    + Improve error message for malformed per-file-ignores
      (See also GitLab!298, GitLab#489)
- Update to version 3.7.2:
  * Bugs Fixed
    + Fix broken flake8 --diff (regressed in 3.7.0) (See also GitLab!292,
      GitLab#490)
    + Fix typo in plugin exception reporting (See also GitLab!275, GitLab#491)
    + Fix AttributeError while attempting to use the legacy api
      (regressed in 3.7.0) (See also GitLab!293, GitLab#497)
- Update to version 3.7.1:
  * Bugs Fixed
    + Fix capitalized filenames in per-file-ignores setting (See also GitLab!290, GitLab#488)
- Update to version 3.7.0:
  * New Dependency Information
    + Add dependency on entrypoints >= 0.3, < 0.4

OBS-URL: https://build.opensuse.org/request/show/671477
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=44
2019-02-05 10:24:45 +00:00
Stephan Kulow
cbf9422d34 Accepting request 669479 from devel:languages:python
- Add patch to build with pyflakes-2.1.0:
  * pyflakes21.patch

OBS-URL: https://build.opensuse.org/request/show/669479
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=21
2019-02-02 20:45:29 +00:00
Tomáš Chvátal
534c97de13 - Add patch to build with pyflakes-2.1.0:
* pyflakes21.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=42
2019-01-29 09:22:10 +00:00
07f86f6794 Accepting request 646015 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/646015
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=20
2018-11-09 06:50:28 +00:00
Tomáš Chvátal
8d64060a6f Accepting request 645959 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/645959
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=40
2018-11-02 08:15:41 +00:00
a78ee7a7e8 Accepting request 633525 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/633525
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=19
2018-09-10 10:31:12 +00:00
67e32bea8d Accepting request 633520 from home:mcepl:work
- Add remove_mock_dependency.patch patch providing independence from the
  external mock package.

OBS-URL: https://build.opensuse.org/request/show/633520
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=38
2018-09-05 22:21:58 +00:00
3eff466f28 Accepting request 628277 from devel:languages:python
- Add patch to build with pyflakes-2.0.x:
  * python-flake8-3.5.0-pyflakes-2.0.0.patch

OBS-URL: https://build.opensuse.org/request/show/628277
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=18
2018-08-27 10:53:47 +00:00
Tomáš Chvátal
734d1f2728 - Add patch to build with pyflakes-2.0.x:
* python-flake8-3.5.0-pyflakes-2.0.0.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=36
2018-08-08 21:44:53 +00:00
ca97041da6 Accepting request 596728 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/596728
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=17
2018-04-22 12:30:12 +00:00
Tomáš Chvátal
f1e28beae6 Accepting request 596722 from home:sebix:branches:devel:languages:python
- add fix_pycodestyle_240.patch to fix compatibility with pycodestyle
  version 2.4.0. fixes boo#1089438
- use %license macro for license file

OBS-URL: https://build.opensuse.org/request/show/596722
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=34
2018-04-15 13:59:22 +00:00
c6b8fe97ad Accepting request 563588 from devel:languages:python
- Fix build with python3 only, add condition for the py2 only deps (forwarded request 563586 from scarabeus_iv)

OBS-URL: https://build.opensuse.org/request/show/563588
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=16
2018-01-16 08:37:28 +00:00
Tomáš Chvátal
205223e3ab Accepting request 563586 from openSUSE:Factory:Staging:O
- Fix build with python3 only, add condition for the py2 only deps

OBS-URL: https://build.opensuse.org/request/show/563586
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=32
2018-01-11 12:13:07 +00:00
624d9f614f Accepting request 536264 from devel:languages:python
- update to 3.5.0:
  - Start using new PyCodestyle checks for bare excepts and ambiguous identifier
  drop 0001-Update-pyflakes-range-and-include-doc-links.patch: upstream

- update to 3.4.1
- Add 0001-Update-pyflakes-range-and-include-doc-links.patch from upstream
  in order to allow using pyflakes >= 1.6.0

  * Bug Fix exceptions when output on stdout is truncated before
  * Bug Do not verify dependencies of extensions loaded via
  * Bug Files excluded in a config file were not being excluded
  - Re-enable multiprocessing by default while fixing the issue
  - Turn off multiple jobs by default. To enable automatic use
- Initial package (2.0)

OBS-URL: https://build.opensuse.org/request/show/536264
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=15
2017-10-28 12:18:49 +00:00
a335cb7705 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=30 2017-10-24 09:01:08 +00:00
806b8499e3 - update to 3.5.0:
- Start using new PyCodestyle checks for bare excepts and ambiguous identifier
  drop 0001-Update-pyflakes-range-and-include-doc-links.patch: upstream
- update to 3.4.1
  * Bug Fix exceptions when output on stdout is truncated before
  * Bug Do not verify dependencies of extensions loaded via
  * Bug Files excluded in a config file were not being excluded
  - Re-enable multiprocessing by default while fixing the issue
  - Turn off multiple jobs by default. To enable automatic use
- Initial package (2.0)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=29
2017-10-24 09:00:38 +00:00
1e77eb5aeb Accepting request 534933 from home:alarrosa:branches:devel:languages:python
- update to 3.4.1 
- Add 0001-Update-pyflakes-range-and-include-doc-links.patch from upstream
  in order to allow using pyflakes >= 1.6.0

OBS-URL: https://build.opensuse.org/request/show/534933
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=28
2017-10-19 21:47:29 +00:00
92e8d956b4 Accepting request 483178 from devel:languages:python
- update for singlespec
- update to 3.3.0

OBS-URL: https://build.opensuse.org/request/show/483178
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=14
2017-04-19 16:04:31 +00:00
Jan Matejek
8e0c1d341a - update for singlespec
- update to 3.3.0
  * fix setuptools integration
  * drop python 2.6 and python < 3.4 support
  * nonzero exit on problems
  * python 3.6 support
  * performance improvements
- switch requirement from pep8 to pycodestyle
- switch test runner from nose to pytest

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=26
2017-03-24 15:40:30 +00:00
44d64cc642 Accepting request 419447 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/419447
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=13
2016-08-22 11:59:10 +00:00
Todd R
09603db66d Accepting request 419446 from home:TheBlackCat:branches:devel:languages:python
Fix update-alternatives implementation.

OBS-URL: https://build.opensuse.org/request/show/419446
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=24
2016-08-15 15:36:52 +00:00
5495354075 Accepting request 353348 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/353348
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=12
2016-01-20 08:53:24 +00:00
Todd R
42dbcea85c Accepting request 353346 from home:TheBlackCat:branches:devel:languages:python
Update to 2.5.1

OBS-URL: https://build.opensuse.org/request/show/353346
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=22
2016-01-13 09:39:35 +00:00
5620f7c2be Accepting request 322369 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/322369
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=11
2015-08-21 05:38:26 +00:00
Todd R
40e0936688 Accepting request 321557 from home:mlin7442:branches:devel:languages:python
fix tests using mock 1.1.x

OBS-URL: https://build.opensuse.org/request/show/321557
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=20
2015-08-13 11:21:58 +00:00
1345b0b4c0 Accepting request 288069 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/288069
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=10
2015-03-05 14:35:30 +00:00
2c0299908f Accepting request 288001 from home:tbechtold:branches:devel:languages:python
New upstream release

OBS-URL: https://build.opensuse.org/request/show/288001
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=18
2015-02-27 11:40:15 +00:00
6cbaf05a56 Accepting request 280586 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/280586
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=9
2015-01-15 14:58:09 +00:00
Jan Matejek
2c31bca1a5 Accepting request 280287 from Cloud:OpenStack:Master
- update to 2.2.3:
  * Actually turn multiprocessing on by default
- Update Requires for pyflakes, pep8 and mccabe

OBS-URL: https://build.opensuse.org/request/show/280287
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=16
2015-01-09 13:46:54 +00:00
Stephan Kulow
a256607798 Accepting request 240189 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/240189
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=7
2014-07-11 04:46:06 +00:00
Todd R
bd193d2c45 Accepting request 240188 from home:TheBlackCat:branches:devel:languages:python
Update to 2.2.2

OBS-URL: https://build.opensuse.org/request/show/240188
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=14
2014-07-10 13:08:06 +00:00
Stephan Kulow
723d2d41c2 Accepting request 239099 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/239099
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=6
2014-07-02 13:05:01 +00:00
Sascha Peilicke
f9261a959d Accepting request 238841 from Cloud:OpenStack:Master
- update to 2.2.0:
  - New option ``doctests`` to run Pyflakes checks on doctests too
  - New option ``jobs`` to launch multiple jobs in parallel
  - Turn on using multiple jobs by default using the CPU count
  - Add support for ``python -m flake8`` on Python 2.7 and Python 3
  - Fix Git and Mercurial hooks: issues #88, #133, #148 and #149
  - Fix crashes with Python 3.4 by upgrading dependencies
  - Fix traceback when running tests with Python 2.6
  - Fix the setuptools command ``python setup.py flake8`` to read
    the project configuration

OBS-URL: https://build.opensuse.org/request/show/238841
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=12
2014-07-01 08:59:48 +00:00
Stephan Kulow
c806f1c48e Accepting request 213731 from devel:languages:python
- update to 2.1.0:
  - Add FLAKE8_LAZY and FLAKE8_IGNORE environment variable support to git and
    mercurial hooks
  - Force git and mercurial hooks to repsect configuration in setup.cfg
  - Only check staged files if that is specified
  - Fix hook file permissions
  - Fix the git hook on python 3
  - Ignore non-python files when running the git hook
  - Ignore .tox directories by default
  - Flake8 now reports the column number for PyFlakes messages (forwarded request 213717 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/213731
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=5
2014-01-14 18:53:30 +00:00
ec51fadc77 Accepting request 213717 from Cloud:OpenStack:Master
- update to 2.1.0:
  - Add FLAKE8_LAZY and FLAKE8_IGNORE environment variable support to git and
    mercurial hooks
  - Force git and mercurial hooks to repsect configuration in setup.cfg
  - Only check staged files if that is specified
  - Fix hook file permissions
  - Fix the git hook on python 3
  - Ignore non-python files when running the git hook
  - Ignore .tox directories by default
  - Flake8 now reports the column number for PyFlakes messages

OBS-URL: https://build.opensuse.org/request/show/213717
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=10
2014-01-13 14:25:58 +00:00
Tomáš Chvátal
aeec36e7e1 Accepting request 204560 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/204560
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=4
2013-10-25 09:15:52 +00:00
Sascha Peilicke
fff3a743bd - Require python-setuptools instead of distribute (upstreams merged)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=8
2013-10-24 11:05:45 +00:00
Stephan Kulow
9b5c4b43de Accepting request 179825 from devel:languages:python
housekeeping sr, necessary due to split between d:l:p and d:l:p3 and (manual) _link removal in Factory.

OBS-URL: https://build.opensuse.org/request/show/179825
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=2
2013-06-19 14:37:24 +00:00
Sascha Peilicke
5c5a1aefd2 Python3 moved to devel:languages:python3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=6
2013-06-17 12:51:08 +00:00
Stephan Kulow
9148ef559d Accepting request 173361 from devel:languages:python
OpenStack dependency

OBS-URL: https://build.opensuse.org/request/show/173361
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=1
2013-04-29 12:31:21 +00:00
Sascha Peilicke
5ec6aa5ed7 fixup
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=4
2013-04-25 11:11:30 +00:00
Sascha Peilicke
d721d1d9e6 - Spec file cleanup
- Run testsuite
- Add LICENSE (for legal)

- Spec file cleanup
- Run testsuite
- Add LICENSE (for legal)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=3
2013-04-24 09:04:57 +00:00
d3101d4b0e - Update to 1.3.1:
- Sort list of commands in interactive help mode.
  - Fix a dependency issue with PyParsing until the cmd2 package can
    release an update setting the version of its dependency based on the
    Python version.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=2
2013-04-23 19:39:25 +00:00
Sascha Peilicke
b0a25653cb Accepting request 172927 from home:dirkmueller:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/172927
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=1
2013-04-23 12:59:44 +00:00
6 changed files with 63 additions and 29 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:af2223f8d6476097ac0bf58a08910fa19b4c045d37f6c8e26532d3f4076b78ba
size 138600

BIN
flake8-7.1.1.tar.gz (Stored with Git LFS)

Binary file not shown.

3
flake8-7.3.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:71a7d2ec4166f83c6fc66e6465a45c49b4565ee29b69f27b335366ce101d8c2b
size 139555

View File

@@ -3,9 +3,9 @@ from __future__ import annotations
import inspect import inspect
import os.path import os.path
from collections.abc import Generator
from typing import Any from typing import Any
from typing import Callable from typing import Callable
from typing import Generator
from typing import NamedTuple from typing import NamedTuple
import pycodestyle import pycodestyle
@@ -42,7 +42,7 @@ class Call(NamedTuple):
return cls(func.__name__, inspect.isgeneratorfunction(func), params) return cls(func.__name__, inspect.isgeneratorfunction(func), params)
def lines() -> Generator[str, None, None]: def lines() -> Generator[str]:
logical = [] logical = []
physical = [] physical = []
@@ -58,8 +58,8 @@ def lines() -> Generator[str, None, None]:
yield "# fmt: off" yield "# fmt: off"
yield "from __future__ import annotations" yield "from __future__ import annotations"
yield "" yield ""
yield "from collections.abc import Generator"
yield "from typing import Any" yield "from typing import Any"
yield "from typing import Generator"
yield "" yield ""
imports = sorted(call.name for call in logical + physical) imports = sorted(call.name for call in logical + physical)
for name in imports: for name in imports:
@@ -71,7 +71,7 @@ def lines() -> Generator[str, None, None]:
logical_params = {param for call in logical for param in call.params} logical_params = {param for call in logical for param in call.params}
for param in sorted(logical_params): for param in sorted(logical_params):
yield f" {param}: Any," yield f" {param}: Any,"
yield ") -> Generator[tuple[int, str], None, None]:" yield ") -> Generator[tuple[int, str]]:"
yield ' """Run pycodestyle logical checks."""' yield ' """Run pycodestyle logical checks."""'
for call in sorted(logical): for call in sorted(logical):
yield call.to_src() yield call.to_src()
@@ -82,7 +82,7 @@ def lines() -> Generator[str, None, None]:
physical_params = {param for call in physical for param in call.params} physical_params = {param for call in physical for param in call.params}
for param in sorted(physical_params): for param in sorted(physical_params):
yield f" {param}: Any," yield f" {param}: Any,"
yield ") -> Generator[tuple[int, str], None, None]:" yield ") -> Generator[tuple[int, str]]:"
yield ' """Run pycodestyle physical checks."""' yield ' """Run pycodestyle physical checks."""'
for call in sorted(physical): for call in sorted(physical):
yield call.to_src() yield call.to_src()

View File

@@ -1,3 +1,40 @@
-------------------------------------------------------------------
Sun Jul 13 12:32:48 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 7.3.0:
* pycodestyle has been updated to >= 2.4.0, < 2.5.0
* Pyflakes has been updated to >= 2.0.0, < 2.1.0
* Add ``paths`` to allow local plugins to exist outside of
``sys.path`` (See also :issue:`1067`, :issue:`1237`)
* Copy ``setup.cfg`` files to the temporary git hook execution
directory (See also :issue:`1299`)
* Only skip a file if ``# flake8: noqa`` is on a line by itself
* Provide a better user experience for broken plugins
* Report ``E902`` when a file passed on the command line does
not exist (See also :issue:`645`, :issue:`878`)
* Add ``--extend-ignore`` for extending the default ``ignore``
instead of overriding it (See also :issue:`1061`, :issue:`1180`)
* Respect a formatter's newline setting when printing
* Fix leaking of processes in the legacy api
* Fix a ``SyntaxWarning`` for an invalid escape sequence
* Fix ``DeprecationWarning`` due to import of ``abc`` classes
* Defer ``setuptools`` import to improve flake8 startup time
* Fix inconsistent line endings in ``FileProcessor.lines``
when running under python 3.x
-------------------------------------------------------------------
Tue Jul 8 13:27:59 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
Tue Apr 15 07:54:43 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 7.2.0:
* pycodestyle has been updated to >= 2.13.0, < 2.14.0
* pyflakes has been updated to >= 3.3.0, < 3.4.0
* Require python >= 3.9 (See also :pull:`1973`).
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 21 17:52:22 UTC 2024 - Dirk Müller <dmueller@suse.com> Wed Aug 21 17:52:22 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-flake8 # spec file for package python-flake8
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,10 @@
# #
%bcond_without libalternatives
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-flake8 Name: python-flake8
Version: 7.1.1 Version: 7.3.0
Release: 0 Release: 0
Summary: Modular source code checker: pep8, pyflakes and co Summary: Modular source code checker: pep8, pyflakes and co
License: MIT License: MIT
@@ -30,21 +31,23 @@ BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%endif
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module mccabe >= 0.7.0 with %python-mccabe < 0.8.0}
BuildRequires: %{python_module pycodestyle >= 2.12.0 with %python-pycodestyle < 2.13.0}
BuildRequires: %{python_module pyflakes >= 3.2.0 with %python-pyflakes < 3.3.0}
BuildRequires: %{python_module pytest}
# /SECTION
BuildArch: noarch
# https://flake8.pycqa.org/en/latest/faq.html#why-does-flake8-use-ranges-for-its-dependencies # https://flake8.pycqa.org/en/latest/faq.html#why-does-flake8-use-ranges-for-its-dependencies
Requires: (python-mccabe >= 0.7.0 with python-mccabe < 0.8.0) Requires: (python-mccabe >= 0.7.0 with python-mccabe < 0.8.0)
Requires: (python-pycodestyle >= 2.12.0 with python-pycodestyle < 2.13.0) Requires: (python-pycodestyle >= 2.14.0 with python-pycodestyle < 2.15.0)
Requires: (python-pyflakes >= 3.2.0 with python-pyflakes < 3.3.0) Requires: (python-pyflakes >= 3.4.0 with python-pyflakes < 3.5.0)
Requires(post): update-alternatives BuildArch: noarch
Requires(postun): update-alternatives # SECTION test requirements
BuildRequires: %{python_module mccabe >= 0.7.0 with %python-mccabe < 0.8.0}
BuildRequires: %{python_module pycodestyle >= 2.14.0 with %python-pycodestyle < 2.15.0}
BuildRequires: %{python_module pyflakes >= 3.4.0 with %python-pyflakes < 3.5.0}
BuildRequires: %{python_module pytest}
# /SECTION
%python_subpackages %python_subpackages
%description %description
@@ -78,11 +81,8 @@ install -m 0755 -D %{SOURCE2} bin/gen-pycodestyle-plugin
%python_clone -a %{buildroot}%{_bindir}/flake8 %python_clone -a %{buildroot}%{_bindir}/flake8
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%post %pre
%python_install_alternative flake8 %python_libalternatives_reset_alternative flake8
%postun
%python_uninstall_alternative flake8
%check %check
%pytest tests %pytest tests