Skip to content

Commit

Permalink
Pylinter on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tisnik committed Oct 3, 2024
1 parent d124954 commit bc5f1b7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/pylint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Python linter

on:
- push
- pull_request

jobs:
pylint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Python linter installation
run: pip install --user pylint
- name: Python linter
run: pylint ols/
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,4 @@ packages = ["ols"]

[tool.pylint."MESSAGES CONTROL"]
good-names = ["e"]
disable = ["W1203", "C0103", "C0301", "C0302", "C0413", "C0415", "E0602", "E0611", "E1101", "R0801", "R0902", "R0903", "R0913", "R0914", "W0102", "W0201", "W0212", "W0223", "W0511", "W0602", "W0603", "W0613", "W0621", "W0622", "W0707", "W0718", "W0719", "W1514", "E0401", "R0917"]

0 comments on commit bc5f1b7

Please sign in to comment.