Skip to content

add default pipes dir for lxplus #46

add default pipes dir for lxplus

add default pipes dir for lxplus #46

Workflow file for this run

name: Lint Code
on: [push, pull_request, workflow_dispatch]
jobs:
pylint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install libssl-dev libcurl4-openssl-dev python3-dev
python -m pip install --upgrade pip
python -m pip install pylint pycurl
- name: Print some python and pylint information
run: |
python --version
pylint --version
- name: Analysing the code for functionality and style
run: |
pylint `find ./ -type f -regex '.*.py$' | xargs`
ShellCheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: ShellCheck
# https://github.com/koalaman/shellcheck
# https://github.com/marketplace/actions/shellcheck
# You may pin to the exact commit or the version.
# uses: ludeeus/action-shellcheck@94e0aab03ca135d11a35e5bfc14e6746dc56e7e9
# uses: ludeeus/[email protected]
uses: ludeeus/action-shellcheck@master
env:
SHELLCHECK_OPTS: -s bash -e SC2162 -e SC2016 -e SC2126
with:
format: tty