diff --git a/Dockerfile b/Dockerfile index fdf8440..d334872 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN pip3 install --disable-pip-version-check --no-cache-dir poetry COPY poetry.lock pyproject.toml /app/ -RUN poetry config virtualenvs.create false && poetry install --no-interaction --no-ansi --no-dev +RUN poetry config virtualenvs.create false && poetry install --no-interaction --no-ansi --no-dev --no-root COPY . /app diff --git a/pyproject.toml b/pyproject.toml index aac7f3a..8d0f636 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,11 +1,3 @@ -[tool.black] -line-length = 79 - -[tool.isort] -line_length = 79 -multi_line_output = 3 -include_trailing_comma = true - [tool.poetry] name = "tg" version = "0.17.0" @@ -33,3 +25,11 @@ tg = "tg.__main__:main" [build-system] requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" + +[tool.black] +line-length = 79 + +[tool.isort] +line_length = 79 +multi_line_output = 3 +include_trailing_comma = true