Skip to content

Lint warning given for external 3rd party package/module reportlab.platypus.flowables #8319

Open
@nanonano

Description

@nanonano

Bug description

I'm getting a lint warning for a module which is outside of my package, it's reportlab.platypus.flowables.

I'm not using reportlab directly but it is used by xhtml2pdf which I import, see https://github.com/BittyTax/BittyTax/blob/master/bittytax/report.py#L13.

Since I cannot change the code of a 3rd party package, I have tried to suppress the warning using the following but none work.

ignored-modules=reportlab.platypus.flowables

ignore=CVS, reportlab

You can see the log of the failure here: https://github.com/BittyTax/BittyTax/actions/runs/4227869051/jobs/7342736026

Hope you can help me, I'm completely stuck, it used to work fine in pylint-2.13.9, no warning was produced.

Configuration

Not relevant, see https://github.com/BittyTax/BittyTax/blob/master/.pylintrc if required.

Command used

pylint $(git ls-files '*.py')

See https://github.com/BittyTax/BittyTax/blob/master/.github/workflows/ci.yml.

Pylint output

************* Module reportlab.platypus.flowables
/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/site-packages/reportlab/platypus/flowables.py:366:12: C0103: Attribute name "firstLineIndent" doesn't conform to snake_case naming style (invalid-name)

------------------------------------
Your code has been rated at 10.00/10

Expected behavior

No warning.

Pylint version

pylint-2.16.2
Python/3.7.15

Works okay in pylint-2.13.9 (Python 3.6).

OS / Environment

All Ubuntu, MacOS, Windows.

Additional dependencies

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions