Skip to content

Commit

Permalink
Merge pull request #1196 from indexa-git/fix/linting
Browse files Browse the repository at this point in the history
Fix/linting
  • Loading branch information
ivan-pcg authored Dec 31, 2024
2 parents a2e7836 + 52b0bc2 commit 5cbd980
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/linting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: 3.10.16
- run: pip install flake8
- name: Lint with flake8
run: |
Expand All @@ -38,15 +38,15 @@ jobs:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Inject slug/short variables
uses: rlespinasse/[email protected]

- run: curl https://raw.githubusercontent.com/iterativo-git/dockerdoo/master/.devcontainer/.vscode/oca_pylint.cfg -o oca_pylint.cfg
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: 3.10.16
- run: pip install pylint_odoo
- run: |
pylint **/*.py --exit-zero --rcfile oca_pylint.cfg --load-plugins pylint_odoo

0 comments on commit 5cbd980

Please sign in to comment.