diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e208b6e5..b483868b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,9 +2,9 @@ name: CI on: push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] schedule: # Run daily (* needs quotes). - cron: '0 4 * * *' diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 34951e30..511214f3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -62,8 +62,8 @@ To install `tox`, run: ### Creating a new branch To start working on a pull request, create a new branch to work on. You -should never develop on your master branch because your master branch -should always be synchronized with the main repo’s master branch, which +should never develop on your main branch because your main branch +should always be synchronized with the main repo’s main branch, which is challenging if it has new commits. Create a branch using: $ git checkout -b your-new-branch diff --git a/README.md b/README.md index 6d70760e..56e8c5fe 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Vulture - Find dead code ![CI:Test](https://github.com/jendrikseipp/vulture/workflows/CI/badge.svg) -[![Codecov Badge](https://codecov.io/gh/jendrikseipp/vulture/branch/master/graphs/badge.svg)](https://codecov.io/gh/jendrikseipp/vulture?branch=master) +[![Codecov Badge](https://codecov.io/gh/jendrikseipp/vulture/branch/main/graphs/badge.svg)](https://codecov.io/gh/jendrikseipp/vulture?branch=main) Vulture finds unused code in Python programs. This is useful for cleaning up and finding errors in large code bases. If you run Vulture @@ -327,8 +327,8 @@ Please visit to report any issues or to make pull requests. - Contributing guide: - [CONTRIBUTING.md](https://github.com/jendrikseipp/vulture/blob/master/CONTRIBUTING.md) + [CONTRIBUTING.md](https://github.com/jendrikseipp/vulture/blob/main/CONTRIBUTING.md) - Release notes: - [CHANGELOG.md](https://github.com/jendrikseipp/vulture/blob/master/CHANGELOG.md) + [CHANGELOG.md](https://github.com/jendrikseipp/vulture/blob/main/CHANGELOG.md) - Roadmap: - [TODO.md](https://github.com/jendrikseipp/vulture/blob/master/TODO.md) + [TODO.md](https://github.com/jendrikseipp/vulture/blob/main/TODO.md) diff --git a/vulture/noqa.py b/vulture/noqa.py index 61abc905..b513e1d5 100644 --- a/vulture/noqa.py +++ b/vulture/noqa.py @@ -3,7 +3,7 @@ NOQA_REGEXP = re.compile( # Use the same regex as flake8 does. - # https://gitlab.com/pycqa/flake8/-/tree/master/src/flake8/defaults.py + # https://gitlab.com/pycqa/flake8/-/tree/main/src/flake8/defaults.py # We're looking for items that look like this: # `# noqa` # `# noqa: E123`