Skip to content

Avoid crash when __doc__ is optimized away to None (-OO) #8905

Avoid crash when __doc__ is optimized away to None (-OO)

Avoid crash when __doc__ is optimized away to None (-OO) #8905

Workflow file for this run

# GitHub Actions Bandit Workflow
name: Bandit
on:
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Task will fail if any high-severity issues are found
# Ignoring submodules
- name: Run Bandit Security Analysis
run: |
python -m pip install bandit
python -m bandit -r . -x ./third_party -lll