Skip to content

Commit 38ba017

Browse files
authored
Merge pull request #13 from dkmiller/main
Use snake_case for naming Python files
2 parents 68a6c40 + 704ae2e commit 38ba017

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.tours/ConvertCommentsToCode.tour

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,24 @@
33
"title": "ConvertCommentsToCode",
44
"steps": [
55
{
6-
"file": "ConvertCommentsToCode.py",
6+
"file": "convert_comments_to_code.py",
77
"description": "Welcome to your GitHub Copilot tour! Let's get started by learning to Convert Comments to Code! \n\nPress Next to continue 👇! ",
88
"line": 1,
99
"contents": ""
1010
},
1111
{
12-
"file": "ConvertCommentsToCode.py",
12+
"file": "convert_comments_to_code.py",
1313
"description": "Press __ENTER__ at the end of line 2. You should see a suggestion given by Copilot. Lets accept the Copilot suggestion by pressing __TAB__!\n\nPress Next to continue 👇! ",
1414
"line": 2,
1515
"contents": ""
1616
},
1717
{
18-
"file": "ConvertCommentsToCode.py",
18+
"file": "convert_comments_to_code.py",
1919
"line": 9,
2020
"description": "Let's run the code to see if it works. Click the follow hyperlink to execute your ConvertCommentsToCode.py file. It should count from one to ten. \n\n>> python3 ConvertCommentsToCode.py\n\nMission complete! You've used GitHub Copilot to create a function that counts to 10!"
2121
},
2222
{
23-
"file": "ConvertCommentsToCode.py",
23+
"file": "convert_comments_to_code.py",
2424
"description": "Thank you for trying out the GitHub Copilot Convert to Comments demo! Try a few different variables of your own! If you would like to sign up for Copilot visit here: https://github.com/features/copilot#pricing",
2525
"line": 10,
2626
"contents": ""

.tours/JSONtoUser.tour

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,25 @@
33
"title": "JSONtoUser",
44
"steps": [
55
{
6-
"file": "JSONtoUser.py",
6+
"file": "json_to_user.py",
77
"description": "Welcome to your GitHub Copilot tour! We're going to jump right into a common use case for Copilot: helping write boilerplate code. Here you can see an example of the User class, as well as a JSON representation of a user. \n\n Press `Next` to continue 👇",
88
"line": 1
99
},
1010
{
11-
"file": "JSONtoUser.py",
11+
"file": "json_to_user.py",
1212
"description": "We can use Copilot to automatically serialize the json into the class. Press __ENTER__ at the end of line 14 to prompt Copilot to generate the boilerplate code, and __TAB__ to accept the generated code. \n\nOnce it's generated the code, press `Next` to continue 👇",
1313
"line": 14
1414
},
1515

1616
{
17-
"file": "JSONtoUser.py",
17+
"file": "json_to_user.py",
1818
"description": "We can also use Copilot to write a function to convert from the class to JSON. Press __ENTER__ at the end of line 18 to prompt Copilot to generate the boilerplate code, and __TAB__ to accept the generated code. \n\nOnce it's generated the code, press `Next` to continue 👇",
1919
"line": 18
2020
},
2121
{
22-
"file": "JSONtoUser.py",
22+
"file": "json_to_user.py",
2323
"description": "Thank you for trying out the GitHub JSONtoUser Demo! Try out some new Code Tours in the bottom left panel! If you would like to sign up for Copilot visit here: https://github.com/features/copilot#pricing",
2424
"line": 42
2525
}
2626
]
27-
}
27+
}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# write a function that counts from 1 to 10 and prints the numbers
22
def count_to_ten():
33

4-
count_to_ten()
4+
count_to_ten()
File renamed without changes.

0 commit comments

Comments
 (0)