From 919865815f30d12746fe1e2cc848b4d910bdca56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20K=C3=A4ufl?= Date: Tue, 20 Oct 2020 15:11:34 +0200 Subject: [PATCH] Remove known first party from isort's config --- setup.cfg | 1 - tests/test_http_request.py | 3 +-- tests/test_http_response.py | 3 +-- tests/test_websocket.py | 3 +-- 4 files changed, 3 insertions(+), 7 deletions(-) diff --git a/setup.cfg b/setup.cfg index 0c1709f..ddb3d5d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -5,7 +5,6 @@ max-line-length = 120 [isort] profile = black -known_first_party = channels,daphne,asgiref,channels_redis,http_base,http_strategies [tool:pytest] testpaths = tests diff --git a/tests/test_http_request.py b/tests/test_http_request.py index 0bd2d82..aae7f99 100644 --- a/tests/test_http_request.py +++ b/tests/test_http_request.py @@ -3,10 +3,9 @@ import collections from urllib import parse -from hypothesis import assume, given, settings - import http_strategies from http_base import DaphneTestCase +from hypothesis import assume, given, settings class TestHTTPRequest(DaphneTestCase): diff --git a/tests/test_http_response.py b/tests/test_http_response.py index 08c34bb..9dd728d 100644 --- a/tests/test_http_response.py +++ b/tests/test_http_response.py @@ -1,9 +1,8 @@ # coding: utf8 -from hypothesis import given, settings - import http_strategies from http_base import DaphneTestCase +from hypothesis import given, settings class TestHTTPResponse(DaphneTestCase): diff --git a/tests/test_websocket.py b/tests/test_websocket.py index 9ec2c0d..c27e7a9 100644 --- a/tests/test_websocket.py +++ b/tests/test_websocket.py @@ -4,10 +4,9 @@ import collections import time from urllib import parse -from hypothesis import given, settings - import http_strategies from http_base import DaphneTestCase, DaphneTestingInstance +from hypothesis import given, settings class TestWebsocket(DaphneTestCase):