Anki-android: Enable lint: ConstantConditions

Created on 15 Sep 2020  路  4Comments  路  Source: ankidroid/Anki-Android

Would have caught #7100

Dev Help Wanted

All 4 comments

Apparently not possible: https://stackoverflow.com/a/31687748/

Seems like it would be possible with this trick https://www.jetbrains.com/help/idea/command-line-code-inspector.html but a quick locate idea.sh on my machine turns up nada.

However this has potential:

mike@isabela:/usr/local/android-studio-beta/bin % more inspect.sh 
#!/bin/sh
# ------------------------------------------------------
# Android Studio offline inspection script.
# ------------------------------------------------------

# shellcheck disable=SC2155
export DEFAULT_PROJECT_PATH="$(pwd)"

IDE_BIN_HOME="${0%/*}"
exec "$IDE_BIN_HOME/studio.sh" inspect "$@"

Let's keep this open for a while then, won't be on my priority list

Hello 馃憢, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like _still searching for solutions_ and if you found one, please open a pull request! You have 7 days until this gets closed automatically

Was this page helpful?
0 / 5 - 0 ratings

Related issues

infinyte7 picture infinyte7  路  4Comments

OoDeLally picture OoDeLally  路  4Comments

toninomanzi picture toninomanzi  路  6Comments

david-allison-1 picture david-allison-1  路  4Comments

david-allison-1 picture david-allison-1  路  5Comments