Skip to content

Commit 5860569

Browse files
committed
Use PYINSP for env var prefix
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent cf8456f commit 5860569

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/python_inspector/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ class Settings(BaseSettings):
1818
"""
1919
Reference: https://docs.pydantic.dev/latest/concepts/pydantic_settings/
2020
A settings object: use it with an .env file and/or environment variables all prefixed with
21-
PYTHON_INSPECTOR_
21+
PYINSP_
2222
"""
2323

2424
model_config = SettingsConfigDict(
2525
env_file=".env",
2626
env_file_encoding="utf-8",
27-
env_prefix="PYTHON_INSPECTOR_",
27+
env_prefix="PYINSP_",
2828
case_sensitive=True,
2929
extra="allow",
3030
)

0 commit comments

Comments
 (0)