From cd946bd95cfbebdb7bbba7284114650120f0192e Mon Sep 17 00:00:00 2001 From: Marciel Torres Date: Sun, 16 Feb 2025 17:30:48 -0300 Subject: [PATCH] Fixing poetry and ruff settings about newest versions of them (#51) --- Dockerfile | 2 +- docker-compose.yml | 1 - pyproject.toml | 5 +++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index b41b735..1011a93 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ COPY pyproject.toml . RUN pip install poetry FROM base AS dependencies -RUN poetry install --no-dev +RUN poetry install --without dev FROM base AS development RUN poetry install diff --git a/docker-compose.yml b/docker-compose.yml index 2f75e0e..00486d3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,3 @@ -version: "3.4" services: safe-chat-slack-bot: tty: true diff --git a/pyproject.toml b/pyproject.toml index 3abae1a..c25be01 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,16 +4,17 @@ version = "0.1.0" description = "SafeChat Slack Bot is an open-source project designed to enhance data security within Slack workspaces" authors = ["Marciel Torres "] license = "MIT" +package-mode = false [tool.poetry.dependencies] python = "^3.11" slack-bolt = "1.22.0" aiohttp = "3.11.11" -[tool.poetry.dev-dependencies] +[tool.poetry.group.dev.dependencies] pytest = "^8.0.0" pytest-cov = "^6.0.0" -ruff = "^0.8.1" +ruff = "^0.9.6" [tool.pytest.ini_options] testpaths = ["tests",]