1
0
forked from pool/python-flake8
Commit Graph

38 Commits

Author SHA256 Message Date
Steve Kowalik
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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