37 lines
929 B
TOML
37 lines
929 B
TOML
[tool.poetry]
|
|
name = "python-project-template"
|
|
version = "0.1.0"
|
|
description = "A Simple Python Project Template"
|
|
authors = ["Peter Krauß <pk@dfntly.de>"]
|
|
packages = [{ include = "src" }]
|
|
|
|
[tool.poe.tasks]
|
|
run = "python src/__main__.py"
|
|
_format = "black src"
|
|
_lint = "pylint src"
|
|
_autoflake = "autoflake --in-place --remove-all-unused-imports --remove-unused-variables --recursive src"
|
|
lint = ["_autoflake", "_format", "_lint"]
|
|
clean = "rm -rf .mypy_cache .pytest_cache .coverage .cache"
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.10"
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
black = "^22.6.0"
|
|
mypy = "^0.961"
|
|
pylint = "^2.14.5"
|
|
pytest = "^7.1.2"
|
|
isort = "^5.10.1"
|
|
devtools = { extras = ["pygments"], version = "^0.8.0" }
|
|
autoflake = "^1.4"
|
|
poethepoet = "^0.16.2"
|
|
|
|
[build-system]
|
|
requires = ["poetry-core>=1.0.0"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[tool.isort]
|
|
profile = 'black'
|
|
lines_between_types = 1
|
|
combine_as_imports = false
|