Skip to content

Commit a1f1132

Browse files
Fix typos: its → it's
1 parent 55dc58c commit a1f1132

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ For further configuration see the [documentation].
101101
Some enterprise distributions like RHEL7
102102
ship rather old setuptools versions.
103103

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

src/setuptools_scm/_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def _check_absolute_root(root: _t.PathT, relative_to: _t.PathT | None) -> str:
134134
if os.path.isdir(relative_to):
135135
warnings.warn(
136136
"relative_to is expected to be a file,"
137-
f" its the directory {relative_to}\n"
137+
f" it's the directory {relative_to}\n"
138138
"assuming the parent directory was passed"
139139
)
140140
log.debug("dir %s", relative_to)

src/setuptools_scm/_integration/pyproject_reading.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def get_args_for_pyproject(
261261
warnings.warn(
262262
f"{pyproject.path}: at [tool.{pyproject.tool_name}]\n"
263263
f"ignoring value relative_to={relative!r}"
264-
" as its always relative to the config file"
264+
" as it's always relative to the config file"
265265
)
266266
if "dist_name" in section:
267267
if dist_name is None:

testing/test_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def test_config_from_file_protects_relative_to(tmp_path: Path) -> None:
7272
UserWarning,
7373
match=".*pyproject.toml: at \\[tool.setuptools_scm\\]\n"
7474
"ignoring value relative_to='dont_use_me'"
75-
" as its always relative to the config file",
75+
" as it's always relative to the config file",
7676
):
7777
assert Configuration.from_file(str(fn))
7878

0 commit comments

Comments
 (0)