Skip to content

Commit b821af9

Browse files
[pre-commit.ci] pre-commit autoupdate (#549)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 9e0ca6a commit b821af9

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ repos:
4545
hooks:
4646
- id: sort-all
4747
- repo: https://github.com/astral-sh/ruff-pre-commit
48-
rev: v0.1.11
48+
rev: v0.1.13
4949
hooks:
5050
- id: ruff-format
5151
- id: ruff

src/_pytask/capture.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def __init__( # type: ignore
248248
self.tmpfile = tmpfile
249249
self._state = "initialized"
250250

251-
def repr(self, class_name: str) -> str: # noqa: A003
251+
def repr(self, class_name: str) -> str:
252252
return "<{} {} _old={} _state={!r} tmpfile={!r}>".format(
253253
class_name,
254254
self.name,

src/_pytask/mark/__init__.pyi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,21 @@ def select_by_mark(session: Session, dag: nx.DiGraph) -> set[str]: ...
1616

1717
class MarkGenerator:
1818
@deprecated(
19-
"'@pytask.mark.produces' is deprecated starting pytask v0.4.0 and will be removed in v0.5.0. To upgrade your project to the new syntax, read the tutorial on product and dependencies: https://tinyurl.com/pytask-deps-prods.", # noqa: E501, PYI053
19+
"'@pytask.mark.produces' is deprecated starting pytask v0.4.0 and will be removed in v0.5.0. To upgrade your project to the new syntax, read the tutorial on product and dependencies: https://tinyurl.com/pytask-deps-prods.", # noqa: E501
2020
category=FutureWarning,
2121
stacklevel=1,
2222
)
2323
@staticmethod
2424
def produces(objects: PyTree[str | Path]) -> None: ...
2525
@deprecated(
26-
"'@pytask.mark.depends_on' is deprecated starting pytask v0.4.0 and will be removed in v0.5.0. To upgrade your project to the new syntax, read the tutorial on product and dependencies: https://tinyurl.com/pytask-deps-prods.", # noqa: E501, PYI053
26+
"'@pytask.mark.depends_on' is deprecated starting pytask v0.4.0 and will be removed in v0.5.0. To upgrade your project to the new syntax, read the tutorial on product and dependencies: https://tinyurl.com/pytask-deps-prods.", # noqa: E501
2727
category=FutureWarning,
2828
stacklevel=1,
2929
)
3030
@staticmethod
3131
def depends_on(objects: PyTree[str | Path]) -> None: ...
3232
@deprecated(
33-
"'@pytask.mark.task' is deprecated starting pytask v0.4.0 and will be removed in v0.5.0. Use '@task' from 'from pytask import task' instead.", # noqa: E501, PYI053
33+
"'@pytask.mark.task' is deprecated starting pytask v0.4.0 and will be removed in v0.5.0. Use '@task' from 'from pytask import task' instead.", # noqa: E501
3434
category=FutureWarning,
3535
stacklevel=1,
3636
)

src/_pytask/nodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ class PythonNode(PNode):
236236

237237
name: str = ""
238238
value: Any | NoDefault = no_default
239-
hash: bool | Callable[[Any], bool] = False # noqa: A003
239+
hash: bool | Callable[[Any], bool] = False
240240
node_info: NodeInfo | None = None
241241

242242
@property

0 commit comments

Comments
 (0)