Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New settings module for python inspector #192

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

heliocastro
Copy link

  • Create default settings class based on pydantic-settings with validation
  • Update minimum python requirement to 3.9 as 3.9 is EOL
  • Refactor code to match new settings class
  • Modify tests to use new settings class

Settings can now be defined through environment variables, .env local
file or regular arguments to the script.

All variables need to be prefixed by PYTHON_INSPECTOR_ to be recognized.
Example: PYTHON_INSPECTOR_INDEX_URL="https://pypy1.org,https://foo.bar"
will add this two repositories overriding the public repository.

Raise the minimum python version to 3.9 as 3.8 is EOL.

Signed-off-by: Helio Chissini de Castro <[email protected]>
Signed-off-by: Helio Chissini de Castro <[email protected]>
Signed-off-by: Helio Chissini de Castro <[email protected]>
- Downgrade dataclasses to version 0.6, as last supported to python 3.9
- Update mypy to version 1.0.0

Signed-off-by: Helio Chissini de Castro <[email protected]>
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