Skip to content
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 71 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
[build-system]
requires = ["setuptools>=80", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"

[project]
name = "cloup"
dynamic = ["version"]

description = "Adds features to Click: option groups, constraints, subcommand sections and help themes."
readme = "README.rst"
license = { text = "BSD 3-Clause" }

requires-python = ">= 3.9"
authors = [
{ name = "Gianluca Gippetto", email = "[email protected]" },
]

classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]


dependencies = [
"click",
"tox<4",
]


[dependency-groups]
dev = [
"build",
"flake8",
"flake8-pyproject",
"mypy",
"pytest",
"pytest-cov",
"pytest-html",
"setuptools-scm",
"tox",
"twine",
]

[tool.flake8]
exclude = "docs"
max-line-length = 90

ignore = [
"E241",
"E251",
"W503",
]

[tool.mypy]
ignore_missing_imports = true


[tool.coverage.report]
exclude_lines = [
"pragma: no covver",
"raise NotImplementedError",
"...",
"if TYPE_CHECKING:",
]
20 changes: 0 additions & 20 deletions setup.cfg

This file was deleted.

52 changes: 0 additions & 52 deletions setup.py

This file was deleted.

5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[tox]
isolated_build = true
envlist =
lint
mypy
Expand Down Expand Up @@ -35,7 +36,9 @@ commands =

[testenv:lint]
skip_install = true
deps = flake8
deps =
flake8
flake8-pyproject
commands = flake8 cloup tests examples

[testenv:mypy]
Expand Down
Loading