Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
3674a98
Create example.py
retepsnave Feb 25, 2020
f25e314
[black-command] fixes
actions-bot Feb 25, 2020
676b90d
[reset-demo-command] revert last commit
actions-bot Feb 25, 2020
8026b95
[black-command] fixes
actions-bot Jun 15, 2020
d428607
[reset-demo-command] revert last commit
actions-bot Jun 15, 2020
cac0b53
[black-command] fixes
actions-bot Jul 10, 2020
43b13d9
[reset-demo-command] revert last commit
actions-bot Jan 25, 2021
dc7bfa3
[black-command] fixes
actions-bot Aug 23, 2021
8af8e95
[reset-demo-command] revert last commit
actions-bot Aug 23, 2021
80da78e
[black-command] fixes
actions-bot Nov 9, 2021
0a77617
[reset-demo-command] revert last commit
actions-bot Nov 16, 2021
5bb9c13
[black-command] fixes
actions-bot Dec 28, 2021
9e3438f
[reset-demo-command] revert last commit
actions-bot Dec 28, 2021
1330805
[black-command] fixes
actions-bot Oct 18, 2022
e77cc41
[reset-demo-command] revert last commit
actions-bot Oct 18, 2022
f6da78b
[black-command] fixes
actions-bot Nov 15, 2022
4e72240
[reset-demo-command] revert last commit
actions-bot Nov 15, 2022
5ac43ec
[black-command] fixes
actions-bot Jan 18, 2023
cde2e69
[reset-demo-command] revert last commit
actions-bot May 1, 2023
20cb33f
[black-command] fixes
actions-bot Jan 31, 2024
8dfd13c
[reset-demo-command] revert last commit
actions-bot Feb 10, 2024
e3ea698
[black-command] fixes
actions-bot May 23, 2024
9f881ff
[hello-world-pr-command] Add hello response
actions-bot May 31, 2024
f57bcc4
[hello-world-pr-command] Add hello response
actions-bot Sep 7, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions example.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
import math, sys


def example1():
####This is a long comment. This should be wrapped to fit within 72 characters.
some_tuple = (1, 2, 3, "a")
some_variable = {
"long": "Long code lines should be wrapped within 79 characters.",
"other": [
math.pi,
100,
200,
300,
9876543210,
"This is a long string that goes on",
],
"more": {
"inner": "This whole logical line should be wrapped.",
some_tuple: [1, 20, 300, 40000, 500000000, 60000000000000000],
},
}
return (some_tuple, some_variable)


def example2():
return {"has_key() is deprecated": True}.has_key({"f": 2}.has_key(""))


class Example3(object):
def __init__(self, bar):
# Comments should have a space after the hash.
if bar:
bar += 1
bar = bar * bar
return bar
else:
some_string = """
Indentation in multiline strings should not be touched.
Only actual code should be reindented.
"""
return (sys.path, some_string)
2 changes: 2 additions & 0 deletions hello-world.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Hello @shellymiron!
Hello @bohrasd!