From d4b7057a3de1c120df5c2daac016b6190a3b986f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.skytta@iki.fi>
Date: Wed, 19 Sep 2018 16:48:04 +0300
Subject: [PATCH] Use posargs in tox lint env (#16646)

Allows linting specified files or dirs only.
---
 tox.ini | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tox.ini b/tox.ini
index e1261457c47..60dacd5d8cb 100644
--- a/tox.ini
+++ b/tox.ini
@@ -49,8 +49,8 @@ deps =
      -r{toxinidir}/requirements_test.txt
 commands =
          python script/gen_requirements_all.py validate
-         flake8
-         pydocstyle homeassistant tests
+         flake8 {posargs}
+         pydocstyle {posargs:homeassistant tests}
 
 [testenv:typing]
 basepython = {env:PYTHON3_PATH:python3}
-- 
GitLab