diff --git a/action.yml b/action.yml index 8f40c9c..6115965 100644 --- a/action.yml +++ b/action.yml @@ -32,6 +32,10 @@ inputs: description: "Install extra dependencies (type stubs, extensions etc.)" required: false default: "" + working-directory: + description: "Set working directory for lint-python" + required: false + default: "." runs: using: "composite" steps: @@ -45,6 +49,7 @@ runs: if: ${{inputs.install-requirements == 'true'}} shell: bash - run: lint-python --check --install + working-directory: ${{inputs.working-directory}} shell: bash branding: color: "green" diff --git a/lint_python/constants.py b/lint_python/constants.py index 00c375b..df9e1f9 100644 --- a/lint_python/constants.py +++ b/lint_python/constants.py @@ -1,2 +1,2 @@ -__version__ = "2.1.1" +__version__ = "2.2.0" USED_LINTERS = ["isort==5.10.1", "black==22.6.0", "flake8==4.0.1", "mypy==0.971"]