From dfc1cb1d4e01876df55afc8eedd284a10b921a0c Mon Sep 17 00:00:00 2001 From: Dominic Davis-Foster Date: Mon, 9 Aug 2021 19:49:51 +0100 Subject: [PATCH 1/2] Rebrand for formate --- README.rst | 4 ++-- contributing/__init__.py | 2 +- doc-source/_templates/base.html | 1 + doc-source/conf.py | 3 ++- doc-source/formate.png | Bin 0 -> 1667 bytes doc-source/getting-started.rst | 2 +- pyproject.toml | 12 ++++++------ repo_helper.yml | 11 +++++++---- 8 files changed, 20 insertions(+), 15 deletions(-) create mode 100644 doc-source/formate.png diff --git a/README.rst b/README.rst index 065ba60..9d1d43f 100644 --- a/README.rst +++ b/README.rst @@ -4,8 +4,8 @@ Contributing Guide .. start short_desc -**Contributing guide for repo-helper and associated projects** +**Contributing guide for projects in the python-formate organization** .. end short_desc -View online at https://contributing.repo-helper.uk +View online at https://contributing-to-formate.readthedocs.io/ diff --git a/contributing/__init__.py b/contributing/__init__.py index 50b7374..73c78c4 100644 --- a/contributing/__init__.py +++ b/contributing/__init__.py @@ -2,7 +2,7 @@ # # __init__.py """ -Contributing guide for repo-helper and associated projects. +Contributing guide for projects in the python-formate organization. """ # # Copyright © 2020-2021 Dominic Davis-Foster diff --git a/doc-source/_templates/base.html b/doc-source/_templates/base.html index b101b24..ffdc5ad 100644 --- a/doc-source/_templates/base.html +++ b/doc-source/_templates/base.html @@ -2,4 +2,5 @@ {% extends "!base.html" %} {% block extrahead %} + {% endblock %} diff --git a/doc-source/conf.py b/doc-source/conf.py index 1b1e520..b30076c 100644 --- a/doc-source/conf.py +++ b/doc-source/conf.py @@ -102,4 +102,5 @@ def setup(app): nitpicky = True del version del release -html_title = "repo-helper Contributing Guide" +html_title = "formate Contributing Guide" +html_logo = "formate.png" diff --git a/doc-source/formate.png b/doc-source/formate.png new file mode 100644 index 0000000000000000000000000000000000000000..02d7f8d327e9147e19344ba68596a85a286c0550 GIT binary patch literal 1667 zcmV-}27LL6P)n4`v3p{8FWQhbW?9;ba!ELWdL_~cP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cK3vx~3Dko0|}eB`g=4^y{bGrSn Date: Mon, 16 Mar 2026 15:09:57 +0000 Subject: [PATCH 2/2] Updated files with 'repo_helper'. --- .pre-commit-config.yaml | 7 +++++-- doc-source/requirements.txt | 1 + tox.ini | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a820125..61e6a2c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,7 +32,7 @@ repos: - id: end-of-file-fixer - repo: https://github.com/domdfcoding/pre-commit-hooks - rev: v0.5.0 + rev: v0.6.0 hooks: - id: requirements-txt-sorter args: @@ -80,12 +80,15 @@ repos: - id: snippet-fmt - repo: https://github.com/python-formate/formate - rev: v1.1.2 + rev: v1.2.0 hooks: - id: formate exclude: ^(doc-source/conf|__pkginfo__|setup)\.(_)?py$ additional_dependencies: - formate-trailing-commas>=0.1.1 + types_or: + - python + - pyi - repo: https://github.com/python-coincidence/dep_checker rev: v0.9.0 diff --git a/doc-source/requirements.txt b/doc-source/requirements.txt index f625fff..2d345e3 100644 --- a/doc-source/requirements.txt +++ b/doc-source/requirements.txt @@ -5,6 +5,7 @@ furo==2021.06.18b36 html-section>=0.3.0 roman>=4.0 seed-intersphinx-mapping>=1.2.2 +setuptools<81 sphinx>=3.0.3 sphinx-copybutton>=0.2.12 sphinx-debuginfo>=0.2.2 diff --git a/tox.ini b/tox.ini index 7be7ac9..2465dcb 100644 --- a/tox.ini +++ b/tox.ini @@ -26,7 +26,7 @@ requires = pip>=21,!=22.2 tox-envlist>=0.2.1 tox~=3.0 - virtualenv!=20.16.0 + virtualenv!=20.16.0,<20.39 [envlists] test = py38