-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #17523: Github Team Discussion deprecation (#2)
* initial changes * few more changes * update readme * some suggested changes * update comment content * update readme and add check for args * mock and test post * mock post request with errors * to get help * unnecessary code * fix integration test * add tests in index and services * some suggested changes and more * more changes * nit * update docstring * add comment for explanation * sean's requested changes * create Assignee at once * add test in github_services * few more changes * add delete comment functionality * fix lint checks * nits * update template
- Loading branch information
Showing
19 changed files
with
2,412 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Hi {{ username }}, | ||
|
||
It looks like you're assigned to this PR, but haven't taken any action for at least 2 days: | ||
{{ pr_list }} | ||
|
||
Please review and unassign yourself from the pending PRs as soon as possible. | ||
|
||
To avoid these messages in the future, please bookmark [this link](https://github.com/pulls/assigned) and check it daily. Thanks! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Lint Checks | ||
on: | ||
push: | ||
branches: | ||
- develop | ||
pull_request: | ||
branches: | ||
- develop | ||
|
||
jobs: | ||
lint: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-22.04] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.8.15' | ||
architecture: 'x64' | ||
- name: Install dependencies | ||
run: pip install -r requirements_dev.txt; pip install -r requirements.txt | ||
shell: bash | ||
- name: Run pylint checks | ||
run: pylint src --rcfile=.pylintrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Python script unit and integration tests | ||
on: | ||
push: | ||
branches: | ||
- develop | ||
pull_request: | ||
branches: | ||
- develop | ||
|
||
jobs: | ||
lint: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-22.04] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.8.15' | ||
architecture: 'x64' | ||
- name: Install dependencies | ||
run: pip install -r requirements_dev.txt; pip install -r requirements.txt | ||
shell: bash | ||
- name: Run python unit tests | ||
run: python -m unittest discover -p "*_test.py" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Python type checks | ||
on: | ||
push: | ||
branches: | ||
- develop | ||
pull_request: | ||
branches: | ||
- develop | ||
|
||
jobs: | ||
mypy_check: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-22.04] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.8.15' | ||
architecture: 'x64' | ||
- name: Install dependencies | ||
run: pip install -r requirements.txt | ||
- name: Install Mypy | ||
run: pip install mypy | ||
- name: Run Mypy checks | ||
run: mypy --strict . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
*~ | ||
*.pyc | ||
*.swp | ||
*.swo | ||
*.bak | ||
*.egg-info | ||
__pycache__/ | ||
.coverage* | ||
!.coveragerc | ||
coverage.xml | ||
.viminfo | ||
.vscode/* | ||
.nyc_output/* | ||
env/ | ||
venv/ | ||
*.db | ||
.DS_Store | ||
.idea | ||
.vagrant/* | ||
.lock | ||
.local/* | ||
.env | ||
.pytest_cache/v/cache/* | ||
.direnv/* | ||
.envrc | ||
.python-version |
Oops, something went wrong.