- 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
* 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
- 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
- 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
- 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
- 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
* 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.