Skip to content

Commit

Permalink
Allow to specify working directory (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
psrok1 authored Apr 3, 2024
1 parent 5a69507 commit 9d4291a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion lint_python/constants.py
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit 9d4291a

Please sign in to comment.