Skip to content

Commit

Permalink
Merge pull request BedrockStreaming#6 from christian-vdz/ci/hsdo/add_…
Browse files Browse the repository at this point in the history
…python_linter

ci(hsdo): add python linter
  • Loading branch information
christian-vdz authored Jun 1, 2023
2 parents a31cf54 + 34a2517 commit af566af
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: flake8 Lint

on: [push, pull_request]

jobs:
flake8-lint:
runs-on: ubuntu-latest
name: Lint
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up Python environment
uses: actions/setup-python@v4
with:
python-version: "3.x"

# Install specific flake8 version (this step is not required. Default is "latest").
- run: pip install flake8==6.0.0
# Install flake8 extensions (this step is not required. Default is "None").
- run: pip install flake8-docstrings flake8-simplify flake8-unused-arguments flake8-quotes flake8-isort flake8-mypy
- name: flake8 Lint
uses: reviewdog/action-flake8@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit af566af

Please sign in to comment.