Skip to content

Add Black and Ruff to pre-commit configuration. #5

Add Black and Ruff to pre-commit configuration.

Add Black and Ruff to pre-commit configuration. #5

---
name: "CodeQL"
on:
push:
branches: [main]
pull_request:
# The branches below must be a subset of the branches above
branches: [main]
schedule:
- cron: "30 22 * * 2"
permissions:
contents: read
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: python
- name: Perform analysis
uses: github/codeql-action/analyze@v2