diff options
author | Christian Cleberg <hello@cmc.pub> | 2025-03-29 00:23:35 -0500 |
---|---|---|
committer | Christian Cleberg <hello@cmc.pub> | 2025-03-29 00:23:35 -0500 |
commit | ea85cd451eb052e80b38a04e25918290094325b4 (patch) | |
tree | 443fccfc7fe2a23443ac993e84436a757b3efc77 /.github/workflows/pylint.yml | |
download | nba-scores-ea85cd451eb052e80b38a04e25918290094325b4.tar.gz nba-scores-ea85cd451eb052e80b38a04e25918290094325b4.tar.bz2 nba-scores-ea85cd451eb052e80b38a04e25918290094325b4.zip |
initial commit
Diffstat (limited to '.github/workflows/pylint.yml')
-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..a50eb8a --- /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 -r requirements.txt + - name: Analysing the code with pylint + run: | + pylint -d R0801 -d W0311 -d R0914 $(git ls-files '*.py')
\ No newline at end of file |