Investigate pylint as a tool to flag/prevent incorrect dependencies.

Description

When a lower-level code layer imports something from a higher-level layer, code dependencies are created that increase code complexity and potentially make circular dependencies. Can pylint be used to enforce proper dependencies by analyzing each files Python imports?

Should investigate only - no implementation.

A/C:

  • Investigate pylint's capabilities to fail upon an unwanted import, where unwanted is defined by a user.

  • Investigate any other tools which exist to enforce the same.

  • Report findings.

Steps to Reproduce

None

Current Behavior

None

Expected Behavior

None

Reason for Variance

None

Release Notes

None

User Impact Summary

None

Status

Assignee

Julia Eskew

Reporter

Julia Eskew

Reach

None

Impact

None

Platform Area

None

Customer

None

Partner Manager

None

URL

None

Contributor Name

None

Groups with Read-Only Access

None

Actual Points

None

Category of Work

None

Platform Map Area (Levels 1 & 2)

None

Platform Map Area (Levels 3 & 4)

None

Sprint

None

Priority

Unset
Configure