Skip to content

Commit

Permalink
Update pylint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
albags authored Jul 16, 2024
1 parent 61a8cf4 commit 794efe2
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,20 @@ jobs:
matrix:
python-version: ["3.9"]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
pip install -r requirements.txt
- name: Check out source repository
uses: actions/checkout@v3
- name: Set up Python environment
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: flake8 Lint
uses: py-actions/flake8@v2
with:
max-line-length: "120"
path: "object-store-scripts"
plugins: "flake8-bugbear==22.1.11 flake8-black"
- name: Run flake8
run: |
pip install flake8 flake8-bugbear flake8-black
flake8 --max-line-length=120 object-store-scripts
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')

0 comments on commit 794efe2

Please sign in to comment.