Skip to content

Commit d931034

Browse files
authored
Initial commit
0 parents  commit d931034

28 files changed

+2438
-0
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: 🐛Bug Report
2+
description: File a bug report here
3+
title: "[BUG]: "
4+
labels: ["bug"]
5+
assignees: [""]
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Thanks for taking the time to fill out this bug report 🤗
11+
Make sure there aren't any open/closed issues for this topic 😃
12+
13+
- type: textarea
14+
id: bug-description
15+
attributes:
16+
label: Description of the bug
17+
description: Give us a brief description of what happened and what should have happened
18+
validations:
19+
required: true
20+
21+
- type: textarea
22+
id: steps-to-reproduce
23+
attributes:
24+
label: Steps To Reproduce
25+
description: Steps to reproduce the behavior.
26+
placeholder: |
27+
1. Go to '...'
28+
2. Click on '...'
29+
3. Scroll down to '...'
30+
4. See error
31+
validations:
32+
required: true
33+
34+
- type: textarea
35+
id: additional-information
36+
attributes:
37+
label: Additional Information
38+
description: |
39+
Provide any additional information such as logs, screenshots, likes, scenarios in which the bug occurs so that it facilitates resolving the issue.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: 🧹Codebase Refactor
2+
description: Refactor, clean, format the codebase
3+
title: "[ORG]: "
4+
labels: ["refactor"]
5+
assignees: [""]
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Please make sure this codebase refactor request hasn't been already submitted by someone by looking through other open/closed issues
11+
12+
- type: textarea
13+
id: description
14+
attributes:
15+
label: Description
16+
description: Give us a brief description of the codebase refactor task you would like
17+
validations:
18+
required: true
19+
20+
- type: textarea
21+
id: additional-information
22+
attributes:
23+
label: Additional Information
24+
description: Give us some additional reason on why codebase refactor is necessary to do

.github/ISSUE_TEMPLATE/exp_record.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: 🧪Experiment Record
2+
description: Describe experiment setting and results here
3+
title: "[EXP]: "
4+
labels: ["experiment"]
5+
assignees: [""]
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Please make sure this experiment request hasn't been already submitted by someone by looking through other open/closed issues
11+
12+
- type: textarea
13+
id: description
14+
attributes:
15+
label: Description
16+
description: Give us a brief description of the experimental setting and results you would like
17+
validations:
18+
required: true
19+
20+
- type: textarea
21+
id: additional-information
22+
attributes:
23+
label: Additional Information
24+
description: Give us some additional information on the experimental setting and results like learning rate, data selection , etc.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: ✨Feature Request
2+
description: Request a new feature or enhancement
3+
labels: ["enhancement"]
4+
title: "[FEAT]: "
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Please make sure this feature request hasn't been already submitted by someone by looking through other open/closed issues
10+
11+
- type: textarea
12+
id: description
13+
attributes:
14+
label: Description
15+
description: Give us a brief description of the feature or enhancement you would like
16+
validations:
17+
required: true
18+
19+
- type: textarea
20+
id: additional-information
21+
attributes:
22+
label: Additional Information
23+
description: Give us some additional information on the feature request like proposed solutions, links, screenshots, etc.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: 🖊️Writing Task
2+
description: Describe writing task here
3+
title: "[WRT]: "
4+
labels: ["writing"]
5+
assignees: [""]
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Please make sure this writing task request hasn't been already submitted by someone by looking through other open/closed issues
11+
12+
- type: textarea
13+
id: description
14+
attributes:
15+
label: Description
16+
description: Give us a brief description of the writing task you would like
17+
validations:
18+
required: true
19+
20+
- type: textarea
21+
id: additional-information
22+
attributes:
23+
label: Additional Information
24+
description: Give us some additional information on the writing task like exptected length, main content, etc.

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "pip" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "daily"

.github/pull_request_template.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<!--
2+
Thanks for creating this pull request 🤗
3+
Please make sure that the pull request is limited to one type (docs, feature, etc.) and keep it as small as possible. You can open multiple prs instead of opening a huge one.
4+
-->
5+
6+
<!-- If this pull request closes an issue, please mention the issue number below -->
7+
Closes # <!-- Issue # here -->
8+
9+
## 📑 Description
10+
<!-- Add a brief description of the pr -->
11+
12+
<!-- You can also choose to add a list of changes and if they have been completed or not by using the markdown to-do list syntax
13+
- [ ] Not Completed
14+
- [x] Completed
15+
-->
16+
17+
## ✅ Checks
18+
<!-- Make sure your pr passes the CI checks and do check the following fields as needed - -->
19+
- [ ] My pull request adheres to the code style of this project
20+
- [ ] My code requires changes to the documentation
21+
- [ ] I have updated the documentation as required
22+
- [ ] All the tests have passed
23+
- [ ] Branch name follows `type/descript` (e.g. `feature/add-llm-agents`)
24+
- [ ] Ready for code review
25+
26+
## ℹ Additional Information
27+
<!-- Any additional information like breaking changes, dependencies added, screenshots, comparisons between new and old behavior, etc. -->

.github/workflows/codespell.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: codespell
2+
3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
6+
7+
on:
8+
push:
9+
branches: [main]
10+
pull_request:
11+
branches: [main]
12+
13+
jobs:
14+
codespell:
15+
runs-on: ubuntu-latest
16+
strategy:
17+
matrix:
18+
python-version: ["3.10"]
19+
steps:
20+
- uses: actions/checkout@v2
21+
- name: Set up Python ${{ matrix.python-version }}
22+
uses: actions/setup-python@v2
23+
with:
24+
python-version: ${{ matrix.python-version }}
25+
- name: Install dependencies
26+
run: |
27+
python -m pip install --upgrade pip
28+
pip install codespell==2.2.6 tomli==2.0.1
29+
- name: Spelling check with codespell
30+
run: |
31+
codespell -c pyproject.toml

.github/workflows/isort.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: isort
2+
3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
6+
7+
on:
8+
push:
9+
branches: [main]
10+
pull_request:
11+
branches: [main]
12+
13+
jobs:
14+
isort:
15+
runs-on: ubuntu-latest
16+
strategy:
17+
matrix:
18+
python-version: ["3.10"]
19+
steps:
20+
- uses: actions/checkout@v2
21+
- name: Set up Python ${{ matrix.python-version }}
22+
uses: actions/setup-python@v2
23+
with:
24+
python-version: ${{ matrix.python-version }}
25+
- name: Install dependencies
26+
run: |
27+
python -m pip install --upgrade pip
28+
pip install isort==5.13.2
29+
- name: Run isort
30+
run: |
31+
isort . --check-only

.github/workflows/mypy.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Mypy
2+
3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
6+
7+
on:
8+
push:
9+
branches: [main]
10+
pull_request:
11+
branches: [main]
12+
13+
jobs:
14+
Static-Type-Checking:
15+
runs-on: ubuntu-latest
16+
strategy:
17+
max-parallel: 5
18+
matrix:
19+
python-version: ["3.10"]
20+
21+
steps:
22+
- uses: actions/checkout@v2
23+
- name: Set up Python ${{ matrix.python-version }}
24+
uses: actions/setup-python@v2
25+
with:
26+
python-version: ${{ matrix.python-version }}
27+
- name: Install dependencies
28+
run: |
29+
curl -sSL https://install.python-poetry.org | python3
30+
poetry install --all-extras
31+
- name: Type-checking package with mypy
32+
run: |
33+
# Run this mypy instance against our main package.
34+
poetry run pip install types-protobuf==4.24.0.4
35+
poetry run mypy --config-file pyproject.toml .

0 commit comments

Comments
 (0)