EESSI / eessi-bot-software-layer

Bot to help with requests to add software installations to the EESSI software layer
GNU General Public License v2.0
0 stars 16 forks source link

add test which checks that all strings are defined as constants + verify if all constants are still in use #267

Open trz42 opened 1 month ago

trz42 commented 1 month ago

One variant could be to import modules that define string constants and then scan python scripts if any of those string constants' values are used.

Another variant could be to scan all python scripts and check if any strings are used instead of string constants.

The latter variant would be better to ensure that no new strings are introduced.

A third check could verify if all defined string constants are still in use.