From 752ef037a4383b112686cd3e5dfed13126a79d44 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Jul 2025 21:07:36 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/rbubley/mirrors-prettier: 787fb9f542b140ba0b2aced38e6a3e68021647a3 → 5ba47274f9b181bce26a5150a725577f3c336011](https://github.com/rbubley/mirrors-prettier/compare/787fb9f542b140ba0b2aced38e6a3e68021647a3...5ba47274f9b181bce26a5150a725577f3c336011) - [github.com/asottile/pyupgrade: ce40a160603ab0e7d9c627ae33d7ef3906e2d2b2 → 37bfa06d791fd38fb4e54910b36a2ff57641b074](https://github.com/asottile/pyupgrade/compare/ce40a160603ab0e7d9c627ae33d7ef3906e2d2b2...37bfa06d791fd38fb4e54910b36a2ff57641b074) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bef286db..049db7e8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,14 +22,14 @@ repos: - id: black - repo: https://github.com/rbubley/mirrors-prettier - rev: 787fb9f542b140ba0b2aced38e6a3e68021647a3 # frozen: v3.5.3 + rev: 5ba47274f9b181bce26a5150a725577f3c336011 # frozen: v3.6.2 hooks: - id: prettier files: \.(md|yml|yaml) args: [--prose-wrap=preserve] - repo: https://github.com/asottile/pyupgrade - rev: ce40a160603ab0e7d9c627ae33d7ef3906e2d2b2 # frozen: v3.19.1 + rev: 37bfa06d791fd38fb4e54910b36a2ff57641b074 # frozen: v3.20.0 hooks: - id: pyupgrade args: [--py38-plus] From 066b34504652268a99d147988751210b57c4d0ec Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Jul 2025 21:14:01 +0000 Subject: [PATCH 2/2] =?UTF-8?q?[pre-commit.ci=20=F0=9F=A4=96]=20Apply=20co?= =?UTF-8?q?de=20format=20tools=20to=20PR?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .pre-commit-config.yaml | 4 ++-- spec-0002/index.md | 2 -- spec-0005/index.md | 1 - spec-0006/index.md | 1 - spec-0007/index.md | 1 - 5 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 049db7e8..cd7f2f5a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,14 +22,14 @@ repos: - id: black - repo: https://github.com/rbubley/mirrors-prettier - rev: 5ba47274f9b181bce26a5150a725577f3c336011 # frozen: v3.6.2 + rev: 5ba47274f9b181bce26a5150a725577f3c336011 # frozen: v3.6.2 hooks: - id: prettier files: \.(md|yml|yaml) args: [--prose-wrap=preserve] - repo: https://github.com/asottile/pyupgrade - rev: 37bfa06d791fd38fb4e54910b36a2ff57641b074 # frozen: v3.20.0 + rev: 37bfa06d791fd38fb4e54910b36a2ff57641b074 # frozen: v3.20.0 hooks: - id: pyupgrade args: [--py38-plus] diff --git a/spec-0002/index.md b/spec-0002/index.md index 3b34c9da..150dfa56 100644 --- a/spec-0002/index.md +++ b/spec-0002/index.md @@ -58,7 +58,6 @@ A successful prototype implementation of this SPEC is already integrated into [N 2. Backend Requirements To ensure that a backend is compatible with NetworkX, it must adhere to specific structural requirements: - 1. The backend must implement a class that behaves like the `nx.Graph` object, including an attribute `__networkx_backend__` that identifies the backend. 2. The backend should provide `convert_from_nx` and `convert_to_nx` methods to facilitate the conversion between NetworkX graphs and the backend's graph representation. @@ -70,7 +69,6 @@ A successful prototype implementation of this SPEC is already integrated into [N pytest --pyargs networkx 4. Currently, the following ways exist in NetworkX to dispatch a function call to a backend: - 1. Type-based dispatching ```py H = nx_parallel.ParallelGraph(G) diff --git a/spec-0005/index.md b/spec-0005/index.md index 8c2631be..979ff6e3 100644 --- a/spec-0005/index.md +++ b/spec-0005/index.md @@ -85,7 +85,6 @@ and other ancillary information as needed. - Recommend that CI running against PRs be expected to pass--if it fails, it should be important - Schedule regular runs of CI against nightlies/pre-releases - - Good for other checks that don't need to run on every PR - Could use for pins - Can use labels to trigger additional runs of "exotic" jobs diff --git a/spec-0006/index.md b/spec-0006/index.md index 1fa7ee1c..7f6945b2 100644 --- a/spec-0006/index.md +++ b/spec-0006/index.md @@ -59,7 +59,6 @@ This document deals with the situation in which that is not possible, and secret This ensures access to assets, even when a key team member leaves the project or becomes indisposed. 4. A system for distributing project secrets must have the following properties: - - Secrets are stored encrypted in a central (remote) location. - It must be possible to grant access to the secrets to a select group of team members. - It must be possible to revoke future access to the secrets.[^future-access] diff --git a/spec-0007/index.md b/spec-0007/index.md index bc14f626..65b9f4cd 100644 --- a/spec-0007/index.md +++ b/spec-0007/index.md @@ -99,7 +99,6 @@ The [deprecation strategy](https://github.com/scientific-python/specs/pull/180#i - If neither `rng` nor `random_state`/`seed`/`...` is specified and `np.random.seed` has been used to set the seed, emit a `FutureWarning` about the upcoming change in behavior. - If `random_state`/`seed`/`...` is passed by keyword or by position, treat it as before, but: - - Emit a `DeprecationWarning` if passed by keyword, warning about the deprecation of keyword `random_state` in favor of `rng`. - Emit a `FutureWarning` if passed by position, warning about the change in behavior of the positional argument.