Skip to content

[Feature Request]: linter check should allow for object_usage_linter not being disabled #299

@averissimo

Description

@averissimo

Feature description

It appears that the linter CI detects all internal functions and imports as valid objects.

We have ignored this linter as a rule, but I believe we need it as there are unused items and even found a silent bug that would be detected by this.

I would prefer that the CI would support this (at first glance we will probably need to install the dependencies and load package prior to lint (which will consume time and resources)

Alternatively, we could ensure that the rule is disabled for CI, but still enabled for developers locally.

See here a run in the teal.picks package with linter disabled:

https://github.com/insightsengineering/teal.picks/actions/runs/25155870362/job/73737413211

Image

Code of Conduct

  • I agree to follow this project's Code of Conduct.

Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions