-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pre-commit.ci] auto fixes from pre-commit hooks
- Loading branch information
1 parent
7bbbc9d
commit 73e79a5
Showing
7 changed files
with
120 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +0,0 @@ | ||
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
#!/usr/bin/env python3 | ||
import pexpect | ||
|
||
p = pexpect.spawn('cookiecutter .') | ||
p = pexpect.spawn("cookiecutter .") | ||
|
||
p.expect('full_name .*') | ||
p.sendline('Brookhaven National Lab') | ||
p.expect("full_name .*") | ||
p.sendline("Brookhaven National Lab") | ||
|
||
p.expect('email .*') | ||
p.sendline('dallan@bnl.gov') | ||
p.expect("email .*") | ||
p.sendline("dallan@bnl.gov") | ||
|
||
p.expect('github_username .*') | ||
p.sendline('danielballan') | ||
p.expect("github_username .*") | ||
p.sendline("danielballan") | ||
|
||
p.expect('project_name .*') | ||
p.sendline('Example') | ||
p.expect("project_name .*") | ||
p.sendline("Example") | ||
|
||
p.expect('package_dist_name .*') | ||
p.sendline('') | ||
p.expect("package_dist_name .*") | ||
p.sendline("") | ||
|
||
p.expect('package_dir_name .*') | ||
p.sendline('') | ||
p.expect("package_dir_name .*") | ||
p.sendline("") | ||
|
||
p.expect('repo_name .*') | ||
p.sendline('') | ||
p.expect("repo_name .*") | ||
p.sendline("") | ||
|
||
p.expect('project_short_description .*') | ||
p.sendline('') | ||
p.expect("project_short_description .*") | ||
p.sendline("") | ||
|
||
p.expect('Select minimum_supported_python_version.*') | ||
p.sendline('') | ||
p.expect("Select minimum_supported_python_version.*") | ||
p.sendline("") | ||
|
||
# Runs until the cookiecutter is done; then exits. | ||
p.interact() |
Oops, something went wrong.