From e0868b6c092c80837f86463a54d34379851d43d7 Mon Sep 17 00:00:00 2001 From: ember91 <31469580+ember91@users.noreply.github.com> Date: Sat, 3 Aug 2024 22:50:12 +0200 Subject: [PATCH] Fix typos (#839) --- nox/manifest.py | 2 +- nox/sessions.py | 2 +- tests/resources/noxfile_tags.py | 2 +- tests/test_toml.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nox/manifest.py b/nox/manifest.py index e813f02b..63e55148 100644 --- a/nox/manifest.py +++ b/nox/manifest.py @@ -358,7 +358,7 @@ def keyword_match(expression: str, keywords: Iterable[str]) -> Any: def _null_session_func_(session: Session) -> None: - """A no-op session for patemetrized sessions with no available params.""" + """A no-op session for parametrized sessions with no available params.""" session.skip("This session had no parameters available.") diff --git a/nox/sessions.py b/nox/sessions.py index e0b4beb7..a9b361d2 100644 --- a/nox/sessions.py +++ b/nox/sessions.py @@ -644,7 +644,7 @@ def conda_install( not change the current channels. You can specify a list of channels if needed. It is highly recommended to specify this; micromamba does not set default channels, and default channels vary for conda. Note that - "defaults" is also not permissivly licenced like "conda-forge" is. + "defaults" is also not permissively licensed like "conda-forge" is. Additional keyword args are the same as for :meth:`run`. diff --git a/tests/resources/noxfile_tags.py b/tests/resources/noxfile_tags.py index bf43d993..960ec52d 100644 --- a/tests/resources/noxfile_tags.py +++ b/tests/resources/noxfile_tags.py @@ -14,5 +14,5 @@ def one_tag(unused_session): @nox.session(tags=["tag1", "tag2", "tag3"]) -def moar_tags(unused_session): +def more_tags(unused_session): print("Some more tags here.") diff --git a/tests/test_toml.py b/tests/test_toml.py index 833f1d12..ef2e60ed 100644 --- a/tests/test_toml.py +++ b/tests/test_toml.py @@ -101,7 +101,7 @@ def test_load_multiple_script_block(tmp_path: Path) -> None: nox.project.load_toml(filepath) -def test_load_non_recongnised_extension(): +def test_load_non_recognised_extension(): msg = "Extension must be .py or .toml, got .txt" with pytest.raises(ValueError, match=msg): nox.project.load_toml("some.txt")