Skip to content

Commit 77e7b4e

Browse files
Replace double backticks with single backticks in docstrings
Agent-Logs-Url: https://github.com/usethis-python/usethis-python/sessions/df0af713-7fa1-4f9f-82e6-b8cd5da229d6 Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>
1 parent 841f512 commit 77e7b4e

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

src/usethis/_deps.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ def get_project_deps() -> list[Dependency]:
5353
This does not include development dependencies, e.g. not those in the
5454
dependency-groups section, not extras/optional dependencies, not build dependencies.
5555
56-
Usually this is just the dependencies in the ``project.dependencies`` section
57-
of the ``pyproject.toml`` file. When the poetry backend is active, also
58-
reads from ``[tool.poetry.dependencies]``. Also merges from ``setup.cfg``
59-
``[options] install_requires`` if that file is present.
56+
Usually this is just the dependencies in the `project.dependencies` section
57+
of the `pyproject.toml` file. When the poetry backend is active, also
58+
reads from `[tool.poetry.dependencies]`. Also merges from `setup.cfg`
59+
`[options] install_requires` if that file is present.
6060
"""
6161
try:
6262
deps = _get_project_deps()
@@ -75,9 +75,9 @@ def get_project_deps() -> list[Dependency]:
7575
def get_dep_groups() -> dict[str, list[Dependency]]:
7676
"""Get all dependency groups from pyproject.toml.
7777
78-
Reads from ``[dependency-groups]`` (PEP 735). When the poetry backend
79-
is active, also reads from ``[tool.poetry.group.*.dependencies]``. Also
80-
merges from ``setup.cfg`` ``[options.extras_require]`` if that file is present.
78+
Reads from `[dependency-groups]` (PEP 735). When the poetry backend
79+
is active, also reads from `[tool.poetry.group.*.dependencies]`. Also
80+
merges from `setup.cfg` `[options.extras_require]` if that file is present.
8181
"""
8282
try:
8383
groups = _get_dep_groups()

src/usethis/_file/setup_cfg/deps.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
def get_setup_cfg_project_deps() -> list[Dependency]:
1212
"""Get project dependencies from setup.cfg [options] install_requires.
1313
14-
This reads the ``install_requires`` field from the ``[options]`` section of
15-
``setup.cfg``, which is the legacy setuptools way of declaring project dependencies.
14+
This reads the `install_requires` field from the `[options]` section of
15+
`setup.cfg`, which is the legacy setuptools way of declaring project dependencies.
1616
"""
1717
try:
1818
cfg = SetupCFGManager().get()
@@ -32,7 +32,7 @@ def get_setup_cfg_project_deps() -> list[Dependency]:
3232
def get_setup_cfg_dep_groups() -> dict[str, list[Dependency]]:
3333
"""Get dependency groups from setup.cfg [options.extras_require].
3434
35-
This reads the ``[options.extras_require]`` section of ``setup.cfg``, which is the
35+
This reads the `[options.extras_require]` section of `setup.cfg`, which is the
3636
legacy setuptools way of declaring optional/extra dependencies. Each extra is treated
3737
as a dependency group.
3838
"""

0 commit comments

Comments
 (0)