Skip to content

feat: added logs sanitizer #1765

feat: added logs sanitizer

feat: added logs sanitizer #1765

Workflow file for this run

name: Lint Python code
on:
pull_request:
branches:
- "main"
- "release-**"
paths-ignore:
- "docs/**"
- "doc_indexer/**"
- "tests/blackbox/**"
- "**.md"
- CODEOWNERS
- LICENSE
jobs:
code-linter:
name: "Run mypy linting"
runs-on: ubuntu-latest
permissions:
contents: read
actions: none
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Extract Python version
id: python-version
run: ./scripts/shell/extract-python-version.sh
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Install dependencies
run: poetry install --with dev
- name: Run linting
run: poetry run poe lint
- name: Run type checking
run: poetry run poe typecheck
- name: Run code formatting check
run: poetry run poe format