mirror of
https://github.com/deepset-ai/haystack.git
synced 2026-01-07 04:27:15 +00:00
* 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
22 lines
369 B
YAML
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"
|