-
Notifications
You must be signed in to change notification settings - Fork 15
switch to pyproject #193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
cav71
wants to merge
12
commits into
janluke:master
Choose a base branch
from
cav71:migrate-to-pyproject.toml
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
switch to pyproject #193
Changes from 5 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
055089d
switch to pyproject
cav71 5dfedae
lint
cav71 8491a48
legacy fix?
cav71 f18e962
use older tox
cav71 85b3962
lint
cav71 cc2a0bf
fix dependencies
cav71 795c3c9
fix tox twine
cav71 a61a625
fix dependencies
cav71 3757356
remove PYPI_README.rst
cav71 a8d3e17
add docs to pyproject.toml
cav71 beb3fb5
fix building wheel
cav71 662f461
added test section to pyproject
cav71 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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:", | ||
| ] | ||
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.