From: Johannes Date: Thu, 24 Sep 2020 10:08:07 +0000 (+0100) Subject: Remove seed-isort-config (#1321) X-Git-Tag: 0.15.4~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac7704e78c55d6253bbcf81874b7777c1dd5dfca;p=thirdparty%2Fhttpx.git Remove seed-isort-config (#1321) As of isort 5 seed-isort-config is no longer needed. We can get rid of some explicit config too as it's now more clever. --- diff --git a/requirements.txt b/requirements.txt index 037fb668..ff046269 100644 --- a/requirements.txt +++ b/requirements.txt @@ -29,6 +29,5 @@ trio trio-typing trustme uvicorn -seed-isort-config attrs>=19.3.0 # See: https://github.com/encode/httpx/pull/566#issuecomment-559862665 diff --git a/scripts/lint b/scripts/lint index a8cab1a6..d05066b2 100755 --- a/scripts/lint +++ b/scripts/lint @@ -9,6 +9,5 @@ export SOURCE_FILES="httpx tests" set -x ${PREFIX}autoflake --in-place --recursive $SOURCE_FILES -${PREFIX}seed-isort-config --application-directories=httpx ${PREFIX}isort --project=httpx $SOURCE_FILES ${PREFIX}black --target-version=py36 $SOURCE_FILES diff --git a/setup.cfg b/setup.cfg index 23185eed..0b8ef00b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -13,8 +13,6 @@ check_untyped_defs = True [tool:isort] profile = black combine_as_imports = True -known_first_party = httpx,tests -known_third_party = brotli,certifi,cryptography,httpcore,pytest,rfc3986,setuptools,sniffio,trio,trustme,uvicorn [tool:pytest] addopts = --cov=httpx --cov=tests -rxXs