Hi,

I thought that I'd ask here before opening an issue. I'm seeing intermittent 
warnings on the same code. 

For this line:

        doc.DeveloperName = dev_type  # pylint: disable=invalid-name

I get this warning:

file.py:50: [C0103(invalid-name), TestSomething._create] Attribute name 
"DeveloperName" doesn't conform to '[a-z_][a-z0-9_]{2,50}$' pattern

The environment is sterile; this happens during our build process which doesn't 
use artifacts from intermediate stages. The code is retrieved with "git clone" 
followed by installing fixed pip packages and running pylint.

Versions:

Python: python:3.6.11-stretch (docker image)
astroid==2.4.2
pylint==2.5.3

Any ideas on how to prevent this? Right now I only have the workaround of add 
the extra strings to "good-names" in pylintrc.

Thanks in advance!

- David
_______________________________________________
code-quality mailing list -- code-quality@python.org
To unsubscribe send an email to code-quality-le...@python.org
https://mail.python.org/mailman3/lists/code-quality.python.org/
Member address: arch...@mail-archive.com

Reply via email to