Robert Alonso
67fd1f496c
fix: reset modified environment variables after test
...
CustomLanguageTest was modifying a few environment
variables and not restoring them when complete. This
led to problems for later tests that expected those
variables to be at their default values.
2024-10-25 18:54:29 +00:00
Alastair Mooney
22ab6506e0
Merge pull request #217 from rgalonso/feat/prep-generic-vcs-support
...
refactor in preparation for supporting other VCSs
2024-10-25 19:43:46 +01:00
Alastair Mooney
2157658a7d
Update main.py
2024-10-25 19:43:01 +01:00
Alastair Mooney
d6553dba69
Update TodoParser.py
2024-10-25 19:42:25 +01:00
Robert Alonso
9b24f44c63
refactor: clean up imports
2024-10-25 18:12:00 +00:00
Robert Alonso
3753baeb0a
fix: copy all modules into Docker image
2024-10-25 02:49:17 +00:00
Robert Alonso
c05a9e3f1a
refactor: move GitHub-specific code into class
...
Add a new method, get_issue_url(), which returns
the VCS-specific web URL for viewing an issue.
This results in moving GitHub-specific code from
main into GitHubClient, but with no change in behavior.
2024-10-25 00:07:47 +00:00
Robert Alonso
714153eaf3
feat: add Local client
...
This is just a safe fallback for local testing.
If environment variables which activate the
creation of the GitHub client aren't set, then
the Local client is created. It acts on the most
recent commit of the repo in the working directory.
Minor edit to GitHubClient so that it raises an
EnvironmentError exception if INPUT_GITHUB_URL
environment variable is not defined. This allows
main to detect the error and fall back to trying
to use the Local client
2024-10-25 00:07:47 +00:00
Robert Alonso
662435d7fc
refactor: split into modules
...
Split main.py into modules to (mostly) isolate the
GitHub-specific code from the general TODO
detection and program logic.
This is both for readability/maintainability and
to prepare for potentially supporting other
version control systems (e.g. GitLab, BitBucket).
2024-10-25 00:07:47 +00:00
Alastair Mooney
771af35191
Merge pull request #214 from aleexharris/feat/add-toml-support
...
Added TOML Support
2024-10-14 12:33:02 +01:00
Alex Harris
220a09bb7c
test: Added tests for TOML support
2024-10-11 18:15:04 +01:00
Alex Harris
73fd4fae40
docs: Added TOML to README.md
2024-10-11 18:06:36 +01:00
Alex Harris
abe0768c1d
feat: Added TOML section to syntax.json
2024-10-11 18:06:07 +01:00
Alex Harris
5f25ec7c8e
build: Uncommented out the .python-version line in your .gitignore
2024-10-11 18:05:13 +01:00
Alastair Mooney
92f6bda7f0
Update test_todo_parser.py
2024-10-11 10:24:24 +01:00
Alastair Mooney
7ac233269b
Merge pull request #213 from allrob23/master
...
Improve file handling in `main.py`
2024-10-11 09:58:23 +01:00
Robin
a672421057
update main.py to avoid resource leak
2024-10-10 16:52:13 -03:00
Alastair Mooney
9fa2c464ba
Create PULL_REQUEST_TEMPLATE.md
2024-10-09 19:42:38 +01:00
Alastair Mooney
d2542d080d
Delete .github/PULL_REQUEST_TEMPLATE directory
2024-10-09 19:42:01 +01:00
Alastair Mooney
ace08cb53a
Merge pull request #211 from naps62/solidity
...
Adds support for solidity
2024-10-09 18:24:40 +01:00
Miguel Palhas
64aac3bc8a
code review
2024-10-09 18:21:46 +01:00
Alastair Mooney
85a6f710f1
Merge pull request #212 from naps62/lua
...
Adds support for lua
2024-10-09 18:14:19 +01:00
Miguel Palhas
a33cb4190b
code review
2024-10-08 16:34:53 +01:00
Miguel Palhas
b2a9899083
code review
2024-10-08 16:34:19 +01:00
Miguel Palhas
d6f93f3748
code review
2024-10-08 15:57:45 +01:00
Miguel Palhas
4f3709febb
code review
2024-10-08 12:32:18 +01:00
Miguel Palhas
94022cee51
code review
2024-10-08 12:16:19 +01:00
Miguel Palhas
7b5d19e941
code review
2024-10-08 12:02:02 +01:00
Miguel Palhas
e88cba0c82
code review
2024-10-08 11:57:17 +01:00
Miguel Palhas
26ed78e3f4
code review
2024-10-08 11:55:07 +01:00
Alastair Mooney
b380120404
Update README.md
2024-10-08 10:18:59 +01:00
Miguel Palhas
3442688932
code review
2024-10-07 16:38:24 +01:00
Miguel Palhas
50aa970dc4
code review
2024-10-07 16:38:02 +01:00
Miguel Palhas
10c00c3144
Adds support for lua
2024-10-07 16:36:37 +01:00
Miguel Palhas
6750a91222
Adds support for solidity
2024-10-07 16:35:17 +01:00
Alastair Mooney
6a791fdf4e
Rename GENERIC.md to PULL_REQUEST_TEMPLATE.md
2024-09-25 14:17:02 +01:00
Alastair Mooney
1b17728e72
Rename NEW_LANGUAGE.MD to NEW_LANGUAGE.md
2024-09-25 14:10:07 +01:00
Alastair Mooney
1910dc670a
Create GENERIC.md
2024-09-25 14:09:44 +01:00
Alastair Mooney
17b2e1bc4a
Update NEW_LANGUAGE.MD
2024-09-25 14:08:25 +01:00
Alastair Mooney
58a4540e21
Update NEW_LANGUAGE.MD
2024-09-25 14:06:58 +01:00
Alastair Mooney
4fe1a9ccc2
Update NEW_LANGUAGE.MD
2024-09-25 14:04:55 +01:00
Alastair Mooney
c73640e92d
Update NEW_LANGUAGE.MD
2024-09-25 14:04:43 +01:00
Alastair Mooney
dbb18918f5
Create NEW_LANGUAGE.MD
2024-09-25 14:04:17 +01:00
Alastair Mooney
62db8cb3f3
Update README.md
2024-09-25 13:46:05 +01:00
Alastair Mooney
62af033b6c
Update README.md
2024-09-25 13:45:38 +01:00
Alastair Mooney
8f0067c28d
Create CONTRIBUTING.md
2024-09-25 13:42:40 +01:00
Alastair Mooney
677dcd9b61
Create CODE_OF_CONDUCT.md
2024-09-25 13:28:44 +01:00
alstr
f8090bda34
Update tests
2024-09-25 13:12:26 +01:00
Alastair Mooney
2e616931bb
Merge pull request #163 from cyadehn/master
...
Add Support for VBA Component Files
2024-09-25 13:04:46 +01:00
Alastair Mooney
c49e159070
Update test_todo_parser.py
2024-09-25 13:01:51 +01:00