commit python-autopep8 for openSUSE:Factory
Hello community, here is the log from the commit of package python-autopep8 for openSUSE:Factory checked in at 2020-08-18 15:08:19 Comparing /work/SRC/openSUSE:Factory/python-autopep8 (Old) and /work/SRC/openSUSE:Factory/.python-autopep8.new.3399 (New) Package is "python-autopep8" Tue Aug 18 15:08:19 2020 rev:20 rq:826935 version:1.5.4 Changes: --- /work/SRC/openSUSE:Factory/python-autopep8/python-autopep8.changes 2020-06-10 00:49:08.787059615 +0200 +++ /work/SRC/openSUSE:Factory/.python-autopep8.new.3399/python-autopep8.changes 2020-08-18 15:08:27.059976126 +0200 @@ -1,0 +2,21 @@ +Sat Aug 15 16:46:41 UTC 2020 - Arun Persaud + +- update to version 1.5.4: + * Merge pull request #565 from hhatto/fix-issue-564 + * ignore SyntaxWarning in Python3.8+ when calling built-in compile() +method + * fix pytest command + * fix coverage and upload codecov + * install depends + * flake8 target only autopep8.py + * Fix pycodestyle + * Revert formatting changes outside scope of this feature + * Move the on-off tests to under unit-tests + * Correct line number weirdness + * Add tests + * Improved efficiency of search for enabled/disable + * added basic on-off functionality to autopep8 + * Merge pull request #553 from hhatto/issue-551 + * fix: ignoring w292 with in-place option + +--- Old: autopep8-1.5.3.tar.gz New: autopep8-1.5.4.tar.gz Other differences: -- ++ python-autopep8.spec ++ --- /var/tmp/diff_new_pack.U51EpP/_old 2020-08-18 15:08:28.975976919 +0200 +++ /var/tmp/diff_new_pack.U51EpP/_new 2020-08-18 15:08:28.979976920 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-autopep8 -Version:1.5.3 +Version:1.5.4 Release:0 Summary:Automatic generated to pep8 checked code License:MIT ++ autopep8-1.5.3.tar.gz -> autopep8-1.5.4.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.5.3/AUTHORS.rst new/autopep8-1.5.4/AUTHORS.rst --- old/autopep8-1.5.3/AUTHORS.rst 2017-03-07 15:47:51.0 +0100 +++ new/autopep8-1.5.4/AUTHORS.rst 2020-08-02 04:15:48.0 +0200 @@ -22,3 +22,27 @@ - Fabio Zadrozny (https://github.com/fabioz) - Alex Chernetz (https://github.com/achernet) - Marc Schlaich (https://github.com/schlamar) +- E. M. Bray (https://github.com/embray) +- Thomas Hisch (https://github.com/thisch) +- Florian Best (https://github.com/spaceone) +- Ian Clark (https://github.com/evenicoulddoit) +- Khairi Hafsham (https://github.com/khairihafsham) +- Neil Halelamien (https://github.com/neilsh) +- Hashem Nasarat (https://github.com/Hnasar) +- Hugo van Kemenade (https://github.com/hugovk) +- gmbnomis (https://github.com/gmbnomis) +- Samuel Lelièvre (https://github.com/slel) +- bigredengineer (https://github.com/bigredengineer) +- Kai Chen (https://github.com/kx-chen) +- Anthony Sottile (https://github.com/asottile) +- 秋葉 (https://github.com/Hanaasagi) +- Christian Clauss (https://github.com/cclauss) +- tobixx (https://github.com/tobixx) +- bigredengineer (https://github.com/bigredengineer) +- Bastien Gérard (https://github.com/bagerard) +- nicolasbonifas (https://github.com/nicolasbonifas) +- Andrii Yurchuk (https://github.com/Ch00k) +- José M. Guisado (https://github.com/pvxe) +- Dai Truong (https://github.com/NovaDev94) +- jnozsc (https://github.com/jnozsc) +- Edwin Shepherd (https://github.com/shardros) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.5.3/PKG-INFO new/autopep8-1.5.4/PKG-INFO --- old/autopep8-1.5.3/PKG-INFO 2020-05-31 16:15:33.755008500 +0200 +++ new/autopep8-1.5.4/PKG-INFO 2020-08-02 06:28:35.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: autopep8 -Version: 1.5.3 +Version: 1.5.4 Summary: A tool that automatically formats Python code to conform to the PEP 8 style guide Home-page: https://github.com/hhatto/autopep8 Author: Hideo Hattori @@ -14,10 +14,14 @@ :target: https://pypi.org/project/autopep8/ :alt: PyPI Version -.. image:: https://travis-ci.org/hhatto/autopep8.svg?branch=master -:target: https://travis-ci.org/hhatto/autopep8 +.. image:: https://github.com/hhatto/autopep8/workflows/Python%20package/badge.svg +:target: https://github.com/hhatto/autopep8/actions :alt: Build status +.. image:: https://codecov.io/gh/hhatto/autopep8/branch/master/graph/badge.svg +:target: https://codecov.io/gh/hhatto/autopep8 +:alt: Code Coverage +
commit python-autopep8 for openSUSE:Factory
Hello community, here is the log from the commit of package python-autopep8 for openSUSE:Factory checked in at 2020-06-10 00:49:05 Comparing /work/SRC/openSUSE:Factory/python-autopep8 (Old) and /work/SRC/openSUSE:Factory/.python-autopep8.new.3606 (New) Package is "python-autopep8" Wed Jun 10 00:49:05 2020 rev:19 rq:812802 version:1.5.3 Changes: --- /work/SRC/openSUSE:Factory/python-autopep8/python-autopep8.changes 2020-04-25 20:36:41.763057851 +0200 +++ /work/SRC/openSUSE:Factory/.python-autopep8.new.3606/python-autopep8.changes 2020-06-10 00:49:08.787059615 +0200 @@ -1,0 +2,9 @@ +Tue Jun 9 07:39:23 UTC 2020 - Dirk Mueller + +- update to 1.5.3: + * requirement pycodestyle version 2.6.0+ ( #548 ) + * Expected pyproject.toml configuration syntax incompatible with TOML format ( #528 , #546 ) + * Fix incompatible exit code with --jobs=0 and --exit-code ( #543 , #545 ) + * Fix hangup E122 fixed method with backslash ( #540 , #541 ) + +--- Old: autopep8-1.5.2.tar.gz New: autopep8-1.5.3.tar.gz Other differences: -- ++ python-autopep8.spec ++ --- /var/tmp/diff_new_pack.7YqFZU/_old 2020-06-10 00:49:09.475061414 +0200 +++ /var/tmp/diff_new_pack.7YqFZU/_new 2020-06-10 00:49:09.475061414 +0200 @@ -18,18 +18,20 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-autopep8 -Version:1.5.2 +Version:1.5.3 Release:0 Summary:Automatic generated to pep8 checked code License:MIT Group: Development/Languages/Python URL:https://github.com/hhatto/autopep8 Source: https://files.pythonhosted.org/packages/source/a/autopep8/autopep8-%{version}.tar.gz -BuildRequires: %{python_module pycodestyle >= 2.4} +BuildRequires: %{python_module pycodestyle >= 2.6} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module toml} BuildRequires: python-rpm-macros -Requires: python-pycodestyle >= 2.4 +Requires: python-pycodestyle >= 2.6 Requires: python-setuptools +Requires: python-toml Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch ++ autopep8-1.5.2.tar.gz -> autopep8-1.5.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.5.2/PKG-INFO new/autopep8-1.5.3/PKG-INFO --- old/autopep8-1.5.2/PKG-INFO 2020-04-20 13:59:18.0 +0200 +++ new/autopep8-1.5.3/PKG-INFO 2020-05-31 16:15:33.755008500 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: autopep8 -Version: 1.5.2 +Version: 1.5.3 Summary: A tool that automatically formats Python code to conform to the PEP 8 style guide Home-page: https://github.com/hhatto/autopep8 Author: Hideo Hattori @@ -379,7 +379,7 @@ [tool.autopep8] max_line_length = 120 -ignore = E501 +ignore = "E501,W6" # or ["E501", "W6"] Testing diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.5.2/README.rst new/autopep8-1.5.3/README.rst --- old/autopep8-1.5.2/README.rst 2020-04-09 03:23:43.0 +0200 +++ new/autopep8-1.5.3/README.rst 2020-05-31 15:08:01.0 +0200 @@ -371,7 +371,7 @@ [tool.autopep8] max_line_length = 120 -ignore = E501 +ignore = "E501,W6" # or ["E501", "W6"] Testing diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.5.2/autopep8.egg-info/PKG-INFO new/autopep8-1.5.3/autopep8.egg-info/PKG-INFO --- old/autopep8-1.5.2/autopep8.egg-info/PKG-INFO 2020-04-20 13:59:18.0 +0200 +++ new/autopep8-1.5.3/autopep8.egg-info/PKG-INFO 2020-05-31 16:15:33.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: autopep8 -Version: 1.5.2 +Version: 1.5.3 Summary: A tool that automatically formats Python code to conform to the PEP 8 style guide Home-page: https://github.com/hhatto/autopep8 Author: Hideo Hattori @@ -379,7 +379,7 @@ [tool.autopep8] max_line_length = 120 -ignore = E501 +ignore = "E501,W6" # or ["E501", "W6"] Testing diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.5.2/autopep8.egg-info/requires.txt new/autopep8-1.5.3/autopep8.egg-info/requires.txt --- old/autopep8-1.5.2/autopep8.egg-info/requires.txt 2020-04-20 13:59:18.0 +0200 +++ new/autopep8-1.5.3/autopep8.egg-info/requires.txt 2020-05-31 16:15:33.0 +0200 @@ -1 +1,2 @@
commit python-autopep8 for openSUSE:Factory
Hello community, here is the log from the commit of package python-autopep8 for openSUSE:Factory checked in at 2020-04-25 20:34:10 Comparing /work/SRC/openSUSE:Factory/python-autopep8 (Old) and /work/SRC/openSUSE:Factory/.python-autopep8.new.2738 (New) Package is "python-autopep8" Sat Apr 25 20:34:10 2020 rev:18 rq:797253 version:1.5.2 Changes: --- /work/SRC/openSUSE:Factory/python-autopep8/python-autopep8.changes 2020-01-22 22:46:53.092594178 +0100 +++ /work/SRC/openSUSE:Factory/.python-autopep8.new.2738/python-autopep8.changes 2020-04-25 20:36:41.763057851 +0200 @@ -1,0 +2,28 @@ +Fri Apr 24 15:15:40 UTC 2020 - Arun Persaud + +- update to version 1.5.2: + * add test for verbose log + * remove unnecessary format's argument + * add unit test + * fix incorrect E702 fixes with --select=E702 option + * refactoring + * enable exclude option when specify directly file args + * add unit test: exclude option when specify directly file args + * support parallel jobs for --diff option (#480) + * add test for diff option parallel jobs + * add python 3.8 to files + * add unit test: --ignore=E503,E504 case + * fix degrade to case of --select=W --ignore=W503 + * add test for W503,504 more complex case + +- changes from version 1.5.1: + * remove skip mark in test + * refactoring + * add unit test for w503 and w504 confliction case + * change: both W503 and W504 are specified, priority is given to +W503 (for #518) + * fix E402 with __all__ (for #529) + * Fix a bug causing both W503 and W504 to be ignored + * return diff exit code when reading from stdin too + +--- Old: autopep8-1.5.tar.gz New: autopep8-1.5.2.tar.gz Other differences: -- ++ python-autopep8.spec ++ --- /var/tmp/diff_new_pack.cSBer5/_old 2020-04-25 20:36:42.319058998 +0200 +++ /var/tmp/diff_new_pack.cSBer5/_new 2020-04-25 20:36:42.323059006 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-autopep8 -Version:1.5 +Version:1.5.2 Release:0 Summary:Automatic generated to pep8 checked code License:MIT ++ autopep8-1.5.tar.gz -> autopep8-1.5.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.5/PKG-INFO new/autopep8-1.5.2/PKG-INFO --- old/autopep8-1.5/PKG-INFO 2020-01-20 15:08:06.0 +0100 +++ new/autopep8-1.5.2/PKG-INFO 2020-04-20 13:59:18.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: autopep8 -Version: 1.5 +Version: 1.5.2 Summary: A tool that automatically formats Python code to conform to the PEP 8 style guide Home-page: https://github.com/hhatto/autopep8 Author: Hideo Hattori @@ -442,5 +442,6 @@ Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 Classifier: Topic :: Software Development :: Libraries :: Python Modules Classifier: Topic :: Software Development :: Quality Assurance diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.5/autopep8.egg-info/PKG-INFO new/autopep8-1.5.2/autopep8.egg-info/PKG-INFO --- old/autopep8-1.5/autopep8.egg-info/PKG-INFO 2020-01-20 15:08:06.0 +0100 +++ new/autopep8-1.5.2/autopep8.egg-info/PKG-INFO 2020-04-20 13:59:18.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: autopep8 -Version: 1.5 +Version: 1.5.2 Summary: A tool that automatically formats Python code to conform to the PEP 8 style guide Home-page: https://github.com/hhatto/autopep8 Author: Hideo Hattori @@ -442,5 +442,6 @@ Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 Classifier: Topic :: Software Development :: Libraries :: Python Modules Classifier: Topic :: Software Development :: Quality Assurance diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.5/autopep8.py new/autopep8-1.5.2/autopep8.py --- old/autopep8-1.5/autopep8.py2020-01-20 15:07:31.0 +0100 +++ new/autopep8-1.5.2/autopep8.py 2020-04-20 13:58:30.0 +0200 @@ -67,6 +67,7 @@ from ConfigParser import Error import pycodestyle +from pycodestyle import STARTSWITH_INDENT_STATEMENT_REGEX try: @@ -75,7 +76,7 @@ unicode = str -__version__ = '1.5' +__version__ = '1.5.2' CR = '\r' @@ -1028,7 +1029,13 @@ #
commit python-autopep8 for openSUSE:Factory
Hello community, here is the log from the commit of package python-autopep8 for openSUSE:Factory checked in at 2020-01-22 22:46:33 Comparing /work/SRC/openSUSE:Factory/python-autopep8 (Old) and /work/SRC/openSUSE:Factory/.python-autopep8.new.26092 (New) Package is "python-autopep8" Wed Jan 22 22:46:33 2020 rev:17 rq:766347 version:1.5 Changes: --- /work/SRC/openSUSE:Factory/python-autopep8/python-autopep8.changes 2019-04-23 14:39:06.941580714 +0200 +++ /work/SRC/openSUSE:Factory/.python-autopep8.new.26092/python-autopep8.changes 2020-01-22 22:46:53.092594178 +0100 @@ -1,0 +2,8 @@ +Wed Jan 22 15:04:41 UTC 2020 - Marketa Calabkova + +- update to 1.5 + * Support Python3.8 + * Support pyproject.toml with [tool.autopep8] section. + * fix few bugs + +--- Old: autopep8-1.4.4.tar.gz New: autopep8-1.5.tar.gz Other differences: -- ++ python-autopep8.spec ++ --- /var/tmp/diff_new_pack.IxDyHz/_old 2020-01-22 22:46:54.404594838 +0100 +++ /var/tmp/diff_new_pack.IxDyHz/_new 2020-01-22 22:46:54.420594846 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-autopep8 # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-autopep8 -Version:1.4.4 +Version:1.5 Release:0 Summary:Automatic generated to pep8 checked code License:MIT ++ autopep8-1.4.4.tar.gz -> autopep8-1.5.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.4.4/PKG-INFO new/autopep8-1.5/PKG-INFO --- old/autopep8-1.4.4/PKG-INFO 2019-04-14 10:29:35.0 +0200 +++ new/autopep8-1.5/PKG-INFO 2020-01-20 15:08:06.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: autopep8 -Version: 1.4.4 +Version: 1.5 Summary: A tool that automatically formats Python code to conform to the PEP 8 style guide Home-page: https://github.com/hhatto/autopep8 Author: Hideo Hattori @@ -319,6 +319,13 @@ $ autopep8 -v +Passing in ``--experimental`` enables the following functionality: + +- Shortens code lines by taking its length into account + +:: + +$ autopep8 --experimental Use as a module === @@ -361,6 +368,19 @@ max_line_length = 120 ignore = E501 +pyproject.toml +-- + +autopep8 can also use ``pyproject.toml``. +section must use ``[tool.autopep8]``, and ``pyproject.toml`` takes precedence +over any other configuration files. + +configuration file example:: + +[tool.autopep8] +max_line_length = 120 +ignore = E501 + Testing === diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.4.4/README.rst new/autopep8-1.5/README.rst --- old/autopep8-1.4.4/README.rst 2019-04-14 10:29:22.0 +0200 +++ new/autopep8-1.5/README.rst 2020-01-04 15:48:57.0 +0100 @@ -311,6 +311,13 @@ $ autopep8 -v +Passing in ``--experimental`` enables the following functionality: + +- Shortens code lines by taking its length into account + +:: + +$ autopep8 --experimental Use as a module === @@ -353,6 +360,19 @@ max_line_length = 120 ignore = E501 +pyproject.toml +-- + +autopep8 can also use ``pyproject.toml``. +section must use ``[tool.autopep8]``, and ``pyproject.toml`` takes precedence +over any other configuration files. + +configuration file example:: + +[tool.autopep8] +max_line_length = 120 +ignore = E501 + Testing === diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.4.4/autopep8.egg-info/PKG-INFO new/autopep8-1.5/autopep8.egg-info/PKG-INFO --- old/autopep8-1.4.4/autopep8.egg-info/PKG-INFO 2019-04-14 10:29:35.0 +0200 +++ new/autopep8-1.5/autopep8.egg-info/PKG-INFO 2020-01-20 15:08:06.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: autopep8 -Version: 1.4.4 +Version: 1.5 Summary: A tool that automatically formats Python code to conform to the PEP 8 style guide Home-page: https://github.com/hhatto/autopep8 Author: Hideo Hattori @@ -319,6 +319,13 @@ $
commit python-autopep8 for openSUSE:Factory
Hello community, here is the log from the commit of package python-autopep8 for openSUSE:Factory checked in at 2019-04-23 14:39:06 Comparing /work/SRC/openSUSE:Factory/python-autopep8 (Old) and /work/SRC/openSUSE:Factory/.python-autopep8.new.5536 (New) Package is "python-autopep8" Tue Apr 23 14:39:06 2019 rev:16 rq:697026 version:1.4.4 Changes: --- /work/SRC/openSUSE:Factory/python-autopep8/python-autopep8.changes 2018-11-26 10:29:56.849053228 +0100 +++ /work/SRC/openSUSE:Factory/.python-autopep8.new.5536/python-autopep8.changes 2019-04-23 14:39:06.941580714 +0200 @@ -1,0 +2,25 @@ +Sun Apr 21 22:03:00 UTC 2019 - Arun Persaud + +- specfile: + * update copyright year + +- update to version 1.4.4: + * add github issue template + * Clarify global config file documentation + * fix e117 + * add py37 in tox envlist + * fix import statement moved above the module doc by E402 + * Don't allow setting --ignore to enable conflicting fixes + * Fix issue with W504 that causes a syntax error if there are +comment + * fix import moved above a future import + * fix invalid exit code (for #455) + * add unit test for exit code + * fix to pointed out by pylint + * noqa + * check pycodestyle to test/test_autopep8.py + * better match the signature of io.open + * Fix invalid escape sequences in tests + * Don't write the file unless there are changes + +--- Old: autopep8-1.4.3.tar.gz New: autopep8-1.4.4.tar.gz Other differences: -- ++ python-autopep8.spec ++ --- /var/tmp/diff_new_pack.sfSXyO/_old 2019-04-23 14:39:08.301581414 +0200 +++ /var/tmp/diff_new_pack.sfSXyO/_new 2019-04-23 14:39:08.337581433 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-autopep8 # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-autopep8 -Version:1.4.3 +Version:1.4.4 Release:0 Summary:Automatic generated to pep8 checked code License:MIT ++ autopep8-1.4.3.tar.gz -> autopep8-1.4.4.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.4.3/PKG-INFO new/autopep8-1.4.4/PKG-INFO --- old/autopep8-1.4.3/PKG-INFO 2018-11-12 14:55:55.0 +0100 +++ new/autopep8-1.4.4/PKG-INFO 2019-04-14 10:29:35.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: autopep8 -Version: 1.4.3 +Version: 1.4.4 Summary: A tool that automatically formats Python code to conform to the PEP 8 style guide Home-page: https://github.com/hhatto/autopep8 Author: Hideo Hattori @@ -344,9 +344,10 @@ Configuration = -By default, if ``$HOME/.config/.pycodestyle`` (``~\.pycodestyle`` in Windows -environment) exists, it will be used as global configuration file. It can -specify the configuration file with the ``--global-config`` option. +By default, if ``$HOME/.config/pycodestyle`` (``~\.pycodestyle`` in Windows +environment) exists, it will be used as global configuration file. +Alternatively, you can specify the global configuration file with the +``--global-config`` option. Also, if ``setup.cfg``, ``tox.ini``, ``.pep8`` and ``.flake8`` files exist in the directory where the target file exists, it will be used as the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.4.3/README.rst new/autopep8-1.4.4/README.rst --- old/autopep8-1.4.3/README.rst 2018-10-15 15:05:07.0 +0200 +++ new/autopep8-1.4.4/README.rst 2019-04-14 10:29:22.0 +0200 @@ -336,9 +336,10 @@ Configuration = -By default, if ``$HOME/.config/.pycodestyle`` (``~\.pycodestyle`` in Windows -environment) exists, it will be used as global configuration file. It can -specify the configuration file with the ``--global-config`` option. +By default, if ``$HOME/.config/pycodestyle`` (``~\.pycodestyle`` in Windows +environment) exists, it will be used as global configuration file. +Alternatively, you can specify the global configuration file with the +``--global-config`` option. Also, if ``setup.cfg``, ``tox.ini``, ``.pep8`` and ``.flake8`` files exist in the directory where the target file exists, it will be used as the diff -urN '--exclude=CVS' '--exclude=.cvsignore'
commit python-autopep8 for openSUSE:Factory
Hello community, here is the log from the commit of package python-autopep8 for openSUSE:Factory checked in at 2018-11-26 10:29:42 Comparing /work/SRC/openSUSE:Factory/python-autopep8 (Old) and /work/SRC/openSUSE:Factory/.python-autopep8.new.19453 (New) Package is "python-autopep8" Mon Nov 26 10:29:42 2018 rev:15 rq:651333 version:1.4.3 Changes: --- /work/SRC/openSUSE:Factory/python-autopep8/python-autopep8.changes 2018-10-31 13:20:56.183085652 +0100 +++ /work/SRC/openSUSE:Factory/.python-autopep8.new.19453/python-autopep8.changes 2018-11-26 10:29:56.849053228 +0100 @@ -1,0 +2,10 @@ +Thu Nov 22 22:35:26 UTC 2018 - Arun Persaud + +- update to version 1.4.3: + * w605 fixes for identical tokens + * fix e402 fixed method when import some modules (for #447) + * use _is_binary_operator + * (origin/fix-w503-more-corner-cases) fix w503 with comment into +pointed out line (for #446) + +--- Old: autopep8-1.4.2.tar.gz New: autopep8-1.4.3.tar.gz Other differences: -- ++ python-autopep8.spec ++ --- /var/tmp/diff_new_pack.5tEjiQ/_old 2018-11-26 10:29:57.745052178 +0100 +++ /var/tmp/diff_new_pack.5tEjiQ/_new 2018-11-26 10:29:57.749052173 +0100 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-autopep8 -Version:1.4.2 +Version:1.4.3 Release:0 Summary:Automatic generated to pep8 checked code License:MIT ++ autopep8-1.4.2.tar.gz -> autopep8-1.4.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.4.2/PKG-INFO new/autopep8-1.4.3/PKG-INFO --- old/autopep8-1.4.2/PKG-INFO 2018-10-23 17:09:34.0 +0200 +++ new/autopep8-1.4.3/PKG-INFO 2018-11-12 14:55:55.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: autopep8 -Version: 1.4.2 +Version: 1.4.3 Summary: A tool that automatically formats Python code to conform to the PEP 8 style guide Home-page: https://github.com/hhatto/autopep8 Author: Hideo Hattori diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.4.2/autopep8.egg-info/PKG-INFO new/autopep8-1.4.3/autopep8.egg-info/PKG-INFO --- old/autopep8-1.4.2/autopep8.egg-info/PKG-INFO 2018-10-23 17:09:34.0 +0200 +++ new/autopep8-1.4.3/autopep8.egg-info/PKG-INFO 2018-11-12 14:55:54.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: autopep8 -Version: 1.4.2 +Version: 1.4.3 Summary: A tool that automatically formats Python code to conform to the PEP 8 style guide Home-page: https://github.com/hhatto/autopep8 Author: Hideo Hattori diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.4.2/autopep8.py new/autopep8-1.4.3/autopep8.py --- old/autopep8-1.4.2/autopep8.py 2018-10-23 17:09:21.0 +0200 +++ new/autopep8-1.4.3/autopep8.py 2018-11-12 14:54:44.0 +0100 @@ -67,7 +67,7 @@ unicode = str -__version__ = '1.4.2' +__version__ = '1.4.3' CR = '\r' @@ -873,11 +873,19 @@ def fix_e402(self, result): (line_index, offset, target) = get_index_offset_contents(result, self.source) +for i in range(1, 100): +line = "".join(self.source[line_index:line_index+i]) +try: +generate_tokens("".join(line)) +except (SyntaxError, tokenize.TokenError): +continue +break if not (target in self.imports and self.imports[target] != line_index): mod_offset = get_module_imports_on_top_of_file(self.source, line_index) -self.source[mod_offset] = target + self.source[mod_offset] -self.source[line_index] = '' +self.source[mod_offset] = line + self.source[mod_offset] +for offset in range(i): +self.source[line_index+offset] = '' def fix_long_line_logically(self, result, logical): """Try to make lines fit within --max-line-length characters.""" @@ -1251,6 +1259,10 @@ tts = ts old = None for t in tts: +if t[0] in (tokenize.NEWLINE, tokenize.NL): +newline_count -= 1 +if newline_count <= 1: +break if tokenize.COMMENT == t[0] and old and old[0] != tokenize.NL: comment_index = old[3][1] break @@ -1286,7 +1298,7 @@ newline_count = 0 newline_index
commit python-autopep8 for openSUSE:Factory
Hello community, here is the log from the commit of package python-autopep8 for openSUSE:Factory checked in at 2018-10-31 13:16:27 Comparing /work/SRC/openSUSE:Factory/python-autopep8 (Old) and /work/SRC/openSUSE:Factory/.python-autopep8.new (New) Package is "python-autopep8" Wed Oct 31 13:16:27 2018 rev:14 rq:645474 version:1.4.2 Changes: --- /work/SRC/openSUSE:Factory/python-autopep8/python-autopep8.changes 2018-10-18 15:37:50.746194414 +0200 +++ /work/SRC/openSUSE:Factory/.python-autopep8.new/python-autopep8.changes 2018-10-31 13:20:56.183085652 +0100 @@ -1,0 +2,9 @@ +Tue Oct 30 01:57:56 UTC 2018 - Arun Persaud + +- update to version 1.4.2: + * strict autopep8 + * add test for w503 fixed method with empty line + * fix IndexError in w503 fixed method + * fix w504 with any other tokenize.OP + +--- Old: autopep8-1.4.1.tar.gz New: autopep8-1.4.2.tar.gz Other differences: -- ++ python-autopep8.spec ++ --- /var/tmp/diff_new_pack.JmdBYz/_old 2018-10-31 13:20:57.527084394 +0100 +++ /var/tmp/diff_new_pack.JmdBYz/_new 2018-10-31 13:20:57.543084379 +0100 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-autopep8 -Version:1.4.1 +Version:1.4.2 Release:0 Summary:Automatic generated to pep8 checked code License:MIT ++ autopep8-1.4.1.tar.gz -> autopep8-1.4.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.4.1/PKG-INFO new/autopep8-1.4.2/PKG-INFO --- old/autopep8-1.4.1/PKG-INFO 2018-10-17 16:00:25.0 +0200 +++ new/autopep8-1.4.2/PKG-INFO 2018-10-23 17:09:34.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: autopep8 -Version: 1.4.1 +Version: 1.4.2 Summary: A tool that automatically formats Python code to conform to the PEP 8 style guide Home-page: https://github.com/hhatto/autopep8 Author: Hideo Hattori diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.4.1/autopep8.egg-info/PKG-INFO new/autopep8-1.4.2/autopep8.egg-info/PKG-INFO --- old/autopep8-1.4.1/autopep8.egg-info/PKG-INFO 2018-10-17 16:00:25.0 +0200 +++ new/autopep8-1.4.2/autopep8.egg-info/PKG-INFO 2018-10-23 17:09:34.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: autopep8 -Version: 1.4.1 +Version: 1.4.2 Summary: A tool that automatically formats Python code to conform to the PEP 8 style guide Home-page: https://github.com/hhatto/autopep8 Author: Hideo Hattori diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.4.1/autopep8.py new/autopep8-1.4.2/autopep8.py --- old/autopep8-1.4.1/autopep8.py 2018-10-17 15:58:22.0 +0200 +++ new/autopep8-1.4.2/autopep8.py 2018-10-23 17:09:21.0 +0200 @@ -67,7 +67,7 @@ unicode = str -__version__ = '1.4.1' +__version__ = '1.4.2' CR = '\r' @@ -1217,16 +1217,24 @@ return # find comment comment_index = 0 +found_not_comment_only_line = False comment_only_linenum = 0 for i in range(5): # NOTE: try to parse code in 5 times if (line_index - i) < 0: break from_index = line_index - i - 1 +if from_index < 0 or len(self.source) <= from_index: +break to_index = line_index + 1 -if self.source[from_index].lstrip()[0] == '#': +strip_line = self.source[from_index].lstrip() +if ( +not found_not_comment_only_line and +strip_line and strip_line[0] == '#' +): comment_only_linenum += 1 continue +found_not_comment_only_line = True try: ts = generate_tokens("".join(self.source[from_index:to_index])) except (SyntaxError, tokenize.TokenError): @@ -1278,7 +1286,10 @@ newline_count = 0 newline_index = [] for index, t in enumerate(ts): -if t[0] == tokenize.OP: +if t[0] == tokenize.OP and t[1] not in ".,(){}": +if t[2][0] == 1 and t[3][0] == 1: +operator_position = (t[2][1], t[3][1]) +elif t[0] == tokenize.NAME and t[1] in ("and", "or"): if t[2][0] == 1 and t[3][0] == 1: operator_position = (t[2][1], t[3][1]) elif t[0] in (tokenize.NEWLINE, tokenize.NL): diff -urN '--exclude=CVS' '--exclude=.cvsignore'
commit python-autopep8 for openSUSE:Factory
Hello community, here is the log from the commit of package python-autopep8 for openSUSE:Factory checked in at 2018-10-18 15:37:27 Comparing /work/SRC/openSUSE:Factory/python-autopep8 (Old) and /work/SRC/openSUSE:Factory/.python-autopep8.new (New) Package is "python-autopep8" Thu Oct 18 15:37:27 2018 rev:13 rq:642684 version:1.4.1 Changes: --- /work/SRC/openSUSE:Factory/python-autopep8/python-autopep8.changes 2018-09-04 22:56:19.993034338 +0200 +++ /work/SRC/openSUSE:Factory/.python-autopep8.new/python-autopep8.changes 2018-10-18 15:37:50.746194414 +0200 @@ -1,0 +2,36 @@ +Wed Oct 17 15:34:05 UTC 2018 - Arun Persaud + +- specfile: + * update requirement of pycodestyle to >= 2.4 + +- update to version 1.4.1: + * update description for --exit-code option + * add unit test for --exit-code option + * fix fail test + * use --exit-code option value + * add --exit-code option + * format .rst + * update readme + * fallback, use .pep8 config + * update requirement, pycodestyle 2.4.0 and higher version + * refactoring + * not change import statement to top of file when duplicate import + * pycodestyle & autopep8 + * enable reading the settings from '.flake8' file + * change default config path + * change: return exit-code 1 when exists diff output + * work around exception for #403 + * fix w503 with into comments (for #411) + * handling exception with case of line comment + * remove debug print + * unit test for w503 and w504 fixed methods + * implementation W504 fixed method. + * W50x are set to DEFAULT_IGNORE + * update test suite data for e72x test + * add test for get_module_imports_on_top_of_file + * improve e402 fixed method + * update test suite output + * update method list + * add E402 fixed method and test + +--- Old: autopep8-1.4.tar.gz New: autopep8-1.4.1.tar.gz Other differences: -- ++ python-autopep8.spec ++ --- /var/tmp/diff_new_pack.qVSzDB/_old 2018-10-18 15:37:51.394193673 +0200 +++ /var/tmp/diff_new_pack.qVSzDB/_new 2018-10-18 15:37:51.398193669 +0200 @@ -12,23 +12,23 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-autopep8 -Version:1.4 +Version:1.4.1 Release:0 Summary:Automatic generated to pep8 checked code License:MIT Group: Development/Languages/Python URL:https://github.com/hhatto/autopep8 Source: https://files.pythonhosted.org/packages/source/a/autopep8/autopep8-%{version}.tar.gz -BuildRequires: %{python_module pycodestyle >= 2.3} +BuildRequires: %{python_module pycodestyle >= 2.4} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros -Requires: python-pycodestyle +Requires: python-pycodestyle >= 2.4 Requires: python-setuptools Requires(post): update-alternatives Requires(postun): update-alternatives ++ autopep8-1.4.tar.gz -> autopep8-1.4.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.4/PKG-INFO new/autopep8-1.4.1/PKG-INFO --- old/autopep8-1.4/PKG-INFO 2018-09-01 18:03:14.0 +0200 +++ new/autopep8-1.4.1/PKG-INFO 2018-10-17 16:00:25.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: autopep8 -Version: 1.4 +Version: 1.4.1 Summary: A tool that automatically formats Python code to conform to the PEP 8 style guide Home-page: https://github.com/hhatto/autopep8 Author: Hideo Hattori @@ -138,7 +138,7 @@ [--ignore-local-config] [-r] [-j n] [-p n] [-a] [--experimental] [--exclude globs] [--list-fixes] [--ignore errors] [--select errors] [--max-line-length n] -[--line-range line line] [--hang-closing] +[--line-range line line] [--hang-closing] [--exit-code] [files [files ...]] Automatically formats Python code to conform to the PEP 8 style guide. @@ -175,7 +175,7 @@ separated globs --list-fixes list codes for fixes; used by --ignore and --select --ignore errors do not fix these errors/warnings (default: -E226,E24,W503) +E226,E24,W50,W690)
commit python-autopep8 for openSUSE:Factory
Hello community, here is the log from the commit of package python-autopep8 for openSUSE:Factory checked in at 2018-09-04 22:56:18 Comparing /work/SRC/openSUSE:Factory/python-autopep8 (Old) and /work/SRC/openSUSE:Factory/.python-autopep8.new (New) Package is "python-autopep8" Tue Sep 4 22:56:18 2018 rev:12 rq:632808 version:1.4 Changes: --- /work/SRC/openSUSE:Factory/python-autopep8/python-autopep8.changes 2018-04-02 22:49:28.817292852 +0200 +++ /work/SRC/openSUSE:Factory/.python-autopep8.new/python-autopep8.changes 2018-09-04 22:56:19.993034338 +0200 @@ -1,0 +2,35 @@ +Mon Sep 3 09:03:49 UTC 2018 - Tomáš Chvátal + +- Install license +- Delete old archive + +--- +Sat Sep 1 18:31:27 UTC 2018 - a...@gmx.de + +- update to version 1.4: + * py37 + * W690 add DEFAULT_IGNORE. (because Python3 is mainstream now) + * strict pep8 + * update readme + * fix E702 is not running in case of README.rst example + * add unit test for e128 with -aaa option + * fix exception in fix_w503, when do not pointing out W503 + * fix E305, when E303 and E305 are detected on the subsequent line + * env: PEP8_VERSION=pypi,github + * Travis CI: Add Python 3.7 to the testing + * update acid test output data + * seperate to e113 and e116 fixed method + * Update links to PyPI in README.rst + * add W605 fixed method + * add unit test for w605 fixed method + * Make test_e225_with_indentation_fix() actually use the fixer for +E225 + * Add fixer for E252 "Missing whitespace around parameter equals" + * ix: case that W503 in a continuous 5 or more lines + * add test case for W503 in a continuous 5 or more lines + * fix e731 with case of default argument + * add test for e731 with default arguments + * fix broken coverage script + * Handle ValueError from check_syntax + +--- Old: autopep8-1.3.5.tar.gz New: autopep8-1.4.tar.gz Other differences: -- ++ python-autopep8.spec ++ --- /var/tmp/diff_new_pack.T7iIfR/_old 2018-09-04 22:56:20.413035772 +0200 +++ /var/tmp/diff_new_pack.T7iIfR/_new 2018-09-04 22:56:20.413035772 +0200 @@ -18,14 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-autopep8 -Version:1.3.5 +Version:1.4 Release:0 Summary:Automatic generated to pep8 checked code License:MIT Group: Development/Languages/Python -Url:https://github.com/hhatto/autopep8 +URL:https://github.com/hhatto/autopep8 Source: https://files.pythonhosted.org/packages/source/a/autopep8/autopep8-%{version}.tar.gz -# Test requirements: BuildRequires: %{python_module pycodestyle >= 2.3} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros @@ -33,7 +32,6 @@ Requires: python-setuptools Requires(post): update-alternatives Requires(postun): update-alternatives -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -53,7 +51,6 @@ %python_clone -a %{buildroot}%{_bindir}/autopep8 %check -# need to set locale to avoid UnicodeEncodeError export LANG="en_US.UTF-8" %python_exec setup.py test -q @@ -69,7 +66,7 @@ %python_uninstall_alternative autopep8 %files %{python_files} -%defattr(-,root,root,-) +%license LICENSE %doc README.rst %python_alternative %{_bindir}/autopep8 %pycache_only %{python_sitelib}/__pycache__/* ++ autopep8-1.3.5.tar.gz -> autopep8-1.4.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.3.5/PKG-INFO new/autopep8-1.4/PKG-INFO --- old/autopep8-1.3.5/PKG-INFO 2018-03-30 09:32:39.0 +0200 +++ new/autopep8-1.4/PKG-INFO 2018-09-01 18:03:14.0 +0200 @@ -1,18 +1,17 @@ Metadata-Version: 1.1 Name: autopep8 -Version: 1.3.5 +Version: 1.4 Summary: A tool that automatically formats Python code to conform to the PEP 8 style guide Home-page: https://github.com/hhatto/autopep8 Author: Hideo Hattori Author-email: hhatto...@gmail.com License: Expat License -Description-Content-Type: UNKNOWN Description: autopep8 .. image:: https://img.shields.io/pypi/v/autopep8.svg -:target: https://pypi.python.org/pypi/autopep8 +:target: https://pypi.org/project/autopep8/ :alt: PyPI Version .. image:: https://travis-ci.org/hhatto/autopep8.svg?branch=master @@ -120,7 +119,6 @@ class Example3(object): - def __init__(self, bar): #
commit python-autopep8 for openSUSE:Factory
Hello community, here is the log from the commit of package python-autopep8 for openSUSE:Factory checked in at 2018-04-02 22:49:28 Comparing /work/SRC/openSUSE:Factory/python-autopep8 (Old) and /work/SRC/openSUSE:Factory/.python-autopep8.new (New) Package is "python-autopep8" Mon Apr 2 22:49:28 2018 rev:11 rq:592968 version:1.3.5 Changes: --- /work/SRC/openSUSE:Factory/python-autopep8/python-autopep8.changes 2018-02-05 10:53:45.982187419 +0100 +++ /work/SRC/openSUSE:Factory/.python-autopep8.new/python-autopep8.changes 2018-04-02 22:49:28.817292852 +0200 @@ -1,0 +2,24 @@ +Sun Apr 1 22:33:48 UTC 2018 - a...@gmx.de + +- update to version 1.3.5: + * add pypi version badge + * refactoring (strict pylint) + * fix e713 and e714 chain cases + * add test for e713 and e714 chain cases + * avoid e265 + * add test for #389 + * fix e265 when starts non-alphanumeric symbols (#389) + * Drop support for EOL Python 3.3 + * Remove redundant Python 2.6 code + * Rewrite unnecessary list comprehension as dict comprehension + * Rewrite unnecessary dict call as literal + * Rewrite unnecessary list literal as set literal + * Rewrite unnecessary generator as set comprehension + * Rewrite unnecessary generator as set comprehension + * Use automatic formatters (py2.7+) + * Remove redundant Python 2.6 code + * change: not affeted FF(FromFeed) in Reindenter + * add unit test for #322 + * read flake8 config + +--- Old: autopep8-1.3.4.tar.gz New: autopep8-1.3.5.tar.gz Other differences: -- ++ python-autopep8.spec ++ --- /var/tmp/diff_new_pack.p9fwze/_old 2018-04-02 22:49:29.517267402 +0200 +++ /var/tmp/diff_new_pack.p9fwze/_new 2018-04-02 22:49:29.521267257 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-autopep8 -Version:1.3.4 +Version:1.3.5 Release:0 Summary:Automatic generated to pep8 checked code License:MIT ++ autopep8-1.3.4.tar.gz -> autopep8-1.3.5.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.3.4/PKG-INFO new/autopep8-1.3.5/PKG-INFO --- old/autopep8-1.3.4/PKG-INFO 2018-01-24 14:46:35.0 +0100 +++ new/autopep8-1.3.5/PKG-INFO 2018-03-30 09:32:39.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: autopep8 -Version: 1.3.4 +Version: 1.3.5 Summary: A tool that automatically formats Python code to conform to the PEP 8 style guide Home-page: https://github.com/hhatto/autopep8 Author: Hideo Hattori @@ -11,6 +11,10 @@ autopep8 +.. image:: https://img.shields.io/pypi/v/autopep8.svg +:target: https://pypi.python.org/pypi/autopep8 +:alt: PyPI Version + .. image:: https://travis-ci.org/hhatto/autopep8.svg?branch=master :target: https://travis-ci.org/hhatto/autopep8 :alt: Build status @@ -237,8 +241,8 @@ autopep8 also fixes some issues not found by pycodestyle_. - Correct deprecated or non-idiomatic Python code (via ``lib2to3``). Use this - for making Python 2.6 and 2.7 code more compatible with Python 3. (This is - triggered if ``W690`` is enabled.) + for making Python 2.7 code more compatible with Python 3. (This is triggered + if ``W690`` is enabled.) - Normalize files with mixed line endings. - Put a blank line between a class docstring and its first method declaration. (Enabled with ``E301``.) @@ -325,7 +329,7 @@ Test cases are in ``test/test_autopep8.py``. They can be run directly via ``python test/test_autopep8.py`` or via tox_. The latter is useful for testing against multiple Python interpreters. (We currently test against -CPython versions 2.6, 2.7, 3.3, 3.4, 3.5 and 3.6. We also test against PyPy.) +CPython versions 2.7, 3.4, 3.5 and 3.6. We also test against PyPy.) .. _`tox`: https://pypi.python.org/pypi/tox @@ -373,12 +377,10 @@ Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 2 -Classifier: Programming Language :: Python :: 2.6 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.2 -Classifier: Programming Language :: Python :: 3.3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 +Classifier: Programming Language :: Python :: 3.6
commit python-autopep8 for openSUSE:Factory
Hello community, here is the log from the commit of package python-autopep8 for openSUSE:Factory checked in at 2018-02-05 10:52:56 Comparing /work/SRC/openSUSE:Factory/python-autopep8 (Old) and /work/SRC/openSUSE:Factory/.python-autopep8.new (New) Package is "python-autopep8" Mon Feb 5 10:52:56 2018 rev:10 rq:572411 version:1.3.4 Changes: --- /work/SRC/openSUSE:Factory/python-autopep8/python-autopep8.changes 2017-10-17 01:52:08.507491930 +0200 +++ /work/SRC/openSUSE:Factory/.python-autopep8.new/python-autopep8.changes 2018-02-05 10:53:45.982187419 +0100 @@ -1,0 +2,19 @@ +Sun Feb 4 00:38:02 UTC 2018 - a...@gmx.de + +- specfile: + * update copyright year + +- update to version 1.3.4: + * support in some more cases in E712 + * add test for e712 with dict value + * drop support Python2.6 + * strict pylint + * add to E133 fixed method and available hang-closing option + * fix unit test + * add E226 in default ignore code + * change: use compile() with dont_inherit=True + * add test, invalid config key for autopep8 + * print enable config section and key-value in verbose mode + * add test for w602 valid and invalid 2to3 fixed case, skip now + +--- Old: autopep8-1.3.3.tar.gz New: autopep8-1.3.4.tar.gz Other differences: -- ++ python-autopep8.spec ++ --- /var/tmp/diff_new_pack.Vw8CrV/_old 2018-02-05 10:53:46.814148511 +0100 +++ /var/tmp/diff_new_pack.Vw8CrV/_new 2018-02-05 10:53:46.814148511 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-autopep8 # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-autopep8 -Version:1.3.3 +Version:1.3.4 Release:0 Summary:Automatic generated to pep8 checked code License:MIT ++ autopep8-1.3.3.tar.gz -> autopep8-1.3.4.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.3.3/PKG-INFO new/autopep8-1.3.4/PKG-INFO --- old/autopep8-1.3.3/PKG-INFO 2017-10-11 10:18:31.0 +0200 +++ new/autopep8-1.3.4/PKG-INFO 2018-01-24 14:46:35.0 +0100 @@ -1,11 +1,12 @@ Metadata-Version: 1.1 Name: autopep8 -Version: 1.3.3 +Version: 1.3.4 Summary: A tool that automatically formats Python code to conform to the PEP 8 style guide Home-page: https://github.com/hhatto/autopep8 Author: Hideo Hattori Author-email: hhatto...@gmail.com License: Expat License +Description-Content-Type: UNKNOWN Description: autopep8 @@ -324,7 +325,7 @@ Test cases are in ``test/test_autopep8.py``. They can be run directly via ``python test/test_autopep8.py`` or via tox_. The latter is useful for testing against multiple Python interpreters. (We currently test against -CPython versions 2.6, 2.7, 3.3, 3.4, and 3.5. We also test against PyPy.) +CPython versions 2.6, 2.7, 3.3, 3.4, 3.5 and 3.6. We also test against PyPy.) .. _`tox`: https://pypi.python.org/pypi/tox diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.3.3/README.rst new/autopep8-1.3.4/README.rst --- old/autopep8-1.3.3/README.rst 2017-10-11 10:09:28.0 +0200 +++ new/autopep8-1.3.4/README.rst 2018-01-22 03:30:33.0 +0100 @@ -316,7 +316,7 @@ Test cases are in ``test/test_autopep8.py``. They can be run directly via ``python test/test_autopep8.py`` or via tox_. The latter is useful for testing against multiple Python interpreters. (We currently test against -CPython versions 2.6, 2.7, 3.3, 3.4, and 3.5. We also test against PyPy.) +CPython versions 2.6, 2.7, 3.3, 3.4, 3.5 and 3.6. We also test against PyPy.) .. _`tox`: https://pypi.python.org/pypi/tox diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.3.3/autopep8.egg-info/PKG-INFO new/autopep8-1.3.4/autopep8.egg-info/PKG-INFO --- old/autopep8-1.3.3/autopep8.egg-info/PKG-INFO 2017-10-11 10:18:31.0 +0200 +++ new/autopep8-1.3.4/autopep8.egg-info/PKG-INFO 2018-01-24 14:46:34.0 +0100 @@ -1,11 +1,12 @@ Metadata-Version: 1.1 Name: autopep8 -Version: 1.3.3 +Version: 1.3.4 Summary: A tool that automatically formats Python code to conform to the PEP 8 style guide Home-page: https://github.com/hhatto/autopep8 Author:
commit python-autopep8 for openSUSE:Factory
Hello community, here is the log from the commit of package python-autopep8 for openSUSE:Factory checked in at 2017-10-17 01:52:06 Comparing /work/SRC/openSUSE:Factory/python-autopep8 (Old) and /work/SRC/openSUSE:Factory/.python-autopep8.new (New) Package is "python-autopep8" Tue Oct 17 01:52:06 2017 rev:9 rq:533943 version:1.3.3 Changes: --- /work/SRC/openSUSE:Factory/python-autopep8/python-autopep8.changes 2017-08-10 14:13:05.628084589 +0200 +++ /work/SRC/openSUSE:Factory/.python-autopep8.new/python-autopep8.changes 2017-10-17 01:52:08.507491930 +0200 @@ -1,0 +2,18 @@ +Thu Oct 12 22:50:14 UTC 2017 - a...@gmx.de + +- update to version 1.3.3: + * add verbose print for 2to3 fixer (for #325) + * fix test suite output + * for #338 (easy solution...) + * Fix a bug in E305 + * care of corner cases for E713 (maybe, not perfect) + * ignore 'not in' case for E713 + * add test for e713 regression (for #276) + * strict pep8 + * improve w503 fixed method + * more test case for w503 + * consider that w503 with comment (#323) + * add test that w503 with comment + * Avoid a crash when shortening comments + +--- Old: autopep8-1.3.2.tar.gz New: autopep8-1.3.3.tar.gz Other differences: -- ++ python-autopep8.spec ++ --- /var/tmp/diff_new_pack.adsXmS/_old 2017-10-17 01:52:09.307454458 +0200 +++ /var/tmp/diff_new_pack.adsXmS/_new 2017-10-17 01:52:09.311454270 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-autopep8 -Version:1.3.2 +Version:1.3.3 Release:0 Summary:Automatic generated to pep8 checked code License:MIT ++ autopep8-1.3.2.tar.gz -> autopep8-1.3.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.3.2/PKG-INFO new/autopep8-1.3.3/PKG-INFO --- old/autopep8-1.3.2/PKG-INFO 2017-05-27 17:22:59.0 +0200 +++ new/autopep8-1.3.3/PKG-INFO 2017-10-11 10:18:31.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: autopep8 -Version: 1.3.2 +Version: 1.3.3 Summary: A tool that automatically formats Python code to conform to the PEP 8 style guide Home-page: https://github.com/hhatto/autopep8 Author: Hideo Hattori diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.3.2/autopep8.egg-info/PKG-INFO new/autopep8-1.3.3/autopep8.egg-info/PKG-INFO --- old/autopep8-1.3.2/autopep8.egg-info/PKG-INFO 2017-05-27 17:22:59.0 +0200 +++ new/autopep8-1.3.3/autopep8.egg-info/PKG-INFO 2017-10-11 10:18:31.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: autopep8 -Version: 1.3.2 +Version: 1.3.3 Summary: A tool that automatically formats Python code to conform to the PEP 8 style guide Home-page: https://github.com/hhatto/autopep8 Author: Hideo Hattori diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.3.2/autopep8.py new/autopep8-1.3.3/autopep8.py --- old/autopep8-1.3.2/autopep8.py 2017-05-27 17:20:33.0 +0200 +++ new/autopep8-1.3.3/autopep8.py 2017-10-11 10:11:23.0 +0200 @@ -66,7 +66,7 @@ unicode = str -__version__ = '1.3.2' +__version__ = '1.3.3' CR = '\r' @@ -77,6 +77,7 @@ PYTHON_SHEBANG_REGEX = re.compile(r'^#!.*\bpython[23]?\b\s*$') LAMBDA_REGEX = re.compile(r'([\w.]+)\s=\slambda\s*([\(\)\w,\s.]*):') COMPARE_NEGATIVE_REGEX = re.compile(r'\b(not)\s+([^][)(}{]+)\s+(in|is)\s') +COMPARE_NEGATIVE_REGEX_THROUGH = re.compile(r'\b(not\s+in)\s') BARE_EXCEPT_REGEX = re.compile(r'except\s*:') STARTSWITH_DEF_REGEX = re.compile(r'^(async\s+def|def)\s.*\):') @@ -805,6 +806,7 @@ offset -= 1 offset += 1 self.source[offset] = cr + self.source[offset] +return [1 + offset] # Line indexed at 1. def fix_e401(self, result): """Put imports on separate lines.""" @@ -885,12 +887,15 @@ if cache_entry in self.long_line_ignore_cache: return [] -if self.options.aggressive and target.lstrip().startswith('#'): -# Wrap commented lines. -return shorten_comment( -line=target, -max_line_length=self.options.max_line_length, -last_comment=not next_line.lstrip().startswith('#')) +if target.lstrip().startswith('#'): +if self.options.aggressive: +# Wrap commented lines. +return shorten_comment( +line=target, +max_line_length=self.options.max_line_length, +
commit python-autopep8 for openSUSE:Factory
Hello community, here is the log from the commit of package python-autopep8 for openSUSE:Factory checked in at 2017-08-10 14:05:21 Comparing /work/SRC/openSUSE:Factory/python-autopep8 (Old) and /work/SRC/openSUSE:Factory/.python-autopep8.new (New) Package is "python-autopep8" Thu Aug 10 14:05:21 2017 rev:8 rq:514574 version:1.3.2 Changes: --- /work/SRC/openSUSE:Factory/python-autopep8/python-autopep8.changes 2015-04-23 08:04:23.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-autopep8.new/python-autopep8.changes 2017-08-10 14:13:05.628084589 +0200 @@ -1,0 +2,9 @@ +Fri Aug 4 15:19:55 UTC 2017 - jmate...@suse.com + +- convert to singlespec (this incidentally fixes bsc#1047622 which + affected the now dropped python3-autopep8) +- update requirement name from pep8 to pycodestyle +- update to 1.3.2 + * upstream provides no changelog + +--- Old: autopep8-1.1.1.tar.gz New: autopep8-1.3.2.tar.gz Other differences: -- ++ python-autopep8.spec ++ --- /var/tmp/diff_new_pack.Dh6I4i/_old 2017-08-10 14:13:06.311988295 +0200 +++ /var/tmp/diff_new_pack.Dh6I4i/_new 2017-08-10 14:13:06.315987732 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-autopep8 # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -16,27 +16,26 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-autopep8 -Version:1.1.1 +Version:1.3.2 Release:0 -Url:https://github.com/hhatto/autopep8 Summary:Automatic generated to pep8 checked code License:MIT Group: Development/Languages/Python -Source: http://pypi.python.org/packages/source/a/autopep8/autopep8-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-devel -BuildRequires: python-setuptools +Url:https://github.com/hhatto/autopep8 +Source: https://files.pythonhosted.org/packages/source/a/autopep8/autopep8-%{version}.tar.gz # Test requirements: -BuildRequires: python-pep8 -Requires: python-pep8 +BuildRequires: %{python_module pycodestyle >= 2.3} +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros +Requires: python-pycodestyle +Requires: python-setuptools Requires(post): update-alternatives Requires(postun): update-alternatives -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch -%endif +%python_subpackages %description Autopep8 is automatic generated to pep8 checked code. @@ -44,20 +43,19 @@ %prep %setup -q -n autopep8-%{version} -sed -i '1d' autopep8.py # Remove she-bang line -sed -i "s/autopep8 =/autopep8-%{py_ver} =/" setup.py # Add py_ver suffix to binary +sed -i '1s/^#!.*//' autopep8.py # Remove she-bang line %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} -ln -s %{_bindir}/autopep8-%{py_ver} %{buildroot}%{_bindir}/autopep8 +%python_install +%python_clone -a %{buildroot}%{_bindir}/autopep8 %check # need to set locale to avoid UnicodeEncodeError export LANG="en_US.UTF-8" -python setup.py test -q +%python_exec setup.py test -q %pre # Since /usr/bin/autopep8 became ghosted to be used with update-alternatives, we have to get rid @@ -65,22 +63,17 @@ [ -h %{_bindir}/autopep8 ] || rm -f %{_bindir}/autopep8 %post -update-alternatives --install %{_bindir}/autopep8 autopep8 %{_bindir}/autopep8-%{py_ver} 20 +%python_install_alternative autopep8 -%preun -if [ $1 -eq 0 ] ; then -update-alternatives --remove autopep8 %{_bindir}/autopep8-%{py_ver} -fi +%postun +%python_uninstall_alternative autopep8 -%files +%files %{python_files} %defattr(-,root,root,-) %doc README.rst -%ghost %{_bindir}/autopep8 -%if 0%{?suse_version} >= 1230 -%ghost %{_sysconfdir}/alternatives/autopep8 -%endif -%{_bindir}/autopep8-%{py_ver} +%python_alternative %{_bindir}/autopep8 +%pycache_only %{python_sitelib}/__pycache__/* %{python_sitelib}/autopep8.py* -%{python_sitelib}/autopep8-%{version}-py%{py_ver}.egg-info +%{python_sitelib}/autopep8-%{version}-py%{python_version}.egg-info %changelog ++ autopep8-1.1.1.tar.gz -> autopep8-1.3.2.tar.gz ++ 3462 lines of diff (skipped)
commit python-autopep8 for openSUSE:Factory
Hello community, here is the log from the commit of package python-autopep8 for openSUSE:Factory checked in at 2015-04-23 08:04:22 Comparing /work/SRC/openSUSE:Factory/python-autopep8 (Old) and /work/SRC/openSUSE:Factory/.python-autopep8.new (New) Package is python-autopep8 Changes: --- /work/SRC/openSUSE:Factory/python-autopep8/python-autopep8.changes 2014-11-18 22:45:35.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-autopep8.new/python-autopep8.changes 2015-04-23 08:04:23.0 +0200 @@ -1,0 +2,6 @@ +Tue Apr 21 18:02:55 UTC 2015 - benoit.mo...@gmx.fr + +- update to 1.1.1: no upstream changelog +- add -q to test to avoid spamming the build log + +--- Old: autopep8-1.0.3.tar.gz New: autopep8-1.1.1.tar.gz Other differences: -- ++ python-autopep8.spec ++ --- /var/tmp/diff_new_pack.kb4myr/_old 2015-04-23 08:04:23.0 +0200 +++ /var/tmp/diff_new_pack.kb4myr/_new 2015-04-23 08:04:23.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-autopep8 # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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: python-autopep8 -Version:1.0.3 +Version:1.1.1 Release:0 Url:https://github.com/hhatto/autopep8 Summary:Automatic generated to pep8 checked code @@ -57,7 +57,7 @@ %check # need to set locale to avoid UnicodeEncodeError export LANG=en_US.UTF-8 -python setup.py test +python setup.py test -q %pre # Since /usr/bin/autopep8 became ghosted to be used with update-alternatives, we have to get rid ++ autopep8-1.0.3.tar.gz - autopep8-1.1.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.0.3/AUTHORS.rst new/autopep8-1.1.1/AUTHORS.rst --- old/autopep8-1.0.3/AUTHORS.rst 2014-03-29 15:23:30.0 +0100 +++ new/autopep8-1.1.1/AUTHORS.rst 2014-12-25 03:20:09.0 +0100 @@ -19,3 +19,6 @@ - Christopher Medrela (https://github.com/chrismedrela) - 小明 (https://github.com/dongweiming) - Andy Hayden (https://github.com/hayd) +- Fabio Zadrozny (https://github.com/fabioz) +- Alex Chernetz (https://github.com/achernet) +- Marc Schlaich (https://github.com/schlamar) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.0.3/LICENSE new/autopep8-1.1.1/LICENSE --- old/autopep8-1.0.3/LICENSE 2014-04-11 03:54:44.0 +0200 +++ new/autopep8-1.1.1/LICENSE 2015-02-26 06:48:37.0 +0100 @@ -1,6 +1,6 @@ Copyright (C) 2010-2011 Hideo Hattori Copyright (C) 2011-2013 Hideo Hattori, Steven Myint -Copyright (C) 2013-2014 Hideo Hattori, Steven Myint, Bill Wendling +Copyright (C) 2013-2015 Hideo Hattori, Steven Myint, Bill Wendling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.0.3/MANIFEST.in new/autopep8-1.1.1/MANIFEST.in --- old/autopep8-1.0.3/MANIFEST.in 2014-05-08 16:31:05.0 +0200 +++ new/autopep8-1.1.1/MANIFEST.in 2015-02-26 06:35:07.0 +0100 @@ -10,6 +10,7 @@ include test/example_with_reduce.py include test/example.py include test/iso_8859_1.py +include test/fake_configuration/.pep8 recursive-exclude test/suite *.py recursive-exclude test/suite/out *.py exclude .travis.yml @@ -21,7 +22,6 @@ exclude install_hooks.bash exclude test/.gitignore exclude test/acid.py -exclude test/acid_github.py exclude test/acid_pypi.py exclude test/suite exclude test/suite/out diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.0.3/PKG-INFO new/autopep8-1.1.1/PKG-INFO --- old/autopep8-1.0.3/PKG-INFO 2014-06-10 14:47:48.0 +0200 +++ new/autopep8-1.1.1/PKG-INFO 2015-02-26 06:58:32.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: autopep8 -Version: 1.0.3 +Version: 1.1.1 Summary: A tool that automatically formats Python code to conform to the PEP 8 style guide Home-page: https://github.com/hhatto/autopep8 Author: Hideo Hattori @@ -132,7 +132,8 @@ Options:: -usage: autopep8 [-h] [--version] [-v] [-d] [-i] [-r] [-j n] [-p n] [-a] +usage: autopep8 [-h] [--version] [-v] [-d] [-i] [--global-config filename] +[--ignore-local-config] [-r] [-j
commit python-autopep8 for openSUSE:Factory
Hello community, here is the log from the commit of package python-autopep8 for openSUSE:Factory checked in at 2014-11-18 22:45:04 Comparing /work/SRC/openSUSE:Factory/python-autopep8 (Old) and /work/SRC/openSUSE:Factory/.python-autopep8.new (New) Package is python-autopep8 Changes: --- /work/SRC/openSUSE:Factory/python-autopep8/python-autopep8.changes 2014-07-11 06:46:53.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-autopep8.new/python-autopep8.changes 2014-11-18 22:45:35.0 +0100 @@ -1,0 +2,5 @@ +Sat Nov 08 17:23:00 UTC 2014 - Led led...@gmail.com + +- fix bashism in pre script + +--- Other differences: -- ++ python-autopep8.spec ++ --- /var/tmp/diff_new_pack.z8HQuv/_old 2014-11-18 22:45:36.0 +0100 +++ /var/tmp/diff_new_pack.z8HQuv/_new 2014-11-18 22:45:36.0 +0100 @@ -62,8 +62,7 @@ %pre # Since /usr/bin/autopep8 became ghosted to be used with update-alternatives, we have to get rid # of the old binary resulting from the non-update-alternativies-ified package: -[[ ! -L %{_bindir}/autopep8 ]] rm -f %{_bindir}/autopep8 -exit 0 +[ -h %{_bindir}/autopep8 ] || rm -f %{_bindir}/autopep8 %post update-alternatives --install %{_bindir}/autopep8 autopep8 %{_bindir}/autopep8-%{py_ver} 20 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-autopep8 for openSUSE:Factory
Hello community, here is the log from the commit of package python-autopep8 for openSUSE:Factory checked in at 2014-07-11 06:46:07 Comparing /work/SRC/openSUSE:Factory/python-autopep8 (Old) and /work/SRC/openSUSE:Factory/.python-autopep8.new (New) Package is python-autopep8 Changes: --- /work/SRC/openSUSE:Factory/python-autopep8/python-autopep8.changes 2014-05-13 20:48:03.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-autopep8.new/python-autopep8.changes 2014-07-11 06:46:53.0 +0200 @@ -1,0 +2,6 @@ +Thu Jul 10 12:42:02 UTC 2014 - toddrme2...@gmail.com + +- Update to 1.0.3 + + Upstream provides no changelog + +--- Old: autopep8-1.0.2.tar.gz New: autopep8-1.0.3.tar.gz Other differences: -- ++ python-autopep8.spec ++ --- /var/tmp/diff_new_pack.D9pABL/_old 2014-07-11 06:46:53.0 +0200 +++ /var/tmp/diff_new_pack.D9pABL/_new 2014-07-11 06:46:53.0 +0200 @@ -17,7 +17,7 @@ Name: python-autopep8 -Version:1.0.2 +Version:1.0.3 Release:0 Url:https://github.com/hhatto/autopep8 Summary:Automatic generated to pep8 checked code ++ autopep8-1.0.2.tar.gz - autopep8-1.0.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.0.2/PKG-INFO new/autopep8-1.0.3/PKG-INFO --- old/autopep8-1.0.2/PKG-INFO 2014-05-08 16:31:54.0 +0200 +++ new/autopep8-1.0.3/PKG-INFO 2014-06-10 14:47:48.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: autopep8 -Version: 1.0.2 +Version: 1.0.3 Summary: A tool that automatically formats Python code to conform to the PEP 8 style guide Home-page: https://github.com/hhatto/autopep8 Author: Hideo Hattori @@ -297,6 +297,13 @@ autopep8.fix_code('x= 123\n') 'x = 123\n' +Or with command-line options: + + import autopep8 + autopep8.fix_code('x.has_key(y)\n', +... options=autopep8.parse_args(['--aggressive', ''])) +'y in x\n' + Testing === diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.0.2/README.rst new/autopep8-1.0.3/README.rst --- old/autopep8-1.0.2/README.rst 2014-05-08 16:31:05.0 +0200 +++ new/autopep8-1.0.3/README.rst 2014-06-10 14:41:58.0 +0200 @@ -289,6 +289,13 @@ autopep8.fix_code('x= 123\n') 'x = 123\n' +Or with command-line options: + + import autopep8 + autopep8.fix_code('x.has_key(y)\n', +... options=autopep8.parse_args(['--aggressive', ''])) +'y in x\n' + Testing === diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.0.2/autopep8.egg-info/PKG-INFO new/autopep8-1.0.3/autopep8.egg-info/PKG-INFO --- old/autopep8-1.0.2/autopep8.egg-info/PKG-INFO 2014-05-08 16:31:54.0 +0200 +++ new/autopep8-1.0.3/autopep8.egg-info/PKG-INFO 2014-06-10 14:47:48.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: autopep8 -Version: 1.0.2 +Version: 1.0.3 Summary: A tool that automatically formats Python code to conform to the PEP 8 style guide Home-page: https://github.com/hhatto/autopep8 Author: Hideo Hattori @@ -297,6 +297,13 @@ autopep8.fix_code('x= 123\n') 'x = 123\n' +Or with command-line options: + + import autopep8 + autopep8.fix_code('x.has_key(y)\n', +... options=autopep8.parse_args(['--aggressive', ''])) +'y in x\n' + Testing === diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.0.2/autopep8.egg-info/requires.txt new/autopep8-1.0.3/autopep8.egg-info/requires.txt --- old/autopep8-1.0.2/autopep8.egg-info/requires.txt 2014-05-08 16:31:54.0 +0200 +++ new/autopep8-1.0.3/autopep8.egg-info/requires.txt 2014-06-10 14:47:48.0 +0200 @@ -1 +1 @@ -pep8 = 1.5.6 \ No newline at end of file +pep8 = 1.5.7 \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autopep8-1.0.2/autopep8.py new/autopep8-1.0.3/autopep8.py --- old/autopep8-1.0.2/autopep8.py 2014-05-08 16:31:21.0 +0200 +++ new/autopep8-1.0.3/autopep8.py 2014-06-10 14:45:35.0 +0200 @@ -67,7 +67,7 @@ unicode = str -__version__ = '1.0.2' +__version__ = '1.0.3' CR = '\r' @@ -410,6 +410,8 @@ # Many fixers are the same even though pep8 categorizes them #
commit python-autopep8 for openSUSE:Factory
Hello community, here is the log from the commit of package python-autopep8 for openSUSE:Factory checked in at 2014-05-13 20:47:44 Comparing /work/SRC/openSUSE:Factory/python-autopep8 (Old) and /work/SRC/openSUSE:Factory/.python-autopep8.new (New) Package is python-autopep8 Changes: --- /work/SRC/openSUSE:Factory/python-autopep8/python-autopep8.changes 2013-11-17 09:59:02.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-autopep8.new/python-autopep8.changes 2014-05-13 20:48:03.0 +0200 @@ -1,0 +2,11 @@ +Fri May 9 09:43:05 UTC 2014 - toddrme2...@gmail.com + +- Update to 1.0.2: + + Upstream provides no changelog +- Update to 1.0.1 +- Update to 1.0.0 +- Update to 0.9.7 +- Update to 0.9.6 +- Fix UnicodeDecodeError in unittests + +--- Old: autopep8-0.9.5.tar.gz New: autopep8-1.0.2.tar.gz Other differences: -- ++ python-autopep8.spec ++ --- /var/tmp/diff_new_pack.eSQR2a/_old 2014-05-13 20:48:04.0 +0200 +++ /var/tmp/diff_new_pack.eSQR2a/_new 2014-05-13 20:48:04.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-autopep8 # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products 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: python-autopep8 -Version:0.9.5 +Version:1.0.2 Release:0 Url:https://github.com/hhatto/autopep8 Summary:Automatic generated to pep8 checked code @@ -55,6 +55,8 @@ ln -s %{_bindir}/autopep8-%{py_ver} %{buildroot}%{_bindir}/autopep8 %check +# need to set locale to avoid UnicodeEncodeError +export LANG=en_US.UTF-8 python setup.py test %pre ++ autopep8-0.9.5.tar.gz - autopep8-1.0.2.tar.gz ++ 11829 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-autopep8 for openSUSE:Factory
Hello community, here is the log from the commit of package python-autopep8 for openSUSE:Factory checked in at 2013-11-17 09:59:01 Comparing /work/SRC/openSUSE:Factory/python-autopep8 (Old) and /work/SRC/openSUSE:Factory/.python-autopep8.new (New) Package is python-autopep8 Changes: --- /work/SRC/openSUSE:Factory/python-autopep8/python-autopep8.changes 2013-11-13 12:44:28.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-autopep8.new/python-autopep8.changes 2013-11-17 09:59:02.0 +0100 @@ -1,0 +2,5 @@ +Fri Nov 15 13:34:19 UTC 2013 - speili...@suse.com + +- Only ghost /etc/alternatives on 12.3 or newer + +--- Other differences: -- ++ python-autopep8.spec ++ --- /var/tmp/diff_new_pack.rRDTO4/_old 2013-11-17 09:59:04.0 +0100 +++ /var/tmp/diff_new_pack.rRDTO4/_new 2013-11-17 09:59:04.0 +0100 @@ -75,7 +75,9 @@ %defattr(-,root,root,-) %doc README.rst %ghost %{_bindir}/autopep8 +%if 0%{?suse_version} = 1230 %ghost %{_sysconfdir}/alternatives/autopep8 +%endif %{_bindir}/autopep8-%{py_ver} %{python_sitelib}/autopep8.py* %{python_sitelib}/autopep8-%{version}-py%{py_ver}.egg-info -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org