Project

Profile

Help

Support #5871

open

Correct pylint warnings

Added by Norm Tovey-Walsh almost 2 years ago. Updated 5 months ago.

Status:
AwaitingInfo
Priority:
Normal
Category:
Python API
Start date:
2023-02-05
Due date:
% Done:

0%

Estimated time:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
12.3
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:

Description

If you run pylint against a script that uses our wheels, you'll get warnings like this:

module.py:7:0: E0611: No name 'PySaxonProcessor' in module 'saxonche' (no-name-in-module)

These warnings also appear in IDEs that do linting and I presume the lack of declarations "in the module" means that IDEs have no way to offer completions.

I assume this could be fixed by putting something in, probably, a __init__.py file, but I don't know what.

Please register to edit this issue

Also available in: Atom PDF