haystack/.github/workflows/linting-skipper.yml
Silvano Cerza 9cd94f3dc3
ci: Move formatting and linting checks out of tests.yml (#4046)
* Move formatting and linting checks out of tests.yml

* Revert "Move formatting and linting checks out of tests.yml"

This reverts commit b88b54b7e6404ce10401f308770348465e44b4fc.

* Move pylint and mypy out of tests.yml

* Fix black version

* Handle skipped but required checks
2023-02-06 16:47:48 +01:00

22 lines
369 B
YAML

# If you change this name also do it in linting.yml
name: Linting
on:
pull_request:
paths-ignore:
- "**.py"
- "**/pyproject.toml"
jobs:
mypy:
runs-on: ubuntu-latest
steps:
- name: Skip mypy
run: echo "Skipped mypy"
pylint:
runs-on: ubuntu-latest
steps:
- name: Skip pylint
run: echo "Skipped pylint"