Add validation

This commit is contained in:
Edward Firmo
2024-06-19 09:16:27 +02:00
parent d4cfaaee87
commit 6731da7bc5
15 changed files with 504 additions and 0 deletions

30
.github/workflows/validate_python.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
---
name: Validate Python (flake8)
# yamllint disable-line rule:truthy
on:
push:
paths:
- '*.py'
pull_request:
paths:
- '*.py'
workflow_dispatch:
jobs:
flake8-lint:
runs-on: ubuntu-latest
name: Lint
steps:
- name: Check out source repository
uses: actions/checkout@main
- name: Set up Python environment
uses: actions/setup-python@main
with:
python-version: "3.11"
- name: flake8 Lint
uses: py-actions/flake8@v2
with:
max-line-length: "200"
path: "components/tx_ultimate_easy"
...