Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ For further configuration see the [documentation].
Some enterprise distributions like RHEL7
ship rather old setuptools versions.

In those cases its typically possible to build by using an sdist against `setuptools-scm<2.0`.
In those cases it's typically possible to build by using an sdist against `setuptools-scm<2.0`.
As those old setuptools versions lack sensible types for versions,
modern [setuptools-scm] is unable to support them sensibly.

Expand Down
2 changes: 1 addition & 1 deletion src/setuptools_scm/_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def _check_absolute_root(root: _t.PathT, relative_to: _t.PathT | None) -> str:
if os.path.isdir(relative_to):
warnings.warn(
"relative_to is expected to be a file,"
f" its the directory {relative_to}\n"
f" it's the directory {relative_to}\n"
"assuming the parent directory was passed"
)
log.debug("dir %s", relative_to)
Expand Down
2 changes: 1 addition & 1 deletion src/setuptools_scm/_integration/pyproject_reading.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def get_args_for_pyproject(
warnings.warn(
f"{pyproject.path}: at [tool.{pyproject.tool_name}]\n"
f"ignoring value relative_to={relative!r}"
" as its always relative to the config file"
" as it's always relative to the config file"
)
if "dist_name" in section:
if dist_name is None:
Expand Down
2 changes: 1 addition & 1 deletion testing/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def test_config_from_file_protects_relative_to(tmp_path: Path) -> None:
UserWarning,
match=".*pyproject.toml: at \\[tool.setuptools_scm\\]\n"
"ignoring value relative_to='dont_use_me'"
" as its always relative to the config file",
" as it's always relative to the config file",
):
assert Configuration.from_file(str(fn))

Expand Down
Loading