chore(deps): Bump locust from 2.43.1 to 2.43.3 #69
Workflow file for this run
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 and Format | |
| on: | |
| pull_request: | |
| branches: [main, dev] | |
| jobs: | |
| python-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.11" | |
| cache: "pip" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| pip install pytest pytest-asyncio pytest-cov pytest-mock bandit | |
| - name: Lint with flake8 | |
| run: | | |
| # stop the build if there are Python syntax errors or undefined names | |
| flake8 src/ --count --select=E9,F63,F7,F82 --show-source --statistics | |
| # exit-zero treats all errors as warnings. Default is 79 chars, matching strict flake8. | |
| flake8 src/ --count --exit-zero --max-complexity=10 --statistics | |
| - name: Check formatting with Black | |
| run: | | |
| # This will fail if code is not formatted. Run 'black src/' locally to fix. | |
| black src/ --check | |
| - name: Type checking with mypy | |
| run: | | |
| mypy src/ | |
| - name: Security scan with Bandit | |
| run: | | |
| bandit -r src/ -s B104,B108 --severity-level high | |
| - name: Run Unit Tests | |
| run: | | |
| pytest tests/unit/ |