Skip to content

Commit 8c5084c

Browse files
committed
updated isort for version 5 and removed -rc
1 parent be90fc7 commit 8c5084c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Container image that runs your code
2-
FROM ricardobchaves6/python-lint-image:1.1.0
2+
FROM ricardobchaves6/python-lint-image:1.2.0
33

44
# Copies your code file from your action repository to the filesystem path `/` of the container
55
COPY entrypoint.sh /entrypoint.sh

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ Basic:
2222
```yml
2323
steps:
2424
- uses: actions/checkout@v1
25-
- uses: ricardochaves/python-lint@v1.1.0
25+
- uses: ricardochaves/python-lint@v1.2.0
2626
```
2727
2828
Options:
2929
3030
```yml
3131
steps:
3232
- uses: actions/checkout@v1
33-
- uses: ricardochaves/python-lint@v1.1.0
33+
- uses: ricardochaves/python-lint@v1.2.0
3434
with:
3535
python-root-list: "python_alelo tests"
3636
use-pylint: false
@@ -60,7 +60,7 @@ black --check $(extra-black-options) $(python-root-list)
6060

6161
mypy $(extra-mypy-options) $(python-root-list)"
6262

63-
isort -rc $(extra-isort-options) $(python-root-list) -c --diff
63+
isort $(extra-isort-options) $(python-root-list) -c --diff
6464
```
6565

6666
## Versions used

entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ fi
9999

100100
if [ "$7" = true ] ; then
101101

102-
echo Running: isort -rc ${13} $1 -c --diff
102+
echo Running: isort ${13} $1 -c --diff
103103

104-
isort -rc ${13} $1 -c --diff
104+
isort ${13} $1 -c --diff
105105
exit_code=$?
106106

107107
if [ "$exit_code" = "0" ]; then

0 commit comments

Comments
 (0)