diff options
author | Christian Cleberg <hello@cleberg.net> | 2024-11-02 16:58:31 -0500 |
---|---|---|
committer | Christian Cleberg <hello@cleberg.net> | 2024-11-02 16:58:31 -0500 |
commit | 598e71b5ea1392f25cca0290c5544ab1135c37a2 (patch) | |
tree | 76cd61b733e3bffae640e61146bc0c30c317c5cc /.github | |
parent | 0bef69a049f4bace9b06cb4beb3b0505dd7b7a44 (diff) | |
download | yoshi-cli-598e71b5ea1392f25cca0290c5544ab1135c37a2.tar.gz yoshi-cli-598e71b5ea1392f25cca0290c5544ab1135c37a2.tar.bz2 yoshi-cli-598e71b5ea1392f25cca0290c5544ab1135c37a2.zip |
add pylint workflow
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/pylint.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml new file mode 100644 index 0000000..d210abb --- /dev/null +++ b/.github/workflows/pylint.yml @@ -0,0 +1,23 @@ +name: Pylint + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.8", "3.9", "3.10"] + steps: + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pylint pandas dash plotly.express + - name: Analysing the code with pylint + run: | + pylint -d R0801 $(git ls-files '*.py') |