Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pytest-flake8 for
openSUSE:Factory checked in at 2021-08-18 08:56:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-flake8 (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-flake8.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-flake8"
Wed Aug 18 08:56:13 2021 rev:8 rq:912673 version:1.0.7
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-flake8/python-pytest-flake8.changes
2020-05-28 09:06:52.655619555 +0200
+++
/work/SRC/openSUSE:Factory/.python-pytest-flake8.new.1899/python-pytest-flake8.changes
2021-08-18 08:57:05.154892081 +0200
@@ -1,0 +2,7 @@
+Mon Aug 16 14:37:49 UTC 2021 - Martin Li??ka <[email protected]>
+
+- Update to 1.0.7:
+ * Implement collect() for Flake8Item; from @thomascobb
+ * Document skipping behavior in README; from @jpyams
+
+-------------------------------------------------------------------
Old:
----
pytest-flake8-1.0.6.tar.gz
New:
----
pytest-flake8-1.0.7.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-flake8.spec ++++++
--- /var/tmp/diff_new_pack.mIIGhf/_old 2021-08-18 08:57:05.566891597 +0200
+++ /var/tmp/diff_new_pack.mIIGhf/_new 2021-08-18 08:57:05.570891591 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-flake8
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 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-pytest-flake8
-Version: 1.0.6
+Version: 1.0.7
Release: 0
Summary: Plugin for pytest to check FLAKE8 requirements
License: BSD-2-Clause
++++++ pytest-flake8-1.0.6.tar.gz -> pytest-flake8-1.0.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flake8-1.0.6/.gitignore
new/pytest-flake8-1.0.7/.gitignore
--- old/pytest-flake8-1.0.6/.gitignore 1970-01-01 01:00:00.000000000 +0100
+++ new/pytest-flake8-1.0.7/.gitignore 2018-03-19 20:01:38.000000000 +0100
@@ -0,0 +1,9 @@
+*.egg-info/
+.pytest_cache/
+*.pyc
+*.sublime-workspace
+.cache/
+.tox/
+/build/
+/dist/
+__pycache__/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flake8-1.0.6/.travis.yml
new/pytest-flake8-1.0.7/.travis.yml
--- old/pytest-flake8-1.0.6/.travis.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/pytest-flake8-1.0.7/.travis.yml 2020-04-23 20:51:54.000000000 +0200
@@ -0,0 +1,29 @@
+dist: xenial
+language: python
+cache: pip
+matrix:
+ include:
+ - python: 2.7
+ env: TOXENV=py27
+ - python: 3.4
+ env: TOXENV=py34
+ - python: 3.5
+ env: TOXENV=py35
+ - python: 3.6
+ env: TOXENV=py36
+ - python: 3.6
+ env: TOXENV=py36-pytesttrunk
+ - python: 3.6
+ env: TOXENV=py36-xdist
+ - python: 3.7
+ env: TOXENV=py37
+ - python: 3.8
+ env: TOXENV=py38
+ - python: pypy2.7-6.0
+ env: TOXENV=pypy
+ - python: pypy3.5-6.0
+ env: TOXENV=pypy3
+install:
+ - pip install tox
+script:
+ - tox -e $TOXENV
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flake8-1.0.6/CHANGELOG
new/pytest-flake8-1.0.7/CHANGELOG
--- old/pytest-flake8-1.0.6/CHANGELOG 2020-05-13 00:27:51.000000000 +0200
+++ new/pytest-flake8-1.0.7/CHANGELOG 2020-12-16 23:32:44.000000000 +0100
@@ -1,3 +1,9 @@
+1.0.7
+-----
+
+- Implement collect() for Flake8Item; from @thomascobb
+- Document skipping behavior in README; from @jpyams
+
1.0.6
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flake8-1.0.6/PKG-INFO
new/pytest-flake8-1.0.7/PKG-INFO
--- old/pytest-flake8-1.0.6/PKG-INFO 2020-05-13 00:27:52.000000000 +0200
+++ new/pytest-flake8-1.0.7/PKG-INFO 2020-12-16 23:38:52.321679600 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pytest-flake8
-Version: 1.0.6
+Version: 1.0.7
Summary: pytest plugin to check FLAKE8 requirements
Home-page: https://github.com/tholo/pytest-flake8
Author: Thorsten Lockert
@@ -67,7 +67,7 @@
or ``tox.ini`` file like this::
# content of setup.cfg
- [pytest]
+ [tool:pytest]
flake8-max-line-length = 99
Note that the default will be what naturally comes with `flake8`_
@@ -78,7 +78,7 @@
or ``tox.ini`` file like this::
# content of setup.cfg
- [pytest]
+ [tool:pytest]
flake8-ignore = E201 E231
This would globally prevent complaints about two whitespace issues.
@@ -94,7 +94,7 @@
a glob-pattern and a space-separated list of codes::
# content of setup.cfg
- [pytest]
+ [tool:pytest]
flake8-ignore =
*.py E201
doc/conf.py ALL
@@ -122,6 +122,16 @@
Note that doc/conf.py was not considered or imported.
+ FAQs
+ -----
+
+ All the flake8 tests are skipping!
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+ This is by design. Clean flake8 results are cached and, unless the
file is modified, not tested again.
+
+ You can run with ``pytest --cache-clear --flake8`` to override this.
+
Notes
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flake8-1.0.6/README.rst
new/pytest-flake8-1.0.7/README.rst
--- old/pytest-flake8-1.0.6/README.rst 2020-05-13 00:27:51.000000000 +0200
+++ new/pytest-flake8-1.0.7/README.rst 2020-12-16 23:31:14.000000000 +0100
@@ -59,7 +59,7 @@
or ``tox.ini`` file like this::
# content of setup.cfg
- [pytest]
+ [tool:pytest]
flake8-max-line-length = 99
Note that the default will be what naturally comes with `flake8`_
@@ -70,7 +70,7 @@
or ``tox.ini`` file like this::
# content of setup.cfg
- [pytest]
+ [tool:pytest]
flake8-ignore = E201 E231
This would globally prevent complaints about two whitespace issues.
@@ -86,7 +86,7 @@
a glob-pattern and a space-separated list of codes::
# content of setup.cfg
- [pytest]
+ [tool:pytest]
flake8-ignore =
*.py E201
doc/conf.py ALL
@@ -114,6 +114,16 @@
Note that doc/conf.py was not considered or imported.
+FAQs
+-----
+
+All the flake8 tests are skipping!
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+This is by design. Clean flake8 results are cached and, unless the file is
modified, not tested again.
+
+You can run with ``pytest --cache-clear --flake8`` to override this.
+
Notes
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flake8-1.0.6/pytest-flake8.sublime-project
new/pytest-flake8-1.0.7/pytest-flake8.sublime-project
--- old/pytest-flake8-1.0.6/pytest-flake8.sublime-project 1970-01-01
01:00:00.000000000 +0100
+++ new/pytest-flake8-1.0.7/pytest-flake8.sublime-project 2015-04-01
01:31:39.000000000 +0200
@@ -0,0 +1,17 @@
+{
+ "folders":
+ [
+ {
+ "folder_exclude_patterns":
+ [
+ "__pycache__",
+ "*.egg-info",
+ ".cache",
+ ".tox",
+ "build",
+ "dist"
+ ],
+ "path": "."
+ }
+ ]
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flake8-1.0.6/pytest_flake8.egg-info/PKG-INFO
new/pytest-flake8-1.0.7/pytest_flake8.egg-info/PKG-INFO
--- old/pytest-flake8-1.0.6/pytest_flake8.egg-info/PKG-INFO 2020-05-13
00:27:51.000000000 +0200
+++ new/pytest-flake8-1.0.7/pytest_flake8.egg-info/PKG-INFO 2020-12-16
23:38:52.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pytest-flake8
-Version: 1.0.6
+Version: 1.0.7
Summary: pytest plugin to check FLAKE8 requirements
Home-page: https://github.com/tholo/pytest-flake8
Author: Thorsten Lockert
@@ -67,7 +67,7 @@
or ``tox.ini`` file like this::
# content of setup.cfg
- [pytest]
+ [tool:pytest]
flake8-max-line-length = 99
Note that the default will be what naturally comes with `flake8`_
@@ -78,7 +78,7 @@
or ``tox.ini`` file like this::
# content of setup.cfg
- [pytest]
+ [tool:pytest]
flake8-ignore = E201 E231
This would globally prevent complaints about two whitespace issues.
@@ -94,7 +94,7 @@
a glob-pattern and a space-separated list of codes::
# content of setup.cfg
- [pytest]
+ [tool:pytest]
flake8-ignore =
*.py E201
doc/conf.py ALL
@@ -122,6 +122,16 @@
Note that doc/conf.py was not considered or imported.
+ FAQs
+ -----
+
+ All the flake8 tests are skipping!
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+ This is by design. Clean flake8 results are cached and, unless the
file is modified, not tested again.
+
+ You can run with ``pytest --cache-clear --flake8`` to override this.
+
Notes
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-flake8-1.0.6/pytest_flake8.egg-info/SOURCES.txt
new/pytest-flake8-1.0.7/pytest_flake8.egg-info/SOURCES.txt
--- old/pytest-flake8-1.0.6/pytest_flake8.egg-info/SOURCES.txt 2020-05-13
00:27:52.000000000 +0200
+++ new/pytest-flake8-1.0.7/pytest_flake8.egg-info/SOURCES.txt 2020-12-16
23:38:52.000000000 +0100
@@ -1,7 +1,10 @@
+.gitignore
+.travis.yml
CHANGELOG
LICENSE
MANIFEST.in
README.rst
+pytest-flake8.sublime-project
pytest_flake8.py
setup.cfg
setup.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flake8-1.0.6/pytest_flake8.py
new/pytest-flake8-1.0.7/pytest_flake8.py
--- old/pytest-flake8-1.0.6/pytest_flake8.py 2020-05-13 00:27:51.000000000
+0200
+++ new/pytest-flake8-1.0.7/pytest_flake8.py 2020-12-16 23:27:03.000000000
+0100
@@ -145,6 +145,9 @@
ignores = ""
return (self.fspath, -1, "FLAKE8-check%s" % ignores)
+ def collect(self):
+ return iter((self,))
+
class Ignorer:
def __init__(self, ignorelines, coderex=re.compile(r"[EW]\d\d\d")):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flake8-1.0.6/setup.py
new/pytest-flake8-1.0.7/setup.py
--- old/pytest-flake8-1.0.6/setup.py 2020-05-13 00:27:51.000000000 +0200
+++ new/pytest-flake8-1.0.7/setup.py 2020-12-16 23:33:06.000000000 +0100
@@ -6,7 +6,7 @@
setup(
name='pytest-flake8',
- version='1.0.6',
+ version='1.0.7',
description='pytest plugin to check FLAKE8 requirements',
long_description=open("README.rst").read(),
classifiers=[
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flake8-1.0.6/test_flake8.py
new/pytest-flake8-1.0.7/test_flake8.py
--- old/pytest-flake8-1.0.6/test_flake8.py 2020-05-13 00:27:51.000000000
+0200
+++ new/pytest-flake8-1.0.7/test_flake8.py 2020-12-16 23:27:03.000000000
+0100
@@ -153,6 +153,12 @@
result.assert_outcomes(failed=1)
+def test_run_on_init_file(testdir):
+ d = testdir.mkpydir("tests")
+ result = testdir.runpytest("--flake8", d / "__init__.py")
+ result.assert_outcomes(passed=1)
+
+
@pytest.mark.xfail("sys.platform == 'win32'")
def test_unicode_error(testdir):
x = testdir.tmpdir.join("x.py")