forked from pool/python-flake8
Accepting request 717079 from devel:languages:python
- Update to 3.7.8: * Fix handling of Application.parse_preliminary_options_and_args when argv is an empty list (See also GitLab!310, GitLab#518) * Fix crash when a file parses but fails to tokenize (See also GitLab!314, GitLab#532) * Log the full traceback on plugin exceptions (See also GitLab!317) * Fix # noqa: ... comments with multi-letter codes (See also GitLab!326, GitLab#549) - Rebase remove_mock_dependency.patch OBS-URL: https://build.opensuse.org/request/show/717079 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=25
This commit is contained in:
commit
a2363dfcf3
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:859996073f341f2670741b51ec1e67a01da142831aa1fdc6242dbf88dffbe661
|
|
||||||
size 148457
|
|
3
flake8-3.7.8.tar.gz
Normal file
3
flake8-3.7.8.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:19241c1cbc971b9962473e4438a2ca19749a7dd002dd1a946eaba171b4114548
|
||||||
|
size 150113
|
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 19 12:16:05 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 3.7.8:
|
||||||
|
* Fix handling of Application.parse_preliminary_options_and_args when
|
||||||
|
argv is an empty list (See also GitLab!310, GitLab#518)
|
||||||
|
* Fix crash when a file parses but fails to tokenize (See also GitLab!314,
|
||||||
|
GitLab#532)
|
||||||
|
* Log the full traceback on plugin exceptions (See also GitLab!317)
|
||||||
|
* Fix # noqa: ... comments with multi-letter codes (See also GitLab!326,
|
||||||
|
GitLab#549)
|
||||||
|
- Rebase remove_mock_dependency.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Mar 3 09:06:27 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
Sun Mar 3 09:06:27 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%bcond_without python2
|
%bcond_without python2
|
||||||
Name: python-flake8
|
Name: python-flake8
|
||||||
Version: 3.7.7
|
Version: 3.7.8
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Modular source code checker: pep8, pyflakes and co
|
Summary: Modular source code checker: pep8, pyflakes and co
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -72,7 +72,7 @@ around these tools:
|
|||||||
Flake8 runs all the tools by launching the single ``flake8`` script.
|
Flake8 runs all the tools by launching the single ``flake8`` script.
|
||||||
|
|
||||||
%package -n %{name}-doc
|
%package -n %{name}-doc
|
||||||
Summary: Documentation files for %name
|
Summary: Documentation files for %{name}
|
||||||
Group: Documentation/Other
|
Group: Documentation/Other
|
||||||
Recommends: %{name} = %{version}
|
Recommends: %{name} = %{version}
|
||||||
|
|
||||||
@ -100,7 +100,7 @@ This package provides documentation for %{name}.
|
|||||||
%python_uninstall_alternative flake8
|
%python_uninstall_alternative flake8
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m pytest tests
|
%pytest tests
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: flake8-3.7.5/tests/integration/test_checker.py
|
Index: flake8-3.7.8/tests/integration/test_checker.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- flake8-3.7.5.orig/tests/integration/test_checker.py
|
--- flake8-3.7.8.orig/tests/integration/test_checker.py
|
||||||
+++ flake8-3.7.5/tests/integration/test_checker.py
|
+++ flake8-3.7.8/tests/integration/test_checker.py
|
||||||
@@ -1,5 +1,8 @@
|
@@ -1,5 +1,8 @@
|
||||||
"""Integration tests for the checker submodule."""
|
"""Integration tests for the checker submodule."""
|
||||||
-import mock
|
-import mock
|
||||||
@ -12,13 +12,13 @@ Index: flake8-3.7.5/tests/integration/test_checker.py
|
|||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from flake8 import checker
|
from flake8 import checker
|
||||||
Index: flake8-3.7.5/tests/unit/test_application.py
|
Index: flake8-3.7.8/tests/unit/test_application.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- flake8-3.7.5.orig/tests/unit/test_application.py
|
--- flake8-3.7.8.orig/tests/unit/test_application.py
|
||||||
+++ flake8-3.7.5/tests/unit/test_application.py
|
+++ flake8-3.7.8/tests/unit/test_application.py
|
||||||
@@ -1,7 +1,10 @@
|
@@ -2,7 +2,10 @@
|
||||||
"""Tests for the Application class."""
|
|
||||||
import optparse
|
import optparse
|
||||||
|
import sys
|
||||||
|
|
||||||
-import mock
|
-import mock
|
||||||
+try:
|
+try:
|
||||||
@ -28,10 +28,10 @@ Index: flake8-3.7.5/tests/unit/test_application.py
|
|||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from flake8.main import application as app
|
from flake8.main import application as app
|
||||||
Index: flake8-3.7.5/tests/unit/test_base_formatter.py
|
Index: flake8-3.7.8/tests/unit/test_base_formatter.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- flake8-3.7.5.orig/tests/unit/test_base_formatter.py
|
--- flake8-3.7.8.orig/tests/unit/test_base_formatter.py
|
||||||
+++ flake8-3.7.5/tests/unit/test_base_formatter.py
|
+++ flake8-3.7.8/tests/unit/test_base_formatter.py
|
||||||
@@ -1,7 +1,10 @@
|
@@ -1,7 +1,10 @@
|
||||||
"""Tests for the BaseFormatter object."""
|
"""Tests for the BaseFormatter object."""
|
||||||
import optparse
|
import optparse
|
||||||
@ -44,10 +44,10 @@ Index: flake8-3.7.5/tests/unit/test_base_formatter.py
|
|||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from flake8 import style_guide
|
from flake8 import style_guide
|
||||||
Index: flake8-3.7.5/tests/unit/test_checker_manager.py
|
Index: flake8-3.7.8/tests/unit/test_checker_manager.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- flake8-3.7.5.orig/tests/unit/test_checker_manager.py
|
--- flake8-3.7.8.orig/tests/unit/test_checker_manager.py
|
||||||
+++ flake8-3.7.5/tests/unit/test_checker_manager.py
|
+++ flake8-3.7.8/tests/unit/test_checker_manager.py
|
||||||
@@ -1,7 +1,10 @@
|
@@ -1,7 +1,10 @@
|
||||||
"""Tests for the Manager object for FileCheckers."""
|
"""Tests for the Manager object for FileCheckers."""
|
||||||
import errno
|
import errno
|
||||||
@ -60,10 +60,10 @@ Index: flake8-3.7.5/tests/unit/test_checker_manager.py
|
|||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from flake8 import checker
|
from flake8 import checker
|
||||||
Index: flake8-3.7.5/tests/unit/test_config_file_finder.py
|
Index: flake8-3.7.8/tests/unit/test_config_file_finder.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- flake8-3.7.5.orig/tests/unit/test_config_file_finder.py
|
--- flake8-3.7.8.orig/tests/unit/test_config_file_finder.py
|
||||||
+++ flake8-3.7.5/tests/unit/test_config_file_finder.py
|
+++ flake8-3.7.8/tests/unit/test_config_file_finder.py
|
||||||
@@ -4,7 +4,10 @@ import configparser
|
@@ -4,7 +4,10 @@ import configparser
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
@ -76,10 +76,10 @@ Index: flake8-3.7.5/tests/unit/test_config_file_finder.py
|
|||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from flake8.options import config
|
from flake8.options import config
|
||||||
Index: flake8-3.7.5/tests/unit/test_debug.py
|
Index: flake8-3.7.8/tests/unit/test_debug.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- flake8-3.7.5.orig/tests/unit/test_debug.py
|
--- flake8-3.7.8.orig/tests/unit/test_debug.py
|
||||||
+++ flake8-3.7.5/tests/unit/test_debug.py
|
+++ flake8-3.7.8/tests/unit/test_debug.py
|
||||||
@@ -1,6 +1,9 @@
|
@@ -1,6 +1,9 @@
|
||||||
"""Tests for our debugging module."""
|
"""Tests for our debugging module."""
|
||||||
import entrypoints
|
import entrypoints
|
||||||
@ -91,10 +91,10 @@ Index: flake8-3.7.5/tests/unit/test_debug.py
|
|||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from flake8.main import debug
|
from flake8.main import debug
|
||||||
Index: flake8-3.7.5/tests/unit/test_file_checker.py
|
Index: flake8-3.7.8/tests/unit/test_file_checker.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- flake8-3.7.5.orig/tests/unit/test_file_checker.py
|
--- flake8-3.7.8.orig/tests/unit/test_file_checker.py
|
||||||
+++ flake8-3.7.5/tests/unit/test_file_checker.py
|
+++ flake8-3.7.8/tests/unit/test_file_checker.py
|
||||||
@@ -1,5 +1,8 @@
|
@@ -1,5 +1,8 @@
|
||||||
"""Unit tests for the FileChecker class."""
|
"""Unit tests for the FileChecker class."""
|
||||||
-import mock
|
-import mock
|
||||||
@ -105,10 +105,10 @@ Index: flake8-3.7.5/tests/unit/test_file_checker.py
|
|||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
import flake8
|
import flake8
|
||||||
Index: flake8-3.7.5/tests/unit/test_file_processor.py
|
Index: flake8-3.7.8/tests/unit/test_file_processor.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- flake8-3.7.5.orig/tests/unit/test_file_processor.py
|
--- flake8-3.7.8.orig/tests/unit/test_file_processor.py
|
||||||
+++ flake8-3.7.5/tests/unit/test_file_processor.py
|
+++ flake8-3.7.8/tests/unit/test_file_processor.py
|
||||||
@@ -2,7 +2,10 @@
|
@@ -2,7 +2,10 @@
|
||||||
import ast
|
import ast
|
||||||
import tokenize
|
import tokenize
|
||||||
@ -121,10 +121,10 @@ Index: flake8-3.7.5/tests/unit/test_file_processor.py
|
|||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from flake8 import processor
|
from flake8 import processor
|
||||||
Index: flake8-3.7.5/tests/unit/test_get_local_plugins.py
|
Index: flake8-3.7.8/tests/unit/test_get_local_plugins.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- flake8-3.7.5.orig/tests/unit/test_get_local_plugins.py
|
--- flake8-3.7.8.orig/tests/unit/test_get_local_plugins.py
|
||||||
+++ flake8-3.7.5/tests/unit/test_get_local_plugins.py
|
+++ flake8-3.7.8/tests/unit/test_get_local_plugins.py
|
||||||
@@ -1,5 +1,8 @@
|
@@ -1,5 +1,8 @@
|
||||||
"""Tests for get_local_plugins."""
|
"""Tests for get_local_plugins."""
|
||||||
-import mock
|
-import mock
|
||||||
@ -135,10 +135,10 @@ Index: flake8-3.7.5/tests/unit/test_get_local_plugins.py
|
|||||||
|
|
||||||
from flake8.options import config
|
from flake8.options import config
|
||||||
|
|
||||||
Index: flake8-3.7.5/tests/unit/test_git.py
|
Index: flake8-3.7.8/tests/unit/test_git.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- flake8-3.7.5.orig/tests/unit/test_git.py
|
--- flake8-3.7.8.orig/tests/unit/test_git.py
|
||||||
+++ flake8-3.7.5/tests/unit/test_git.py
|
+++ flake8-3.7.8/tests/unit/test_git.py
|
||||||
@@ -1,5 +1,8 @@
|
@@ -1,5 +1,8 @@
|
||||||
"""Tests around functionality in the git integration."""
|
"""Tests around functionality in the git integration."""
|
||||||
-import mock
|
-import mock
|
||||||
@ -149,10 +149,10 @@ Index: flake8-3.7.5/tests/unit/test_git.py
|
|||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from flake8.main import git
|
from flake8.main import git
|
||||||
Index: flake8-3.7.5/tests/unit/test_legacy_api.py
|
Index: flake8-3.7.8/tests/unit/test_legacy_api.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- flake8-3.7.5.orig/tests/unit/test_legacy_api.py
|
--- flake8-3.7.8.orig/tests/unit/test_legacy_api.py
|
||||||
+++ flake8-3.7.5/tests/unit/test_legacy_api.py
|
+++ flake8-3.7.8/tests/unit/test_legacy_api.py
|
||||||
@@ -1,5 +1,8 @@
|
@@ -1,5 +1,8 @@
|
||||||
"""Tests for Flake8's legacy API."""
|
"""Tests for Flake8's legacy API."""
|
||||||
-import mock
|
-import mock
|
||||||
@ -163,10 +163,10 @@ Index: flake8-3.7.5/tests/unit/test_legacy_api.py
|
|||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from flake8.api import legacy as api
|
from flake8.api import legacy as api
|
||||||
Index: flake8-3.7.5/tests/unit/test_merged_config_parser.py
|
Index: flake8-3.7.8/tests/unit/test_merged_config_parser.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- flake8-3.7.5.orig/tests/unit/test_merged_config_parser.py
|
--- flake8-3.7.8.orig/tests/unit/test_merged_config_parser.py
|
||||||
+++ flake8-3.7.5/tests/unit/test_merged_config_parser.py
|
+++ flake8-3.7.8/tests/unit/test_merged_config_parser.py
|
||||||
@@ -1,7 +1,10 @@
|
@@ -1,7 +1,10 @@
|
||||||
"""Unit tests for flake8.options.config.MergedConfigParser."""
|
"""Unit tests for flake8.options.config.MergedConfigParser."""
|
||||||
import os
|
import os
|
||||||
@ -179,10 +179,10 @@ Index: flake8-3.7.5/tests/unit/test_merged_config_parser.py
|
|||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from flake8.options import config
|
from flake8.options import config
|
||||||
Index: flake8-3.7.5/tests/unit/test_option.py
|
Index: flake8-3.7.8/tests/unit/test_option.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- flake8-3.7.5.orig/tests/unit/test_option.py
|
--- flake8-3.7.8.orig/tests/unit/test_option.py
|
||||||
+++ flake8-3.7.5/tests/unit/test_option.py
|
+++ flake8-3.7.8/tests/unit/test_option.py
|
||||||
@@ -1,5 +1,8 @@
|
@@ -1,5 +1,8 @@
|
||||||
"""Unit tests for flake8.options.manager.Option."""
|
"""Unit tests for flake8.options.manager.Option."""
|
||||||
-import mock
|
-import mock
|
||||||
@ -193,10 +193,10 @@ Index: flake8-3.7.5/tests/unit/test_option.py
|
|||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from flake8.options import manager
|
from flake8.options import manager
|
||||||
Index: flake8-3.7.5/tests/unit/test_option_manager.py
|
Index: flake8-3.7.8/tests/unit/test_option_manager.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- flake8-3.7.5.orig/tests/unit/test_option_manager.py
|
--- flake8-3.7.8.orig/tests/unit/test_option_manager.py
|
||||||
+++ flake8-3.7.5/tests/unit/test_option_manager.py
|
+++ flake8-3.7.8/tests/unit/test_option_manager.py
|
||||||
@@ -2,7 +2,10 @@
|
@@ -2,7 +2,10 @@
|
||||||
import optparse
|
import optparse
|
||||||
import os
|
import os
|
||||||
@ -209,10 +209,10 @@ Index: flake8-3.7.5/tests/unit/test_option_manager.py
|
|||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from flake8 import utils
|
from flake8 import utils
|
||||||
Index: flake8-3.7.5/tests/unit/test_plugin.py
|
Index: flake8-3.7.8/tests/unit/test_plugin.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- flake8-3.7.5.orig/tests/unit/test_plugin.py
|
--- flake8-3.7.8.orig/tests/unit/test_plugin.py
|
||||||
+++ flake8-3.7.5/tests/unit/test_plugin.py
|
+++ flake8-3.7.8/tests/unit/test_plugin.py
|
||||||
@@ -1,7 +1,10 @@
|
@@ -1,7 +1,10 @@
|
||||||
"""Tests for flake8.plugins.manager.Plugin."""
|
"""Tests for flake8.plugins.manager.Plugin."""
|
||||||
import optparse
|
import optparse
|
||||||
@ -225,10 +225,10 @@ Index: flake8-3.7.5/tests/unit/test_plugin.py
|
|||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from flake8 import exceptions
|
from flake8 import exceptions
|
||||||
Index: flake8-3.7.5/tests/unit/test_plugin_manager.py
|
Index: flake8-3.7.8/tests/unit/test_plugin_manager.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- flake8-3.7.5.orig/tests/unit/test_plugin_manager.py
|
--- flake8-3.7.8.orig/tests/unit/test_plugin_manager.py
|
||||||
+++ flake8-3.7.5/tests/unit/test_plugin_manager.py
|
+++ flake8-3.7.8/tests/unit/test_plugin_manager.py
|
||||||
@@ -1,5 +1,8 @@
|
@@ -1,5 +1,8 @@
|
||||||
"""Tests for flake8.plugins.manager.PluginManager."""
|
"""Tests for flake8.plugins.manager.PluginManager."""
|
||||||
-import mock
|
-import mock
|
||||||
@ -239,14 +239,12 @@ Index: flake8-3.7.5/tests/unit/test_plugin_manager.py
|
|||||||
|
|
||||||
from flake8.plugins import manager
|
from flake8.plugins import manager
|
||||||
|
|
||||||
Index: flake8-3.7.5/tests/unit/test_plugin_type_manager.py
|
Index: flake8-3.7.8/tests/unit/test_plugin_type_manager.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- flake8-3.7.5.orig/tests/unit/test_plugin_type_manager.py
|
--- flake8-3.7.8.orig/tests/unit/test_plugin_type_manager.py
|
||||||
+++ flake8-3.7.5/tests/unit/test_plugin_type_manager.py
|
+++ flake8-3.7.8/tests/unit/test_plugin_type_manager.py
|
||||||
@@ -1,7 +1,10 @@
|
@@ -1,5 +1,8 @@
|
||||||
"""Tests for flake8.plugins.manager.PluginTypeManager."""
|
"""Tests for flake8.plugins.manager.PluginTypeManager."""
|
||||||
import sys
|
|
||||||
|
|
||||||
-import mock
|
-import mock
|
||||||
+try:
|
+try:
|
||||||
+ import unittest.mock as mock
|
+ import unittest.mock as mock
|
||||||
@ -255,10 +253,10 @@ Index: flake8-3.7.5/tests/unit/test_plugin_type_manager.py
|
|||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from flake8 import exceptions
|
from flake8 import exceptions
|
||||||
Index: flake8-3.7.5/tests/unit/test_style_guide.py
|
Index: flake8-3.7.8/tests/unit/test_style_guide.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- flake8-3.7.5.orig/tests/unit/test_style_guide.py
|
--- flake8-3.7.8.orig/tests/unit/test_style_guide.py
|
||||||
+++ flake8-3.7.5/tests/unit/test_style_guide.py
|
+++ flake8-3.7.8/tests/unit/test_style_guide.py
|
||||||
@@ -1,7 +1,10 @@
|
@@ -1,7 +1,10 @@
|
||||||
"""Tests for the flake8.style_guide.StyleGuide class."""
|
"""Tests for the flake8.style_guide.StyleGuide class."""
|
||||||
import optparse
|
import optparse
|
||||||
@ -271,10 +269,10 @@ Index: flake8-3.7.5/tests/unit/test_style_guide.py
|
|||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from flake8 import statistics
|
from flake8 import statistics
|
||||||
Index: flake8-3.7.5/tests/unit/test_utils.py
|
Index: flake8-3.7.8/tests/unit/test_utils.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- flake8-3.7.5.orig/tests/unit/test_utils.py
|
--- flake8-3.7.8.orig/tests/unit/test_utils.py
|
||||||
+++ flake8-3.7.5/tests/unit/test_utils.py
|
+++ flake8-3.7.8/tests/unit/test_utils.py
|
||||||
@@ -1,7 +1,10 @@
|
@@ -1,7 +1,10 @@
|
||||||
"""Tests for flake8's utils module."""
|
"""Tests for flake8's utils module."""
|
||||||
import os
|
import os
|
||||||
@ -287,10 +285,10 @@ Index: flake8-3.7.5/tests/unit/test_utils.py
|
|||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from flake8 import exceptions
|
from flake8 import exceptions
|
||||||
Index: flake8-3.7.5/tests/unit/test_violation.py
|
Index: flake8-3.7.8/tests/unit/test_violation.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- flake8-3.7.5.orig/tests/unit/test_violation.py
|
--- flake8-3.7.8.orig/tests/unit/test_violation.py
|
||||||
+++ flake8-3.7.5/tests/unit/test_violation.py
|
+++ flake8-3.7.8/tests/unit/test_violation.py
|
||||||
@@ -1,5 +1,8 @@
|
@@ -1,5 +1,8 @@
|
||||||
"""Tests for the flake8.style_guide.Violation class."""
|
"""Tests for the flake8.style_guide.Violation class."""
|
||||||
-import mock
|
-import mock
|
||||||
@ -301,10 +299,10 @@ Index: flake8-3.7.5/tests/unit/test_violation.py
|
|||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from flake8 import style_guide
|
from flake8 import style_guide
|
||||||
Index: flake8-3.7.5/setup.py
|
Index: flake8-3.7.8/setup.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- flake8-3.7.5.orig/setup.py
|
--- flake8-3.7.8.orig/setup.py
|
||||||
+++ flake8-3.7.5/setup.py
|
+++ flake8-3.7.8/setup.py
|
||||||
@@ -11,6 +11,12 @@ sys.path.insert(0, os.path.join(os.path.
|
@@ -11,6 +11,12 @@ sys.path.insert(0, os.path.join(os.path.
|
||||||
|
|
||||||
import flake8
|
import flake8
|
||||||
@ -324,10 +322,10 @@ Index: flake8-3.7.5/setup.py
|
|||||||
],
|
],
|
||||||
+ tests_require=tests_require,
|
+ tests_require=tests_require,
|
||||||
)
|
)
|
||||||
Index: flake8-3.7.5/tests/integration/test_main.py
|
Index: flake8-3.7.8/tests/integration/test_main.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- flake8-3.7.5.orig/tests/integration/test_main.py
|
--- flake8-3.7.8.orig/tests/integration/test_main.py
|
||||||
+++ flake8-3.7.5/tests/integration/test_main.py
|
+++ flake8-3.7.8/tests/integration/test_main.py
|
||||||
@@ -1,5 +1,8 @@
|
@@ -1,5 +1,8 @@
|
||||||
"""Integration tests for the main entrypoint of flake8."""
|
"""Integration tests for the main entrypoint of flake8."""
|
||||||
-import mock
|
-import mock
|
||||||
|
Loading…
Reference in New Issue
Block a user