Azure / Azure/azure-sdk-tools

[pylint] rule to ensure class vars are annotated with ClassVar type

Open
#14,090 1 comment 0 reactions 2 assignees Claimed by @JennyPng View on GitHub
pylint
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
144

Description

Would be good to have a rule to ensure class vars are annotated with the ClassVar type.

Motivation: The "ivar" and "cvar" keywords will be removed from APIView and the ClassVar typing will be the only thing that distinguishes them.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.