You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cookiecutter-basic/{{cookiecutter.project_slug}}/pyproject.toml

62 lines
1.3 KiB
TOML

[project]
name = "{{ cookiecutter.project_slug }}"
version = "0.1.0"
authors = [
{name = "{{ cookiecutter.full_name }}", email = "{{ cookiecutter.email }}"},
]
description = "{{ cookiecutter.description }}"
requires-python = ">=3.10"
{% if cookiecutter.open_source_license != 'Not open source' -%}
license = {text = "{{ cookiecutter.open_source_license }}"}
{% endif -%}
classifiers = [
"Programming Language :: Python :: 3",
]
dynamic = ["readme", "dependencies"]
[tool.setuptools.dynamic]
readme = {file = ["README.md"], content-type = "text/markdown"}
dependencies = {file = ["requirements.txt"]}
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.isort]
profile = "black"
line_length = 120
force_single_line = true
filter_files = true
[tool.black]
line-length = 120
skip-string-normalization = true
1 year ago
exclude = "(^/\\.git|^/env/|^/venv/|^/node_modules/)"
[tool.ruff]
line-length = 120
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]