Skip to content

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

@jbarlow83

Description

@jbarlow83

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions