Skip to content

Merge pull request #386 from Whist-Team/dependabot/pip/pydantic-2.6.3 #418

Merge pull request #386 from Whist-Team/dependabot/pip/pydantic-2.6.3

Merge pull request #386 from Whist-Team/dependabot/pip/pydantic-2.6.3 #418

Workflow file for this run

name: Lint
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: Whist-Team/actions/setup-poetry@v2
with:
python-version: 3.9
- name: Lint sources with flake8
run: poetry run flake8 whist_core --count --show-source --statistics
- name: Lint sources with pylint
run: poetry run pylint whist_core
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run bandit
uses: tj-actions/bandit@v5
with:
targets: |
whist_core
options: "-r"