Hello community, here is the log from the commit of package python-flake8-import-order for openSUSE:Factory checked in at 2019-03-13 09:14:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-flake8-import-order (Old) and /work/SRC/openSUSE:Factory/.python-flake8-import-order.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-flake8-import-order" Wed Mar 13 09:14:22 2019 rev:5 rq:684356 version:0.18.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-flake8-import-order/python-flake8-import-order.changes 2018-12-13 19:44:36.017000423 +0100 +++ /work/SRC/openSUSE:Factory/.python-flake8-import-order.new.28833/python-flake8-import-order.changes 2019-03-13 09:14:26.351391632 +0100 @@ -1,0 +2,9 @@ +Tue Mar 12 15:18:04 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 0.18.1: + * Fix case-sensitive related I100 errors for the pycharm style + * Fix noqa regexp +- Run fdupes +- Enable tests + +------------------------------------------------------------------- Old: ---- flake8-import-order-0.18.tar.gz New: ---- flake8-import-order-0.18.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-flake8-import-order.spec ++++++ --- /var/tmp/diff_new_pack.Cavxi5/_old 2019-03-13 09:14:27.035391562 +0100 +++ /var/tmp/diff_new_pack.Cavxi5/_new 2019-03-13 09:14:27.035391562 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-flake8-import-order # -# 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-flake8-import-order -Version: 0.18 +Version: 0.18.1 Release: 0 Summary: Flake8 plugin that checks the ordering of import statements License: LGPL-3.0-only @@ -27,7 +27,10 @@ Source: https://files.pythonhosted.org/packages/source/f/flake8-import-order/flake8-import-order-%{version}.tar.gz BuildRequires: %{python_module flake8} BuildRequires: %{python_module pycodestyle} +BuildRequires: %{python_module pylama} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python2-enum34 Requires: python-flake8 @@ -49,6 +52,10 @@ %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest %files %{python_files} %license COPYING ++++++ flake8-import-order-0.18.tar.gz -> flake8-import-order-0.18.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-import-order-0.18/CHANGELOG.rst new/flake8-import-order-0.18.1/CHANGELOG.rst --- old/flake8-import-order-0.18/CHANGELOG.rst 2018-07-08 19:17:54.000000000 +0200 +++ new/flake8-import-order-0.18.1/CHANGELOG.rst 2019-03-04 09:37:58.000000000 +0100 @@ -1,3 +1,9 @@ +0.18.1 2019-03-04 +----------------- + +* Fix case-sensitive related I100 errors for the pycharm style +* Fix noqa regexp + 0.18 2018-07-08 --------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-import-order-0.18/PKG-INFO new/flake8-import-order-0.18.1/PKG-INFO --- old/flake8-import-order-0.18/PKG-INFO 2018-07-08 19:20:32.000000000 +0200 +++ new/flake8-import-order-0.18.1/PKG-INFO 2019-03-04 09:38:23.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: flake8-import-order -Version: 0.18 +Version: 0.18.1 Summary: Flake8 and pylama plugin that checks the ordering of import statements. Home-page: https://github.com/PyCQA/flake8-import-order Author: Alex Stapleton diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-import-order-0.18/flake8_import_order/__about__.py new/flake8-import-order-0.18.1/flake8_import_order/__about__.py --- old/flake8-import-order-0.18/flake8_import_order/__about__.py 2018-07-08 19:17:54.000000000 +0200 +++ new/flake8-import-order-0.18.1/flake8_import_order/__about__.py 2019-03-04 09:37:58.000000000 +0100 @@ -12,7 +12,7 @@ ) __uri__ = "https://github.com/PyCQA/flake8-import-order" -__version__ = "0.18" +__version__ = "0.18.1" __author__ = "Alex Stapleton" __email__ = "al...@prol.etari.at" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-import-order-0.18/flake8_import_order/checker.py new/flake8-import-order-0.18.1/flake8_import_order/checker.py --- old/flake8-import-order-0.18/flake8_import_order/checker.py 2018-02-11 18:24:16.000000000 +0100 +++ new/flake8-import-order-0.18.1/flake8_import_order/checker.py 2019-03-04 09:37:58.000000000 +0100 @@ -18,7 +18,7 @@ # We do not care about the ``: `` that follows ``noqa`` # We do not care about the casing of ``noqa`` # We want a comma-separated list of errors - '# noqa(?:: (?P<codes>([A-Z][0-9]+(?:[,\s]+)?)+))?', + r'# noqa(?:: (?P<codes>([A-Z][0-9]+(?:[,\s]+)?)+))?', re.IGNORECASE ) COMMA_SEPARATED_LIST_RE = re.compile(r'[,\s]') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-import-order-0.18/flake8_import_order/styles.py new/flake8-import-order-0.18.1/flake8_import_order/styles.py --- old/flake8-import-order-0.18/flake8_import_order/styles.py 2018-02-11 18:24:16.000000000 +0100 +++ new/flake8-import-order-0.18.1/flake8_import_order/styles.py 2019-03-04 09:37:58.000000000 +0100 @@ -229,6 +229,10 @@ def sorted_names(names): return sorted(names) + @staticmethod + def import_key(import_): + return (import_.type, import_.is_from, import_.level, import_.modules, import_.names) + class Cryptography(Style): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-import-order-0.18/flake8_import_order.egg-info/PKG-INFO new/flake8-import-order-0.18.1/flake8_import_order.egg-info/PKG-INFO --- old/flake8-import-order-0.18/flake8_import_order.egg-info/PKG-INFO 2018-07-08 19:20:32.000000000 +0200 +++ new/flake8-import-order-0.18.1/flake8_import_order.egg-info/PKG-INFO 2019-03-04 09:38:23.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: flake8-import-order -Version: 0.18 +Version: 0.18.1 Summary: Flake8 and pylama plugin that checks the ordering of import statements. Home-page: https://github.com/PyCQA/flake8-import-order Author: Alex Stapleton diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-import-order-0.18/flake8_import_order.egg-info/SOURCES.txt new/flake8-import-order-0.18.1/flake8_import_order.egg-info/SOURCES.txt --- old/flake8-import-order-0.18/flake8_import_order.egg-info/SOURCES.txt 2018-07-08 19:20:32.000000000 +0200 +++ new/flake8-import-order-0.18.1/flake8_import_order.egg-info/SOURCES.txt 2019-03-04 09:38:23.000000000 +0100 @@ -31,6 +31,7 @@ tests/test_cases/complete_edited.py tests/test_cases/complete_google.py tests/test_cases/complete_pep8.py +tests/test_cases/complete_pycharm.py tests/test_cases/complete_smarkets.py tests/test_cases/missing_newline.py tests/test_cases/missing_newline_cryptography.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-import-order-0.18/tests/test_cases/complete_pycharm.py new/flake8-import-order-0.18.1/tests/test_cases/complete_pycharm.py --- old/flake8-import-order-0.18/tests/test_cases/complete_pycharm.py 1970-01-01 01:00:00.000000000 +0100 +++ new/flake8-import-order-0.18.1/tests/test_cases/complete_pycharm.py 2019-03-04 09:37:58.000000000 +0100 @@ -0,0 +1,35 @@ +# pycharm +from __future__ import absolute_import + +import StringIO +import ast +import os +import sys +from functools import * +from os import path + +import X +import Y +import Z +import localpackage +from X import * +from X import A +from X import B, C, b, d +from Y import * +from Y import A +from Y import B, C, D +from Y import e +from Z import A +from Z.A import A +from Z.A.B import A + +import flake8_import_order +from flake8_import_order import * +from . import A +from . import B +from .A import A +from .B import B +from .. import A +from .. import B +from ..A import A +from ..B import B