Skip to content

Pylint 4.0.1 error C0103 that started appearing after upgrade to pylint 4 #10675

@baruchoxman

Description

@baruchoxman

Bug description

_SIMPLE_VALID_WORKSPACE_YAML_CREATION_RESULT = {
    "name": "new-workspace-for-test",
    "dwh_connector_name": "custom_connector",
    "branch": "prod",
}

Configuration

Command used

pylint mytest.py

Pylint output

mytest.py:17:0: C0103: Variable name "_SIMPLE_VALID_WORKSPACE_YAML_CREATION_RESULT" doesn't conform to snake_case naming style ('([^\\W\\dA-Z][^\\WA-Z]*|_[^\\WA-Z]*|__[^\\WA-Z\\d_][^\\WA-Z]+__)$' pattern) (invalid-name)

Expected behavior

This was working before upgrade to pylint 4

Pylint version

pylint 4.0.1
astroid 4.0.1
python 3.12.11

OS / Environment

No response

Additional dependencies

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions