Project

Profile

Help

Bug #5871

open

Correct pylint warnings

Added by Norm Tovey-Walsh over 1 year ago. Updated 7 days ago.

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

0%

Estimated time:
Found in version:
12.3
Fixed in version:
Platforms:

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