aboutcode-org / python-inspector

Inspect Python code and PyPI package manifests. Resolve Python dependencies.
22 stars 19 forks source link

feat: Implement settings for python-inspector #186

Open heliocastro opened 3 months ago

heliocastro commented 3 months ago

Move global settings to a single place allow better control and validation of entries.

Defaults now can be read by setting an .env file locally, environment variable prefixed by PYTHON_INSPECTOR or through options in the respective override order.

Index url is now a unique entry, not anymore always forcing pypi defaults and follows the pip spec. A new extra-index-urls option was added for multiple registries, similar to how is representend on pip spec.