diff --git a/buildSrc/src/main/groovy/airbyte-python.gradle b/buildSrc/src/main/groovy/airbyte-python.gradle index ef710f5a5bf4..38a88c38b5fa 100644 --- a/buildSrc/src/main/groovy/airbyte-python.gradle +++ b/buildSrc/src/main/groovy/airbyte-python.gradle @@ -84,6 +84,8 @@ class AirbytePythonPlugin implements Plugin { installVirtualenv = true pip 'pip:21.3.1' pip 'mccabe:0.6.1' + // https://github.com/csachs/pyproject-flake8/issues/13 + pip 'flake8:4.0.1' // flake8 doesn't support pyproject.toml files // and thus there is the wrapper "pyproject-flake8" for this pip 'pyproject-flake8:0.0.1a2' diff --git a/tools/tox_ci.ini b/tools/tox_ci.ini index ce3f2d4d980f..fde9942ccb98 100644 --- a/tools/tox_ci.ini +++ b/tools/tox_ci.ini @@ -13,6 +13,7 @@ envlist = deps = -e{toxinidir}/{envname}[tests] pytest~=6.2.5 + flake8==4.0.1 pyproject-flake8 [testenv]