From 69339a6cf933693bbdf438828d3877e3fd21331c Mon Sep 17 00:00:00 2001 From: David Seddon Date: Sat, 25 Oct 2025 17:20:51 +0100 Subject: [PATCH 1/3] Update references to repo We have switched to an organization from a personal github repo. --- CHANGELOG.rst | 4 ++-- CONTRIBUTING.rst | 6 +++--- README.rst | 4 ++-- pyproject.toml | 2 +- tests/unit/application/graph/test_manipulation.py | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 602aeabb..caa7da2c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -37,7 +37,7 @@ This release was yanked due to poor performance when building very large graphs. 3.8.1 (2025-04-23) ------------------ -* Use joblib instead of multiprocessing for CPU parallelism. Fixes https://github.com/seddonym/grimp/issues/208. +* Use joblib instead of multiprocessing for CPU parallelism. Fixes https://github.com/python-grimp/grimp/issues/208. 3.8 (2025-04-11) ---------------- @@ -47,7 +47,7 @@ This release was yanked due to poor performance when building very large graphs. 3.7.1 (2025-03-12) ------------------ -* Fixed handling of within-descendant-imports when squashing modules (see `Issue 195 `_). +* Fixed handling of within-descendant-imports when squashing modules (see `Issue 195 `_). 3.7 (2025-03-07) ---------------- diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index cbdfca48..0e320edf 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -7,7 +7,7 @@ We welcome contributions to Grimp. Bug reports =========== -When `reporting a bug `_ please include: +When `reporting a bug `_ please include: * Your operating system name and version. * Any details about your local setup that might be helpful in troubleshooting. @@ -16,7 +16,7 @@ When `reporting a bug `_ please includ Feature requests and feedback ============================= -The best way to send feedback is to file an issue at https://github.com/seddonym/grimp/issues. +The best way to send feedback is to file an issue at https://github.com/python-grimp/grimp/issues. If you are proposing a feature: @@ -64,7 +64,7 @@ You don't need to activate or manage a virtual environment - this is taken care To set up Grimp for local development: -1. Fork `grimp `_ +1. Fork `grimp `_ (look for the "Fork" button). 2. Clone your fork locally:: diff --git a/README.rst b/README.rst index 40f7f2f7..6698dadc 100644 --- a/README.rst +++ b/README.rst @@ -9,8 +9,8 @@ Grimp :alt: Python versions :target: https://pypi.org/project/grimp/ -.. image:: https://github.com/seddonym/grimp/workflows/CI/badge.svg?branch=main - :target: https://github.com/seddonym/grimp/actions?workflow=CI +.. image:: https://github.com/python-grimp/grimp/actions/workflows/main.yml/badge.svg + :target: https://github.com/python-grimp/grimp/actions?workflow=CI :alt: CI Status Builds a queryable graph of the imports within one or more Python packages. diff --git a/pyproject.toml b/pyproject.toml index ace813b2..98bf1fa0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,7 @@ readme = "README.rst" [project.urls] Documentation = "https://grimp.readthedocs.io/" -Source-code = "https://github.com/seddonym/grimp/" +Source-code = "https://github.com/python-grimp/grimp/" [dependency-groups] dev = [ diff --git a/tests/unit/application/graph/test_manipulation.py b/tests/unit/application/graph/test_manipulation.py index aac9649b..1f00218b 100644 --- a/tests/unit/application/graph/test_manipulation.py +++ b/tests/unit/application/graph/test_manipulation.py @@ -458,7 +458,7 @@ def test_correctly_handles_imports_within_descendants(self): # We want to check that this import within the descendants of `animals` does # not cause problems. If this import is not properly removed then the imports map can # become corrupted, since it will contain an import to modules that no longer exist. - # See https://github.com/seddonym/grimp/issues/195 for more details. + # See https://github.com/python-grimp/grimp/issues/195 for more details. graph.add_import(importer="animals.dog", imported="animals.base") graph.squash_module("animals") From 083489f93eb96becd7b9882d1379015e399b5ca0 Mon Sep 17 00:00:00 2001 From: David Seddon Date: Sat, 25 Oct 2025 17:24:10 +0100 Subject: [PATCH 2/3] Add codspeed badge --- README.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.rst b/README.rst index 6698dadc..9b49f2c3 100644 --- a/README.rst +++ b/README.rst @@ -13,6 +13,10 @@ Grimp :target: https://github.com/python-grimp/grimp/actions?workflow=CI :alt: CI Status +.. image:: https://img.shields.io/endpoint?url=https://codspeed.io/badge.json + :target: https://codspeed.io/python-grimp/grimp?utm_source=badge + :alt: Codspeed + Builds a queryable graph of the imports within one or more Python packages. * Free software: BSD license From a1ca506372678e0e355a336b7413cd166a3c39f9 Mon Sep 17 00:00:00 2001 From: David Seddon Date: Sat, 25 Oct 2025 17:26:52 +0100 Subject: [PATCH 3/3] Add license badge --- README.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 9b49f2c3..f3f78a91 100644 --- a/README.rst +++ b/README.rst @@ -17,9 +17,11 @@ Grimp :target: https://codspeed.io/python-grimp/grimp?utm_source=badge :alt: Codspeed -Builds a queryable graph of the imports within one or more Python packages. +.. image:: https://img.shields.io/badge/License-BSD_2--Clause-orange.svg + :target: https://opensource.org/licenses/BSD-2-Clause + :alt: BSD license -* Free software: BSD license +Builds a queryable graph of the imports within one or more Python packages. Quick start -----------