Merge pull request #165 from hvlads/fix/issue-164-json_script-error #204
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_python | |
on: [pull_request, push] | |
jobs: | |
lint_python: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.x | |
- run: pip install --upgrade pip setuptools ruff | |
- run: pip install -e ".[dev]" | |
- run: black --check . | |
- run: codespell --ignore-words-list="ro" --skip="*.json,*.lock,./.git" | |
- run: ruff --format=github . | |
- run: pip install --editable . | |
- run: mypy --non-interactive . | |
- run: cp -R django_ckeditor_5 example/blog | |
- run: cd example | |
- run: pip install -e ".[dev]" | |
- run: pytest example/blog | |
- run: safety check |