diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml new file mode 100644 index 00000000..835cca23 --- /dev/null +++ b/.github/workflows/pylint.yml @@ -0,0 +1,12 @@ +name: Check code quality with pylint + +on: [push, pull_request] + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: Silleellie/pylint-github-action@v2 + with: + lint-path: sourcespec + python-version: 3.7 \ No newline at end of file diff --git a/README.md b/README.md index 098ab6f3..62b686ee 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ Earthquake source parameters from P- or S-wave displacement spectra [![license-badge]][license-link] [![docs-badge]][docs-link] [![DOI-badge]][DOI-link] +![pylint]() Copyright (c) 2011-2024 Claudio Satriano