home-assistant / home-assistant/android

Linter is reporting false positive for automotive

Open
#5,181 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Kotlin
Stars
3.9k
Forks
1.1k
Avg merge
1d 12h
Merged PRs (30d)
81

Description

Our linter are reporting issue like this one
![Image](https://github.com/user-attachments/assets/3e069feb-34e9-4e65-aaff-82d6859bd3f5)

this is because this file is within `app/src/main` and because `automotive` use a higher version of minSDK than app, this check is indeed unnecessary in the scope of automotive.

We should either disable the linter for automotive or make automotive a dedicated module that doesn't use the same source sets as app.

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.