github / github/codeql

LGTM.com - false positive - Python - except (Exception if condition else NeverRaise)

未关闭
#3,280 1 条评论 0 个 reaction 已指派 1 人 已被 @RasmusWL 认领 在 GitHub 查看
false-positive Python
主要语言
CodeQL
星标
10.1k
派生
2.1k
平均合并
2 天 15 小时
30 天内合并 PR
141

描述

**Description of the false positive**

This is both a valid construct and a compact way to express the fact that under certain conditions, a particular except block should not be processed.

https://lgtm.com/projects/g/jbarlow83/OCRmyPDF/snapshot/c3799e9226e368d3339d8c411484892ba54cbd81/files/src/ocrmypdf/_sync.py?sort=name&dir=ASC&mode=heatmap#x17505d1e5cd98f90:1

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。