Skip to content

Commit 5810b1a

Browse files
committed
Updated dependencies and documentation
1 parent b396d92 commit 5810b1a

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@ pip install patchparser
1616
```python
1717
from 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

pyproject.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,14 @@ readme = "README.md"
1515
requires-python = ">=3.7"
1616
classifiers = [
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+
]

0 commit comments

Comments
 (0)