diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 62451fb..936a311 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: - id: reformat-pyproject - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.4.0 + rev: v6.0.0 hooks: - id: check-added-large-files - id: check-ast @@ -70,7 +70,7 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/python-formate/pyupgrade - rev: bbe3007 + rev: v3.3.0 hooks: - id: pyupgrade args: @@ -78,13 +78,13 @@ repos: - --keep-runtime-typing - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.5.1 + rev: v1.5.6 hooks: - id: remove-crlf - id: forbid-crlf - repo: https://github.com/python-formate/snippet-fmt - rev: v0.1.5 + rev: v0.2.0 hooks: - id: snippet-fmt diff --git a/mh_utils/csv_parser/classes.py b/mh_utils/csv_parser/classes.py index 054a3d3..b9d5b83 100644 --- a/mh_utils/csv_parser/classes.py +++ b/mh_utils/csv_parser/classes.py @@ -488,7 +488,6 @@ def add_new_sample(self, *args, **kwargs) -> Sample: # noqa: PRM002 """ Add a new sample to the list and return the :class:`~classes.Sample` object representing it. - """ # noqa: D400 tmp_sample = Sample(*args, **kwargs) diff --git a/mh_utils/worklist_parser/classes.py b/mh_utils/worklist_parser/classes.py index 3cb85f6..c9cded1 100644 --- a/mh_utils/worklist_parser/classes.py +++ b/mh_utils/worklist_parser/classes.py @@ -364,7 +364,6 @@ class Attribute: \end{multicols} .. clearpage:: - """ attribute_id: int = attr.ib(converter=int)