From: Jamie Hewland Date: Tue, 24 Sep 2019 19:43:21 +0000 (+0200) Subject: Run isort in the nox check session (#379) X-Git-Tag: 0.7.4~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=276ee737ba42d889ca4fbe01fcde34b8ea81be2c;p=thirdparty%2Fhttpx.git Run isort in the nox check session (#379) --- diff --git a/noxfile.py b/noxfile.py index 64dae625..c7ada4fb 100644 --- a/noxfile.py +++ b/noxfile.py @@ -20,12 +20,15 @@ def lint(session): @nox.session(reuse_venv=True) def check(session): session.install( - "black", "flake8", "flake8-bugbear", "flake8-comprehensions", "mypy" + "black", "flake8", "flake8-bugbear", "flake8-comprehensions", "isort", "mypy" ) session.run("black", "--check", "--diff", "--target-version=py36", *source_files) session.run("flake8", *source_files) session.run("mypy", "httpx") + session.run( + "isort", "--check", "--diff", "--project=httpx", "--recursive", *source_files + ) @nox.session(reuse_venv=True)