diff --git a/.github/actions/python-black-lint/action.yml b/.github/actions/python-black-lint/action.yml index 82effe7e..db3533f7 100644 --- a/.github/actions/python-black-lint/action.yml +++ b/.github/actions/python-black-lint/action.yml @@ -11,9 +11,7 @@ runs: python-version: "3.x" architecture: x64 - - run: | - pip install black + - run: pip install black shell: bash - - run: | - black --check . + - run: black --check . shell: bash diff --git a/.github/actions/python-flake8-lint/action.yml b/.github/actions/python-flake8-lint/action.yml index 7bfaf095..a6ac969b 100644 --- a/.github/actions/python-flake8-lint/action.yml +++ b/.github/actions/python-flake8-lint/action.yml @@ -11,14 +11,12 @@ runs: python-version: "3.x" architecture: x64 - - run: | - pip install flake8 + - run: pip install flake8 shell: bash # E203: https://www.flake8rules.com/rules/E203.html - Whitespace before ':' # E501: https://www.flake8rules.com/rules/E501.html - Line too long # W503: https://www.flake8rules.com/rules/W503.html - Line break occurred before a binary operator # W605: https://www.flake8rules.com/rules/W605.html - Invalid escape sequence # E722: https://www.flake8rules.com/rules/E722.html - Do not use bare except, specify exception instead - - run: | - flake8 --max-line-length 88 --ignore E203,E501,W503,W605,E722 + - run: flake8 --max-line-length 88 --ignore E203,E501,W503,W605,E722 shell: bash