From e2f26d8de1d60675844a571601f650e660594e92 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Thu, 26 Sep 2024 19:33:07 +0200 Subject: [PATCH] =?UTF-8?q?master=20=E2=86=92=20main=20(#3555)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 4 ++-- .pre-commit-config.yaml | 2 +- README.rst | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fbdd95b05f..88048710d8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,10 +6,10 @@ on: types: [published] push: branches: - - master + - main pull_request: branches: - - master + - main permissions: contents: read diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 67ba8036e8..4162b68c63 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,7 +29,7 @@ repos: rev: v4.6.0 hooks: - id: no-commit-to-branch - args: [--branch, master] + args: [--branch, main] - id: check-yaml args: [--unsafe] - id: debug-statements diff --git a/README.rst b/README.rst index c138dc1eef..6c07a77422 100644 --- a/README.rst +++ b/README.rst @@ -364,13 +364,13 @@ In the scenario where the user prefers not to follow the development version of .. code-block:: sh - wget https://raw.githubusercontent.com/codespell-project/codespell/master/codespell_lib/data/dictionary.txt + wget https://raw.githubusercontent.com/codespell-project/codespell/main/codespell_lib/data/dictionary.txt codespell -D dictionary.txt The above simply downloads the latest ``dictionary.txt`` file and then by utilizing the ``-D`` flag allows the user to specify the freshly downloaded ``dictionary.txt`` as the custom dictionary instead of the default one. You can also do the same thing for the other dictionaries listed here: - https://github.com/codespell-project/codespell/tree/master/codespell_lib/data + https://github.com/codespell-project/codespell/tree/main/codespell_lib/data License -------