multiversx / mx-sdk-py-cli

Python Command Line Tools and SDK for interacting with the MultiversX blockchain and dApps.
Other
34 stars 36 forks source link

Check for deprecated entries in mxpy.json and display warning #375

Closed popenta closed 8 months ago

popenta commented 8 months ago

The default config contains all necessary values, so there is no point in adding extra key-value pairs in mxpy.json. Now, we get the active config and check if there are any extra keys compared to the default config. If there are extra keys we display a warning suggesting to remove them.

e.g.

"dependencies.llvm.urlTemplate.linux": "..."

This is not needed anymore.

Fixes issue https://github.com/multiversx/mx-sdk-py-cli/issues/337.