Fix send wrong Kindle Word Wise database for non-English KFX books #564
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@v3 | |
- 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: | # https://pylint.readthedocs.io/en/latest/user_guide/checkers/features.html | |
python -m pip install pylint | |
pylint --disable=all --enable=E1120,E0601,E0602,W0644,W0632,W0611,W0612 --additional-builtins=_,get_icons,load_translations **/*.py |