diff --git a/Dockerfile b/Dockerfile index 5944eca..d7d71b1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.8-alpine +FROM python:3.10-alpine WORKDIR /app COPY requirements.txt requirements.txt RUN pip install --no-cache-dir -r requirements.txt diff --git a/README.md b/README.md index 210df4e..738a91a 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ View on Docker image on [DockerHub](https://hub.docker.com/r/marchingon12/valora ## Installation -* [Python 3.8+](https://www.python.org/downloads/) +* [Python 3.10+](https://www.python.org/downloads/) * Install requirements @@ -131,13 +131,6 @@ View on Docker image on [DockerHub](https://hub.docker.com/r/marchingon12/valora pip install -r requirements.txt ``` -```bash -# manual install package -pip discord.py -pip install requests -pip install python-dotenv -``` - * Store discord bot token and owner ID under [.env](/.env) ``` diff --git a/pyproject.toml b/pyproject.toml index 46c2052..ba6a83c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,11 +1,11 @@ [project] name = "valorant-discord-bot" -requires-python = ">=3.12" +requires-python = ">=3.10" [tool.pyright] include = ["cogs"] exclude = ["**/__pycache__", ".git", ".ruff_cache", ".venv"] -pythonVersion = "3.12" +pythonVersion = "3.10" typeCheckingMode = "basic" reportUnnecessaryTypeIgnoreComment = "warning" reportMissingParameterType = "error" @@ -13,7 +13,7 @@ reportUnusedVariable = "warning" [tool.ruff] line-length = 120 -target-version = "py312" +target-version = "py310" exclude = [".git", ".ruff_cache", ".venv"] [tool.ruff.lint]