Feat: enhance Result reporting and implement Vedantu learning module, refactor old modules with it #311
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
| name: Lint & Type Checks | |
| on: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| name: Lint & types (ruff + mypy) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: [3.11] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install linters | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install httpx colorama types-colorama | |
| pip install ruff mypy | |
| - name: Run ruff | |
| run: ruff check . | |
| - name: Run mypy | |
| run: mypy user_scanner |