File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed
Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,11 @@ pip install patchparser
1616``` python
1717from patchparser import github_parser
1818
19- # Parse a given commit for a GitHub repository
20- parsed = github_parser.commit(repo_owner = " Lightning-AI" ,
21- repo_name = " lightning" ,
22- sha = " 62f1e82e032eb16565e676d39e0db0cac7e34ace" )
19+ if __name__ == ' __main__' :
20+ # Parse a given commit for a GitHub repository
21+ parsed = github_parser.commit(repo_owner = " Lightning-AI" ,
22+ repo_name = " lightning" ,
23+ sha = " 62f1e82e032eb16565e676d39e0db0cac7e34ace" )
2324```
2425
2526### Parsed Features
Original file line number Diff line number Diff line change @@ -15,10 +15,14 @@ readme = "README.md"
1515requires-python = " >=3.7"
1616classifiers = [
1717 " Programming Language :: Python :: 3" ,
18- " License :: OSI Approved :: Unlicense" ,
18+ " License :: OSI Approved :: The Unlicense (Unlicense) " ,
1919 " Operating System :: OS Independent" ,
2020]
2121
2222[project .urls ]
2323"Homepage" = " https://github.com/tdunlap607/patchparser"
24- "Bug Tracker" = " https://github.com/tdunlap607/patchparser/issues"
24+ "Bug Tracker" = " https://github.com/tdunlap607/patchparser/issues"
25+
26+ dependencies = [
27+ " requests ~= 2.28.1"
28+ ]
You can’t perform that action at this time.
0 commit comments