Skip to content

feat: Implement settings for python-inspector - #186

Closed
heliocastro wants to merge 1 commit into
aboutcode-org:mainfrom
heliocastro:heliocastro/setings_env
Closed

feat: Implement settings for python-inspector#186
heliocastro wants to merge 1 commit into
aboutcode-org:mainfrom
heliocastro:heliocastro/setings_env

Conversation

@heliocastro

Copy link
Copy Markdown
Contributor

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.

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.

Signed-off-by: Helio Chissini de Castro <heliocastro@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant