Skip to content

Commit 470c988

Browse files
[pre-commit.ci] pre-commit suggestions (#10175)
<!--pre-commit.ci start--> updates: - [github.com/adrienverge/yamllint.git: v1.35.1 → v1.37.0](https://github.com/adrienverge/yamllint.git/compare/v1.35.1...v1.37.0) - [github.com/pycqa/isort: 5.13.2 → 6.0.1](PyCQA/isort@5.13.2...6.0.1) - [github.com/PyCQA/flake8: 7.1.1 → 7.2.0](PyCQA/flake8@7.1.1...7.2.0) - [github.com/astral-sh/ruff-pre-commit: v0.8.6 → v0.11.4](astral-sh/ruff-pre-commit@v0.8.6...v0.11.4) - [github.com/executablebooks/mdformat: 0.7.21 → 0.7.22](hukkin/mdformat@0.7.21...0.7.22) <!--pre-commit.ci end--> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: rusty1s <[email protected]>
1 parent c300c96 commit 470c988

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ repos:
2727
)$
2828
2929
- repo: https://github.com/adrienverge/yamllint.git
30-
rev: v1.35.1
30+
rev: v1.37.0
3131
hooks:
3232
- id: yamllint
3333
name: Lint yaml
@@ -61,27 +61,27 @@ repos:
6161
additional_dependencies: [toml]
6262

6363
- repo: https://github.com/pycqa/isort
64-
rev: 5.13.2
64+
rev: 6.0.1
6565
hooks:
6666
- id: isort
6767
name: Sort imports
6868

6969
- repo: https://github.com/PyCQA/flake8
70-
rev: 7.1.1
70+
rev: 7.2.0
7171
hooks:
7272
- id: flake8
7373
name: Check PEP8
7474
additional_dependencies: [Flake8-pyproject]
7575

7676
- repo: https://github.com/astral-sh/ruff-pre-commit
77-
rev: v0.8.6
77+
rev: v0.11.4
7878
hooks:
7979
- id: ruff
8080
name: Ruff formatting
8181
args: [--fix, --exit-non-zero-on-fix]
8282

8383
- repo: https://github.com/executablebooks/mdformat
84-
rev: 0.7.21
84+
rev: 0.7.22
8585
hooks:
8686
- id: mdformat
8787
name: Format Markdown

torch_geometric/distributed/rpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def rpc_async(self, *args, **kwargs):
144144
@rpc_require_initialized
145145
def rpc_register(call: RPCCallBase) -> int:
146146
r"""Registers a call for RPC requests."""
147-
global _rpc_call_id, _rpc_call_pool
147+
global _rpc_call_id
148148

149149
with _rpc_call_lock:
150150
call_id = _rpc_call_id

0 commit comments

Comments
 (0)