commit python3-flake8 for openSUSE:Factory
Hello community, here is the log from the commit of package python3-flake8 for openSUSE:Factory checked in at 2016-02-01 19:56:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-flake8 (Old) and /work/SRC/openSUSE:Factory/.python3-flake8.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python3-flake8" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-flake8/python3-flake8.changes 2016-01-22 01:06:56.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python3-flake8.new/python3-flake8.changes 2016-02-01 19:57:13.000000000 +0100 @@ -1,0 +2,11 @@ +Sat Jan 30 17:44:20 UTC 2016 - arun@gmx.de + +- specfile: + * update copyright year + +- update to version 2.5.2: + * Bug Parse output_file and enable_extensions from config files + * Improvement Raise upper bound on mccabe plugin to allow for + version 0.4.0 + +------------------------------------------------------------------- Old: ---- flake8-2.5.1.tar.gz New: ---- flake8-2.5.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-flake8.spec ++++++ --- /var/tmp/diff_new_pack.MoJRwV/_old 2016-02-01 19:57:13.000000000 +0100 +++ /var/tmp/diff_new_pack.MoJRwV/_new 2016-02-01 19:57:13.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package python3-flake8 # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python3-flake8 -Version: 2.5.1 +Version: 2.5.2 Release: 0 Summary: Modular source code checker: pep8, pyflakes and co License: MIT ++++++ flake8-2.5.1.tar.gz -> flake8-2.5.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-2.5.1/CHANGES.rst new/flake8-2.5.2/CHANGES.rst --- old/flake8-2.5.1/CHANGES.rst 2015-12-08 05:55:08.000000000 +0100 +++ new/flake8-2.5.2/CHANGES.rst 2016-01-30 15:49:10.000000000 +0100 @@ -1,7 +1,15 @@ CHANGES ======= -2.5.1 - 2015-12-15 +2.5.2 - 2016-01-30 +------------------ + +- **Bug** Parse ``output_file`` and ``enable_extensions`` from config files + +- **Improvement** Raise upper bound on mccabe plugin to allow for version + 0.4.0 + +2.5.1 - 2015-12-08 ------------------ - **Bug** Properly look for ``.flake8`` in current working directory diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-2.5.1/PKG-INFO new/flake8-2.5.2/PKG-INFO --- old/flake8-2.5.1/PKG-INFO 2015-12-08 05:56:57.000000000 +0100 +++ new/flake8-2.5.2/PKG-INFO 2016-01-30 15:50:12.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: flake8 -Version: 2.5.1 +Version: 2.5.2 Summary: the modular source code checker: pep8, pyflakes and co Home-page: https://gitlab.com/pycqa/flake8 Author: Ian Cordasco @@ -65,6 +65,28 @@ anything that goes beyond 10 is too complex. See https://en.wikipedia.org/wiki/Cyclomatic_complexity. + + Frequently Asked Questions + ========================== + + Why does flake8 pin the version of pep8? + ---------------------------------------- + + Version 1.6 of pep8 doesn't work properly with flake8. Until pep8 releases a + version that works, flake8 pins the version of pep8 so that flake8 will work as + a whole. + + Is flake8 broken? + ----------------- + + Flake8 combines two other projects that are significant on their own: pep8 and + PyFlakes. If flake8 is doing something you don't like, it is quite likely that + the problem lies in one of those other projects. You can run them separately + to see if they are the cause of your difficulties. We greatly appreciate your + efforts to diagnose the source of the problem before reporting bugs against + flake8. + + Questions or Feedback ===================== @@ -86,7 +108,15 @@ CHANGES ======= - 2.5.1 - 2015-12-15 + 2.5.2 - 2016-01-30 + ------------------ + + - **Bug** Parse ``output_file`` and ``enable_extensions`` from config files + + - **Improvement** Raise upper bound on mccabe plugin to allow for version + 0.4.0 + + 2.5.1 - 2015-12-08 ------------------ - **Bug** Properly look for ``.flake8`` in current working directory diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-2.5.1/README.rst new/flake8-2.5.2/README.rst --- old/flake8-2.5.1/README.rst 2014-09-13 16:16:36.000000000 +0200 +++ new/flake8-2.5.2/README.rst 2015-12-17 15:31:28.000000000 +0100 @@ -57,6 +57,28 @@ anything that goes beyond 10 is too complex. See https://en.wikipedia.org/wiki/Cyclomatic_complexity. + +Frequently Asked Questions +========================== + +Why does flake8 pin the version of pep8? +---------------------------------------- + +Version 1.6 of pep8 doesn't work properly with flake8. Until pep8 releases a +version that works, flake8 pins the version of pep8 so that flake8 will work as +a whole. + +Is flake8 broken? +----------------- + +Flake8 combines two other projects that are significant on their own: pep8 and +PyFlakes. If flake8 is doing something you don't like, it is quite likely that +the problem lies in one of those other projects. You can run them separately +to see if they are the cause of your difficulties. We greatly appreciate your +efforts to diagnose the source of the problem before reporting bugs against +flake8. + + Questions or Feedback ===================== Files old/flake8-2.5.1/flake8/.hooks.py.swp and new/flake8-2.5.2/flake8/.hooks.py.swp differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-2.5.1/flake8/__init__.py new/flake8-2.5.2/flake8/__init__.py --- old/flake8-2.5.1/flake8/__init__.py 2015-12-08 05:55:26.000000000 +0100 +++ new/flake8-2.5.2/flake8/__init__.py 2016-01-30 15:47:04.000000000 +0100 @@ -1 +1 @@ -__version__ = '2.5.1' +__version__ = '2.5.2' Files old/flake8-2.5.1/flake8/__init__.pyc and new/flake8-2.5.2/flake8/__init__.pyc differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-2.5.1/flake8/engine.py new/flake8-2.5.2/flake8/engine.py --- old/flake8-2.5.1/flake8/engine.py 2015-12-08 05:55:08.000000000 +0100 +++ new/flake8-2.5.2/flake8/engine.py 2016-01-30 15:47:51.000000000 +0100 @@ -107,6 +107,7 @@ help='Enable plugins and extensions that are disabled ' 'by default', type='string') + parser.config_options.extend(['output_file', 'enable_extensions']) parser.ignored_extensions = ignored return parser, options_hooks Files old/flake8-2.5.1/flake8/engine.pyc and new/flake8-2.5.2/flake8/engine.pyc differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-2.5.1/flake8/hooks.py new/flake8-2.5.2/flake8/hooks.py --- old/flake8-2.5.1/flake8/hooks.py 2015-04-07 03:23:25.000000000 +0200 +++ new/flake8-2.5.2/flake8/hooks.py 2015-12-17 15:38:05.000000000 +0100 @@ -155,14 +155,22 @@ def find_vcs(): - _, git_dir, _ = run('git rev-parse --git-dir') - if git_dir and os.path.isdir(git_dir[0]): - if not os.path.isdir(os.path.join(git_dir[0], 'hooks')): - os.mkdir(os.path.join(git_dir[0], 'hooks')) - return os.path.join(git_dir[0], 'hooks', 'pre-commit') - _, hg_dir, _ = run('hg root') - if hg_dir and os.path.isdir(hg_dir[0]): - return os.path.join(hg_dir[0], '.hg', 'hgrc') + try: + _, git_dir, _ = run('git rev-parse --git-dir') + except OSError: + pass + else: + if git_dir and os.path.isdir(git_dir[0]): + if not os.path.isdir(os.path.join(git_dir[0], 'hooks')): + os.mkdir(os.path.join(git_dir[0], 'hooks')) + return os.path.join(git_dir[0], 'hooks', 'pre-commit') + try: + _, hg_dir, _ = run('hg root') + except OSError: + pass + else: + if hg_dir and os.path.isdir(hg_dir[0]): + return os.path.join(hg_dir[0], '.hg', 'hgrc') return '' @@ -269,7 +277,7 @@ p = get_parser()[0] sys.stderr.write('Error: could not find either a git or mercurial ' 'directory. Please re-run this in a proper ' - 'repository.') + 'repository.\n') p.print_help() sys.exit(1) Files old/flake8-2.5.1/flake8/hooks.pyc and new/flake8-2.5.2/flake8/hooks.pyc differ Files old/flake8-2.5.1/flake8/tests/test_util.pyc and new/flake8-2.5.2/flake8/tests/test_util.pyc differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-2.5.1/flake8.egg-info/PKG-INFO new/flake8-2.5.2/flake8.egg-info/PKG-INFO --- old/flake8-2.5.1/flake8.egg-info/PKG-INFO 2015-12-08 05:56:57.000000000 +0100 +++ new/flake8-2.5.2/flake8.egg-info/PKG-INFO 2016-01-30 15:50:12.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: flake8 -Version: 2.5.1 +Version: 2.5.2 Summary: the modular source code checker: pep8, pyflakes and co Home-page: https://gitlab.com/pycqa/flake8 Author: Ian Cordasco @@ -65,6 +65,28 @@ anything that goes beyond 10 is too complex. See https://en.wikipedia.org/wiki/Cyclomatic_complexity. + + Frequently Asked Questions + ========================== + + Why does flake8 pin the version of pep8? + ---------------------------------------- + + Version 1.6 of pep8 doesn't work properly with flake8. Until pep8 releases a + version that works, flake8 pins the version of pep8 so that flake8 will work as + a whole. + + Is flake8 broken? + ----------------- + + Flake8 combines two other projects that are significant on their own: pep8 and + PyFlakes. If flake8 is doing something you don't like, it is quite likely that + the problem lies in one of those other projects. You can run them separately + to see if they are the cause of your difficulties. We greatly appreciate your + efforts to diagnose the source of the problem before reporting bugs against + flake8. + + Questions or Feedback ===================== @@ -86,7 +108,15 @@ CHANGES ======= - 2.5.1 - 2015-12-15 + 2.5.2 - 2016-01-30 + ------------------ + + - **Bug** Parse ``output_file`` and ``enable_extensions`` from config files + + - **Improvement** Raise upper bound on mccabe plugin to allow for version + 0.4.0 + + 2.5.1 - 2015-12-08 ------------------ - **Bug** Properly look for ``.flake8`` in current working directory diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-2.5.1/flake8.egg-info/SOURCES.txt new/flake8-2.5.2/flake8.egg-info/SOURCES.txt --- old/flake8-2.5.1/flake8.egg-info/SOURCES.txt 2015-12-08 05:56:57.000000000 +0100 +++ new/flake8-2.5.2/flake8.egg-info/SOURCES.txt 2016-01-30 15:50:12.000000000 +0100 @@ -5,6 +5,7 @@ README.rst setup.cfg setup.py +flake8/.hooks.py.swp flake8/__init__.py flake8/__init__.pyc flake8/__main__.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-2.5.1/flake8.egg-info/pbr.json new/flake8-2.5.2/flake8.egg-info/pbr.json --- old/flake8-2.5.1/flake8.egg-info/pbr.json 2015-10-08 05:08:02.000000000 +0200 +++ new/flake8-2.5.2/flake8.egg-info/pbr.json 2015-12-28 05:42:26.000000000 +0100 @@ -1 +1 @@ -{"git_version": "0cc12e2", "is_release": false} \ No newline at end of file +{"is_release": false, "git_version": "b50c510"} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-2.5.1/flake8.egg-info/requires.txt new/flake8-2.5.2/flake8.egg-info/requires.txt --- old/flake8-2.5.1/flake8.egg-info/requires.txt 2015-12-08 05:56:57.000000000 +0100 +++ new/flake8-2.5.2/flake8.egg-info/requires.txt 2016-01-30 15:50:12.000000000 +0100 @@ -1,3 +1,3 @@ pyflakes >= 0.8.1, < 1.1 pep8 >= 1.5.7, != 1.6.0, != 1.6.1, != 1.6.2 -mccabe >= 0.2.1, < 0.4 +mccabe >= 0.2.1, < 0.5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-2.5.1/setup.cfg new/flake8-2.5.2/setup.cfg --- old/flake8-2.5.1/setup.cfg 2015-12-08 05:56:57.000000000 +0100 +++ new/flake8-2.5.2/setup.cfg 2016-01-30 15:50:12.000000000 +0100 @@ -2,7 +2,7 @@ universal = 1 [egg_info] -tag_build = tag_date = 0 +tag_build = tag_svn_revision = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-2.5.1/setup.py new/flake8-2.5.2/setup.py --- old/flake8-2.5.1/setup.py 2015-10-26 02:27:50.000000000 +0100 +++ new/flake8-2.5.2/setup.py 2016-01-30 15:46:56.000000000 +0100 @@ -51,7 +51,7 @@ install_requires=[ "pyflakes >= 0.8.1, < 1.1", "pep8 >= 1.5.7, != 1.6.0, != 1.6.1, != 1.6.2", - "mccabe >= 0.2.1, < 0.4", + "mccabe >= 0.2.1, < 0.5", ], entry_points={ 'distutils.commands': ['flake8 = flake8.main:Flake8Command'],
participants (1)
-
root@hilbert.suse.de