Skip to content

Commit

Permalink
tests: add lint github action workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed Dec 9, 2023
1 parent a9f82fa commit fda71b0
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: "lint"

# yamllint disable-line rule:truthy
on:
push:
branches:
- "*"

jobs:
lint:
name: tagged-release
runs-on: ubuntu-22.04

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.8"
cache: "pip"
- run: pip install -r requirements.txt
- run: flake8 --ignore=E501,E203,W503
- run: black .
- run: rst-lint README.rst

0 comments on commit fda71b0

Please # to comment.