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 -------