Skip to content

Commit 29afabc

Browse files
committed
Improve consistensy of names and add bare-bones Python gitignore
1 parent 186bbdc commit 29afabc

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.venv/
2+
__pycache__/
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ def test_archive_file_on_any_not_tags_branch_without_default_branch(self, temp_r
2828

2929
def test_archive_file_on_any_not_tags_branch_with_default_branch(self, temp_repo):
3030
git = temp_repo.get_repo_git()
31-
git.checkout("master")
32-
git.config("git-extras.default-branch", "master")
31+
git.checkout("main")
32+
git.config("git-extras.default-branch", "main")
3333
temp_repo.invoke_installed_extras_command("archive-file")
3434
filename = "{0}.{1}.zip".format(
3535
temp_repo.get_repo_dirname(),
@@ -53,13 +53,13 @@ def test_archive_file_on_dirname_has_backslash(self, named_temp_repo):
5353
filename = "{0}.{1}.{2}.zip".format(
5454
"backslash-dir",
5555
git.describe("--always", "--long"),
56-
"master")
56+
"main")
5757
assert filename in os.listdir()
5858

5959
def test_archive_file_on_tag_name_has_slash(self, temp_repo):
6060
temp_repo.switch_cwd_under_repo()
6161
git = temp_repo.get_repo_git()
62-
git.checkout("master")
62+
git.checkout("main")
6363
git.tag("--delete", "0.1.0")
6464
git.tag("0.1.0/slash", "-m", "bump: 0.1.0")
6565
temp_repo.invoke_installed_extras_command("archive-file")

0 commit comments

Comments
 (0)