Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Python linting #7060

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
gh-action: Workflow for testing python lint
Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>
  • Loading branch information
kimwnasptd committed Mar 24, 2023
commit be7e954a4b4c15cad666ccdf069bac852f5e7d0f
24 changes: 24 additions & 0 deletions .github/workflows/python_lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Python Linting

on:
pull_request:
branches:
- master
- v*-branch
paths:
- "**.py"
jobs:
flake8-lint:
runs-on: ubuntu-latest
name: Check
steps:
- name: Checkout source repository
uses: actions/checkout@v3
- name: Set up Python environment 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: flake8 Lint
uses: py-actions/flake8@v1
with:
exclude: "docs"