Remove python-dotenv from the dependencies
zsh-dotenv automatically loads the environment variables upon entering the project's root.
This commit is contained in:
parent
570cb0112e
commit
9ee9c04a69
4 changed files with 1 additions and 24 deletions
17
poetry.lock
generated
17
poetry.lock
generated
|
@ -1346,17 +1346,6 @@ python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7"
|
|||
[package.dependencies]
|
||||
six = ">=1.5"
|
||||
|
||||
[[package]]
|
||||
name = "python-dotenv"
|
||||
version = "0.14.0"
|
||||
description = "Add .env support to your django/flask apps in development and deployments"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = "*"
|
||||
|
||||
[package.extras]
|
||||
cli = ["click (>=5.0)"]
|
||||
|
||||
[[package]]
|
||||
name = "python-editor"
|
||||
version = "1.0.4"
|
||||
|
@ -1817,7 +1806,7 @@ research = ["jupyterlab", "nb_black", "numpy", "pandas", "pytz"]
|
|||
[metadata]
|
||||
lock-version = "1.1"
|
||||
python-versions = "^3.8"
|
||||
content-hash = "eba980d4335eef2012a1e7ce27941731149eb224cdfad856aa0bcd7701e9e557"
|
||||
content-hash = "5f49faba0f11ddf2c4439fe0aad8113a68cbd504b2f68e57dfbec38db3cbe474"
|
||||
|
||||
[metadata.files]
|
||||
alabaster = [
|
||||
|
@ -2478,10 +2467,6 @@ python-dateutil = [
|
|||
{file = "python-dateutil-2.8.1.tar.gz", hash = "sha256:73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c"},
|
||||
{file = "python_dateutil-2.8.1-py2.py3-none-any.whl", hash = "sha256:75bb3f31ea686f1197762692a9ee6a7550b59fc6ca3a1f4b5d7e32fb98e2da2a"},
|
||||
]
|
||||
python-dotenv = [
|
||||
{file = "python-dotenv-0.14.0.tar.gz", hash = "sha256:8c10c99a1b25d9a68058a1ad6f90381a62ba68230ca93966882a4dbc3bc9c33d"},
|
||||
{file = "python_dotenv-0.14.0-py2.py3-none-any.whl", hash = "sha256:c10863aee750ad720f4f43436565e4c1698798d763b63234fb5021b6c616e423"},
|
||||
]
|
||||
python-editor = [
|
||||
{file = "python-editor-1.0.4.tar.gz", hash = "sha256:51fda6bcc5ddbbb7063b2af7509e43bd84bfc32a4ff71349ec7847713882327b"},
|
||||
{file = "python_editor-1.0.4-py2-none-any.whl", hash = "sha256:5f98b069316ea1c2ed3f67e7f5df6c0d8f10b689964a4a811ff64f0106819ec8"},
|
||||
|
|
|
@ -31,7 +31,6 @@ python = "^3.8"
|
|||
alembic = "^1.4.2"
|
||||
click = "^7.1.2"
|
||||
psycopg2 = "^2.8.5" # adapter for PostgreSQL
|
||||
python-dotenv = "^0.14.0"
|
||||
sqlalchemy = "^1.3.18"
|
||||
|
||||
# Jupyter Lab => notebooks with analyses using the developed package
|
||||
|
|
|
@ -217,8 +217,6 @@ single_line_exclusions = typing
|
|||
[mypy]
|
||||
cache_dir = .cache/mypy
|
||||
|
||||
[mypy-dotenv]
|
||||
ignore_missing_imports = true
|
||||
[mypy-nox.*]
|
||||
ignore_missing_imports = true
|
||||
[mypy-packaging]
|
||||
|
|
|
@ -13,11 +13,6 @@ import random
|
|||
import string
|
||||
import warnings
|
||||
|
||||
import dotenv
|
||||
|
||||
|
||||
dotenv.load_dotenv()
|
||||
|
||||
|
||||
def random_schema_name() -> str:
|
||||
"""Generate a random PostgreSQL schema name for testing."""
|
||||
|
|
Loading…
Reference in a new issue