diff --git a/README.md b/README.md index 5b74e903d..d7a3b5c10 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![docs](https://readthedocs.org/projects/uwtools/badge/?version=main)](https://uwtools.readthedocs.io/en/main/?badge=main) +[![pkgpage](https://anaconda.org/ufs-community/uwtools/badges/version.svg)](https://anaconda.org/ufs-community/uwtools) [![pkgfiles](https://anaconda.org/ufs-community/uwtools/badges/latest_release_date.svg)](https://anaconda.org/ufs-community/uwtools/files) [![docs](https://readthedocs.org/projects/uwtools/badge/?version=main)](https://uwtools.readthedocs.io/en/main/?badge=main) # uwtools diff --git a/docs/conf.py b/docs/conf.py index 24db90135..694098509 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -46,7 +46,7 @@ "miniforge3": ("https://github.com/conda-forge/miniforge/%s", "%s"), "mypy": ("https://mypy.readthedocs.io/en/stable/%s", "%s"), "noaa": ("https://www.noaa.gov/%s", "%s"), - "pylint": ("https://pylint.readthedocs.io/en/v3.0.3/%s", "%s"), + "pylint": ("https://pylint.readthedocs.io/en/stable/%s", "%s"), "pytest": ("https://docs.pytest.org/en/7.4.x/%s", "%s"), "rocoto": ("https://christopherwharrop.github.io/rocoto/%s", "%s"), "rst": ("https://www.sphinx-doc.org/en/master/usage/restructuredtext/%s", "%s"), diff --git a/recipe/meta.json b/recipe/meta.json index 360d647ab..1bf44d204 100644 --- a/recipe/meta.json +++ b/recipe/meta.json @@ -17,7 +17,7 @@ "make >=3.8", "mypy =1.8.*", "pip", - "pylint =3.0.*", + "pylint =3.1.*", "pytest =7.4.*", "python >=3.9,<3.12", "pyyaml =6.0.*" diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 79712efd9..55bd38d69 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -27,7 +27,7 @@ test: - jq 1.7.* - make >=3.8 - mypy 1.8.* - - pylint 3.0.* + - pylint 3.1.* - pytest 7.4.* about: license: LGPL diff --git a/src/uwtools/utils/file.py b/src/uwtools/utils/file.py index 0844c8e62..36eeb7cd9 100644 --- a/src/uwtools/utils/file.py +++ b/src/uwtools/utils/file.py @@ -79,8 +79,7 @@ def __getattr__(self, attr: str) -> Any: def __iter__(self): self._reset() - for line in self._stringio.read().split("\n"): - yield line + yield from self._stringio.read().split("\n") def _reset(self) -> None: self._stringio = StringIO(self._stdin)