from numpy import alltrue as all
def _split(string, char=','):
return []
class Sofd(table.Table):
FILENAME = os.path.join(templates.get_template_dir(),
'{ins}', '{wkf}', 'sofd_{ins}_{wkf}_{step}.dat')
def _complement_dataset(self, dataset, datalog):
keep = all([sublog[g] == frame0[g] for g in group_by], axis=0)
error:
error: Failed to converge after 100 iterations.
This indicates a bug in `ruff`. If you could open an issue at:
https://github.com/astral-sh/ruff/issues/new?title=%5BInfinite%20loop%5D
...quoting the contents of `588514.py`, the rule codes NPY003, along with the `pyproject.toml` settings and executed command, we'd be very appreciative!
588514.py:8:24: NPY003 `np.alltrue` is deprecated; use `np.all` instead
Found 101 errors (100 fixed, 1 remaining).
Ruff 0.0.287 (latest changes from main branch)
file content:
error:
588514.py.zip