Skip to content

Commit

Permalink
Rename master branch to main.
Browse files Browse the repository at this point in the history
  • Loading branch information
jendrikseipp committed Jul 10, 2022
1 parent bf9816c commit fb126c7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 * * *'
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -327,8 +327,8 @@ Please visit <https://github.com/jendrikseipp/vulture> 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)
2 changes: 1 addition & 1 deletion vulture/noqa.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit fb126c7

Please sign in to comment.