Skip to content

Commit

Permalink
linting action
Browse files Browse the repository at this point in the history
  • Loading branch information
leondz committed May 10, 2024
1 parent 551b0ef commit 10eb08b
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "garak linting"

on:
push:
branches:
- 'main'
pull_request:
workflow_dispatch:

jobs:
build:
strategy:
matrix:
python-version: ["3.10"]

steps:
- uses: actions/checkout@v4
- uses: ricardochaves/python-lint@v1.4.0
with:
python-root-list: "garak"
use-pylint: true
use-pycodestyle: false
use-flake8: false
use-black: false
use-mypy: false
use-isort: false
extra-pylint-options: ""
extra-pycodestyle-options: ""
extra-flake8-options: ""
extra-black-options: ""
extra-mypy-options: ""
extra-isort-options: ""

0 comments on commit 10eb08b

Please sign in to comment.