Skip to content

Commit 7c15936

Browse files
committed
Suppress pyright issue with decorators
1 parent 1f97aae commit 7c15936

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

dfetch/reporting/sbom_reporter.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@
2828
from dfetch.manifest.project import ProjectEntry
2929
from dfetch.reporting.reporter import Reporter
3030

31+
# PyRight is pedantic with decorators see https://github.com/madpah/serializable/issues/8
32+
# It might be fixable with https://github.com/microsoft/pyright/discussions/4426, would prefer
33+
# upstream fix, for now suppress, mypy will keep us safe.
34+
# pyright: reportCallIssue=false, reportAttributeAccessIssue=false
35+
3136

3237
class SbomReporter(Reporter):
3338
"""Reporter for generating SBoM's."""

0 commit comments

Comments
 (0)