Merge pull request #99 from jonrkarr/patch-2

Add markers for multi-line Python comments
This commit is contained in:
Alastair Mooney
2022-01-20 13:19:41 +00:00
committed by GitHub
4 changed files with 52 additions and 5 deletions

View File

@@ -53,7 +53,7 @@ new file mode 100644
index 0000000..525e25d
--- /dev/null
+++ b/tests/example_file.py
@@ -0,0 +1,7 @@
@@ -0,0 +1,23 @@
+def hello_world():
+ # TODO: Come up with a more imaginative greeting
+ print('Hello world')
@@ -61,6 +61,23 @@ index 0000000..525e25d
+ # TODO: Do more stuff
+ # This function should probably do something more interesting
+ # labels: help wanted
+
+def my_method(arg):
+ """
+ TODO: Second multiline comment
+ also need to be turned into task, and hopefully
+ kept together as one.
+ """
+ pass
+
+def MyClass:
+ '''
+ TODO: Third multiline comment
+ also need to be turned into task, and hopefully
+ kept together as one.
+ '''
+ pass
\ No newline at end of file
diff --git a/tests/example_file.rb b/tests/example_file.rb
new file mode 100644
index 0000000..e6da2ec