diff --git a/openconnect_sso/browser/__init__.py b/openconnect_sso/browser/__init__.py index 0a6970b..3e6d96c 100644 --- a/openconnect_sso/browser/__init__.py +++ b/openconnect_sso/browser/__init__.py @@ -1 +1,3 @@ from .browser import Browser, Terminated + +__all__ = [Browser, Terminated] diff --git a/openconnect_sso/browser/webengine_process.py b/openconnect_sso/browser/webengine_process.py index 1dea0e2..78e0739 100644 --- a/openconnect_sso/browser/webengine_process.py +++ b/openconnect_sso/browser/webengine_process.py @@ -136,7 +136,7 @@ def to_str(qval): def get_selectors(rules, credentials): statements = [] - for i, rule in enumerate(rules): + for rule in rules: selector = json.dumps(rule.selector) if rule.action == "stop": statements.append( diff --git a/pyproject.toml b/pyproject.toml index 13fa46d..2770130 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,6 @@ pytest-asyncio = "^0.10.0" pytest-cov = "^2.7" pytest-httpserver = "^0.3.4" reno = "^2.11" -pylint = "^2.4.4" [tool.black] target-version = ['py36', 'py37', 'py38'] diff --git a/tests/test_browser.py b/tests/test_browser.py index 06d45fb..61f82e6 100644 --- a/tests/test_browser.py +++ b/tests/test_browser.py @@ -6,7 +6,7 @@ @pytest.mark.asyncio async def test_browser_context_manager_should_work_in_empty_context_manager(): - async with Browser() as browser: + async with Browser() as _: pass