From 81bcb5e942118eb6f5286ef00fd0402f4a6fad74 Mon Sep 17 00:00:00 2001 From: Paul Nameless Date: Wed, 28 Apr 2021 12:23:44 +0300 Subject: [PATCH] Fix dockerfile --- Dockerfile | 2 +- pyproject.toml | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) 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