]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Remove seed-isort-config (#1321)
authorJohannes <johtso@gmail.com>
Thu, 24 Sep 2020 10:08:07 +0000 (11:08 +0100)
committerGitHub <noreply@github.com>
Thu, 24 Sep 2020 10:08:07 +0000 (11:08 +0100)
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.

requirements.txt
scripts/lint
setup.cfg

index 037fb668c436192375bf5f69e8142d6b2544f19f..ff046269238fcb62cb560be2937f81bf331f0d36 100644 (file)
@@ -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
index a8cab1a6e076177e244785fec7c05e0e1d278e8e..d05066b22348bf15cb791375258f319733b2f7b5 100755 (executable)
@@ -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
index 23185eedce08a773e9dafc1ad8040396ece974c6..0b8ef00bea74b6a90e3bcfa6355b5ce0628c5635 100644 (file)
--- 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