Fix save customize lemmas error in calibre 6.26 #566
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 Code Base | |
on: | |
push: | |
branches: | |
- '**' | |
paths: | |
- '**.py' | |
pull_request: | |
branches: | |
- '**' | |
paths: | |
- '**.py' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- uses: psf/black@stable | |
- run: | | |
python -m pip install mypy | |
mypy . | |
mypy __main__.py | |
- run: | | |
python -m pip install ruff | |
ruff . |