Skip to content

Commit

Permalink
Add conda badges and update pylint (ufs-community#416)
Browse files Browse the repository at this point in the history
  • Loading branch information
maddenp-noaa authored Feb 26, 2024
1 parent ef43827 commit d0dfd30
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down
2 changes: 1 addition & 1 deletion recipe/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.*"
Expand Down
2 changes: 1 addition & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 1 addition & 2 deletions src/uwtools/utils/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d0dfd30

Please sign in to comment.