Checks for erroneous data; new data types; reduced the number of photos needed to trigger a shorter timespan #27
This file contains hidden or 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
| # vim: set tabstop=2 softtabstop=2 shiftwidth=2 expandtab: | |
| name: Lint code | |
| on: | |
| pull_request: | |
| workflow_call: | |
| jobs: | |
| lint: | |
| name: Linting code | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.13' | |
| cache: pip | |
| - run: python -m pip install black flake8 pydocstyle | |
| - run: python -m black --check . | |
| - run: python -m flake8 . | |
| - run: python -m pydocstyle . |