Commit Graph

28 Commits

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