Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3853466

Browse files
committed
Added requested changes
1 parent 03caee2 commit 3853466

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

‎.github/pull_request_template.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,6 @@ Please include a summary of the change and which issue is fixed. List any depend
1010

1111
## Fixes #(issue_no)
1212

13-
Replace `issue_no` with the issue number which is fixed in this PR
14-
15-
## Have you read the [Contributing Guidelines on Pull Requests](https://github.com/avinashkranjan/Amazing-Python-Scripts/blob/master/CONTRIBUTING.md)?
16-
17-
- [ ] Yes
18-
- [ ] No
19-
2013
## Type of change
2114

2215
_Please delete options that are not relevant._
@@ -34,8 +27,7 @@ _Please delete options that are not relevant._
3427
- [ ] I have commented my code, particularly in hard-to-understand areas
3528
- [ ] I have created a helpful and easy to understand `README.md`
3629
- [ ] My documentation follows [`Template for README.md`](https://github.com/avinashkranjan/Amazing-Python-Scripts/blob/master/Template%20for%20README.md)
37-
- [ ] My changes generate no new warnings
38-
- [ ] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works.
30+
- [ ] I have added the project meta data in the PR template.
3931

4032
## Project Metadata
4133

‎.github/scripts/Update_Database.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,13 @@ def extract_from_pr_body(pr_body, pa_token):
5858
pr_body = pr_body.split("\n")
5959
for element in pr_body:
6060
pr_body[pr_body.index(element)] = element.rstrip("\r")
61-
pr_body = pr_body[pr_body.index("## Project Metadata"):]
61+
62+
# A special case for contributors in gh-pages branch
63+
try:
64+
pr_body = pr_body[pr_body.index("## Project Metadata"):]
65+
except:
66+
sys.exit()
67+
6268
category_list = []
6369
for text in pr_body:
6470
# <----- Validate Category ----->
File renamed without changes.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /