-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add parser for
[dependency-groups]
(#78)
* Add parser for [dependency-groups] * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add tests for dependency-groups parser * Update documentation --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Dominic Davis-Foster <[email protected]>
- Loading branch information
1 parent
a1136d4
commit eead325
Showing
71 changed files
with
454 additions
and
20 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
BadConfigError: Unexpected top-level key 'coverage'. Only 'build-system', 'project' and 'tool' are allowed. | ||
BadConfigError: Unexpected top-level key 'coverage'. Only 'build-system', 'dependency-groups', 'project' and 'tool' are allowed. | ||
Use '--traceback' to view the full traceback. | ||
Aborted! |
1 change: 1 addition & 0 deletions
1
tests/test_cli_/test_reformat_False_COMPLETE_DEPENDENCY_GROUPS_.diff
This file contains 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 @@ | ||
Reformatting 'pyproject.toml' |
34 changes: 34 additions & 0 deletions
34
tests/test_cli_/test_reformat_False_COMPLETE_DEPENDENCY_GROUPS_.toml
This file contains 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,34 @@ | ||
[build-system] | ||
requires = [ "whey",] | ||
build-backend = "whey" | ||
|
||
[project] | ||
name = "whey" | ||
version = "2021.0.0" | ||
description = "A simple Python wheel builder for simple projects." | ||
keywords = [ "build", "distribution", "packaging", "pep517", "pep621", "sdist", "wheel",] | ||
dependencies = [ 'django>2.1; os_name != "nt"', 'django>2.0; os_name == "nt"', "gidgethub[httpx]>4.0.0", "httpx",] | ||
dynamic = [ "classifiers", "requires-python",] | ||
|
||
[[project.authors]] | ||
name = "Dominic Davis-Foster" | ||
email = "[email protected]" | ||
|
||
[project.urls] | ||
Homepage = "https://whey.readthedocs.io/en/latest" | ||
Documentation = "https://whey.readthedocs.io/en/latest" | ||
"Issue Tracker" = "https://github.com/repo-helper/whey/issues" | ||
"Source Code" = "https://github.com/repo-helper/whey" | ||
|
||
[tool.whey] | ||
base-classifiers = [ "Development Status :: 4 - Beta",] | ||
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10",] | ||
python-implementations = [ "CPython", "PyPy",] | ||
platforms = [ "Windows", "macOS", "Linux",] | ||
license-key = "MIT" | ||
|
||
[dependency-groups] | ||
test = [ "pytest", "coverage",] | ||
docs = [ "sphinx", "sphinx-rtd-theme",] | ||
typing = [ "mypy", "types-requests",] | ||
typing-test = [ { include-group = "typing" }, { include-group = "test" }, "useful-types",] |
Oops, something went wrong.