mirror of
https://github.com/ditkrg/todo-to-issue-action.git
synced 2026-01-22 22:06:43 +00:00
commit
85a6f710f1
@ -155,6 +155,7 @@ Only a single milestone can be specified. If the milestone does not exist, it wi
|
|||||||
- Kotlin
|
- Kotlin
|
||||||
- Less
|
- Less
|
||||||
- Liquid
|
- Liquid
|
||||||
|
- Lua
|
||||||
- Makefile
|
- Makefile
|
||||||
- Markdown
|
- Markdown
|
||||||
- Nix
|
- Nix
|
||||||
|
|||||||
16
syntax.json
16
syntax.json
@ -837,5 +837,21 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"language": "Lua",
|
||||||
|
"markers": [
|
||||||
|
{
|
||||||
|
"type": "line",
|
||||||
|
"pattern": "--"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "block",
|
||||||
|
"pattern": {
|
||||||
|
"start": "--\\[\\[",
|
||||||
|
"end": "--\\]\\]"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@ -483,3 +483,20 @@ index 525e25d..ba4e68d 100644
|
|||||||
-TODO: Create an issue for TODO
|
-TODO: Create an issue for TODO
|
||||||
--}
|
--}
|
||||||
-sum a b = a + b
|
-sum a b = a + b
|
||||||
|
diff --git a/init.lua b/init.lua
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000..0ce9b1a
|
||||||
|
--- a/init.lua
|
||||||
|
+++ b/init.lua
|
||||||
|
@@ -0,0 +1,11 @@
|
||||||
|
--- TODO: Fix this
|
||||||
|
--- In the future, make a way to build these and just start the base
|
||||||
|
--- out with a large supply of each
|
||||||
|
--- labels: redesign
|
||||||
|
-local a = 1
|
||||||
|
-
|
||||||
|
---[[
|
||||||
|
- TODO: Fix this todo
|
||||||
|
- labels: urgent
|
||||||
|
---]]
|
||||||
|
-local b = 2
|
||||||
|
|||||||
@ -539,3 +539,20 @@ index 0000000..0ce9b1a
|
|||||||
+TODO: Create an issue for TODO
|
+TODO: Create an issue for TODO
|
||||||
+-}
|
+-}
|
||||||
+sum a b = a + b
|
+sum a b = a + b
|
||||||
|
diff --git a/init.lua b/init.lua
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000..0ce9b1a
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/init.lua
|
||||||
|
@@ -0,0 +1,11 @@
|
||||||
|
+-- TODO: Fix this
|
||||||
|
+-- In the future, make a way to build these and just start the base
|
||||||
|
+-- out with a large supply of each
|
||||||
|
+-- labels: redesign
|
||||||
|
+local a = 1
|
||||||
|
+
|
||||||
|
+--[[
|
||||||
|
+ TODO: Fix this todo
|
||||||
|
+ labels: urgent
|
||||||
|
+--]]
|
||||||
|
+local b = 2
|
||||||
|
|||||||
@ -100,6 +100,9 @@ class NewIssueTests(unittest.TestCase):
|
|||||||
def test_liquid_issues(self):
|
def test_liquid_issues(self):
|
||||||
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'liquid'), 3)
|
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'liquid'), 3)
|
||||||
|
|
||||||
|
def test_lua_issues(self):
|
||||||
|
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'lua'), 2)
|
||||||
|
|
||||||
class ClosedIssueTests(unittest.TestCase):
|
class ClosedIssueTests(unittest.TestCase):
|
||||||
# Check for removed TODOs across the files specified.
|
# Check for removed TODOs across the files specified.
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
@ -187,6 +190,9 @@ class ClosedIssueTests(unittest.TestCase):
|
|||||||
def test_liquid_issues(self):
|
def test_liquid_issues(self):
|
||||||
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'liquid'), 3)
|
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'liquid'), 3)
|
||||||
|
|
||||||
|
def test_lua_issues(self):
|
||||||
|
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'lua'), 2)
|
||||||
|
|
||||||
|
|
||||||
class IgnorePatternTests(unittest.TestCase):
|
class IgnorePatternTests(unittest.TestCase):
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user