Skip to content
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

Optional-dependency docs: add a self-dependency example #724

Merged
merged 6 commits into from
Feb 8, 2023
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
nit
  • Loading branch information
AlexWaygood authored Jan 22, 2023
commit 18bce45bdfc47c418ae500fc97d2952beb4d8f42
2 changes: 1 addition & 1 deletion docs/config/dependency.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ foo[cli,crypto]==1.*

Note that the features come immediately after the package name, before any [version specifiers](#version-specifiers).

One feature group can extend another feature group by using a "self-dependency". For example, for a project called `awesome_project`, the `dev` feature group in the following `pyproject.toml` file would select everything in the `crypto` feature group, plus `black`:
One feature group can extend another feature group by using "self-dependency". For example, for a project called `awesome_project`, the `dev` feature group in the following `pyproject.toml` file would select everything in the `crypto` feature group, plus `black`:

=== ":octicons-file-code-16: pyproject.toml"

Expand Down