build(deps-dev): bump black from 24.3.0 to 24.4.2 #8
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: "Lint" | |
on: | |
pull_request: | |
paths: | |
- "main.py" | |
- "mdparser/**" | |
- "poetry.lock" | |
- "pyproject.toml" | |
- ".github/workflows/lint.yml" | |
push: | |
branches: | |
- "main" | |
tags: | |
- "v*.*.*" | |
env: | |
PY_COLORS: 1 | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out the codebase. | |
uses: actions/checkout@v4 | |
- name: Prepare the job environment. | |
uses: ./.github/workflows/prepare-action | |
- name: Lint code. | |
run: | | |
poetry run isort --check --diff . | |
poetry run black --check --diff . |