From 574be7da67c52294f4ddff38a40951a20a6f6d99 Mon Sep 17 00:00:00 2001 From: mbaruh Date: Thu, 4 Nov 2021 23:22:44 +0200 Subject: Setup attempt --- pyproject.toml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 pyproject.toml (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..57160220 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,34 @@ +[tool.poetry] +name = "bot-core" +version = "0.1.0" +description = "Skeleton and utilities for Python Discord bots" +authors = ["Python Discord "] + +[tool.poetry.dependencies] +python = "^3.9" +"discord.py" = "^1.7.2" + +[tool.poetry.dev-dependencies] +flake8 = "~=3.8" +flake8-annotations = "~=2.3" +flake8-bugbear = "~=20.1" +flake8-docstrings = "~=1.5" +flake8-import-order = "~=0.18" +flake8-string-format = "~=0.3" +flake8-tidy-imports = "~=4.1" +flake8-todo = "~=0.7" +pep8-naming = "~=0.11" +pre-commit = "~=2.1" +taskipy = "^1.6.0" +python-dotenv = "^0.18.0" +pytest = "~=6.2.4" +pytest-cov = "~=2.12.1" +pytest-xdist = { version = "~=2.3.0", extras = ["psutil"] } + +[tool.taskipy.tasks] +lint = "pre-commit run --all-files" +precommit = "pre-commit install" + +[build-system] +requires = ["poetry-core>=1.0.0"] +build-backend = "poetry.core.masonry.api" \ No newline at end of file -- cgit v1.2.3