MM-60600: CLI tools for deduplicated event table #215
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python Linter | |
on: | |
pull_request: | |
paths: | |
- '.github/**' | |
- 'dags/**' | |
- 'extract/**' | |
- 'plugins/**' | |
- 'tests/**' | |
- 'utils/**' | |
- 'poetry.lock' | |
- 'pyproject.toml' | |
jobs: | |
tests: | |
name: Check code style for all python code | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: Install Poetry | |
run: pipx install poetry | |
- uses: actions/setup-python@v4 | |
id: setup-python | |
with: | |
python-version: '3.10' | |
cache: 'poetry' | |
- name: Install dependencies | |
run: poetry install | |
- name: Run isort | |
run: poetry run isort . --check | |
- name: Run black | |
run: poetry run black . --check | |
- name: Run flake8 | |
run: poetry run flake8 --config build/.flake8 . |