From 8c5084c879c3cc34d99577e0c20016a65ee8597b Mon Sep 17 00:00:00 2001 From: Ricardo Baltazar Chaves Date: Sat, 8 Aug 2020 18:02:00 -0300 Subject: [PATCH] updated isort for version 5 and removed -rc --- Dockerfile | 2 +- README.md | 6 +++--- entrypoint.sh | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 27afaa5..363a38e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Container image that runs your code -FROM ricardobchaves6/python-lint-image:1.1.0 +FROM ricardobchaves6/python-lint-image:1.2.0 # Copies your code file from your action repository to the filesystem path `/` of the container COPY entrypoint.sh /entrypoint.sh diff --git a/README.md b/README.md index 2e4303c..e1f6070 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Basic: ```yml steps: - uses: actions/checkout@v1 - - uses: ricardochaves/python-lint@v1.1.0 + - uses: ricardochaves/python-lint@v1.2.0 ``` Options: @@ -30,7 +30,7 @@ Options: ```yml steps: - uses: actions/checkout@v1 - - uses: ricardochaves/python-lint@v1.1.0 + - uses: ricardochaves/python-lint@v1.2.0 with: python-root-list: "python_alelo tests" use-pylint: false @@ -60,7 +60,7 @@ black --check $(extra-black-options) $(python-root-list) mypy $(extra-mypy-options) $(python-root-list)" -isort -rc $(extra-isort-options) $(python-root-list) -c --diff +isort $(extra-isort-options) $(python-root-list) -c --diff ``` ## Versions used diff --git a/entrypoint.sh b/entrypoint.sh index d27939b..a26a866 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -99,9 +99,9 @@ fi if [ "$7" = true ] ; then - echo Running: isort -rc ${13} $1 -c --diff + echo Running: isort ${13} $1 -c --diff - isort -rc ${13} $1 -c --diff + isort ${13} $1 -c --diff exit_code=$? if [ "$exit_code" = "0" ]; then