Skip to content

Commit 3a12257

Browse files
Initial setup
Signed-off-by: Thara Palanivel <[email protected]>
1 parent 11ca083 commit 3a12257

21 files changed

+1477
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ""
5+
labels: ""
6+
assignees: ""
7+
---
8+
9+
## Describe the bug
10+
11+
A clear and concise description of what the bug is.
12+
13+
## Platform
14+
15+
Please provide details about the environment you are using, including the following:
16+
17+
- Interpreter version:
18+
- Library version:
19+
20+
## Sample Code
21+
22+
Please include a minimal sample of the code that will (if possible) reproduce the bug in isolation
23+
24+
## Expected behavior
25+
26+
A clear and concise description of what you expected to happen.
27+
28+
## Observed behavior
29+
30+
What you see happening (error messages, stack traces, etc...)
31+
32+
## Additional context
33+
34+
Add any other context about the problem here.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ""
5+
labels: ""
6+
assignees: ""
7+
---
8+
9+
## Is your feature request related to a problem? Please describe.
10+
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
## Describe the solution you'd like
14+
15+
A clear and concise description of what you want to happen.
16+
17+
## Describe alternatives you've considered
18+
19+
A clear and concise description of any alternative solutions or features you've considered.
20+
21+
## Additional context
22+
23+
Add any other context about the feature request here.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: User story
3+
about: A user-oriented story describing a piece of work to do
4+
title: ""
5+
labels: ""
6+
assignees: ""
7+
---
8+
9+
## Description
10+
11+
As a <user type>, I want to <do something>, so that I can <accomplish something>
12+
13+
## Discussion
14+
15+
Provide detailed discussion here
16+
17+
## Acceptance Criteria
18+
19+
<!-- Remove any that don't apply -->
20+
21+
- [ ] Unit tests cover new/changed code
22+
- [ ] Examples build against new/changed code
23+
- [ ] READMEs are updated

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "pip"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"

.github/pull_request_template.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!-- Thank you for the contribution! -->
2+
3+
### Description of the change
4+
5+
<!-- Please summarize the changes -->
6+
7+
### Related issue number
8+
9+
<!-- For example: "Closes #1234" -->
10+
11+
### How to verify the PR
12+
13+
<!-- Please provide instruction or screenshots on how to verify the PR.-->
14+
15+
### Was the PR tested
16+
17+
<!-- Describe how PR was tested -->
18+
- [ ] I have added >=1 unit test(s) for every new method I have added.
19+
- [ ] I have ensured all unit tests pass

.github/workflows/coverage.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Coverage
2+
on:
3+
push:
4+
branches: [ "main" ]
5+
pull_request:
6+
branches: [ "main" ]
7+
8+
jobs:
9+
report:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- name: Set up Python 3.11
14+
uses: actions/setup-python@v4
15+
with:
16+
python-version: 3.11
17+
- name: Install dependencies
18+
run: |
19+
python -m pip install --upgrade pip
20+
python -m pip install tox
21+
- name: Check Coverage
22+
run: tox -e coverage

.github/workflows/format.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Format
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
lint:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Set up Python 3.9
15+
uses: actions/setup-python@v4
16+
with:
17+
python-version: 3.9
18+
- name: Install dependencies
19+
run: |
20+
python -m pip install --upgrade pip
21+
python -m pip install tox
22+
- name: Check formatting
23+
run: tox -e fmt
24+
- name: Run pylint
25+
run: tox -e lint

.github/workflows/test.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Test
2+
on:
3+
push:
4+
branches: [ "main" ]
5+
pull_request:
6+
branches: [ "main" ]
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
python-version:
14+
- setup: "3.9"
15+
tox: "py39"
16+
- setup: "3.10"
17+
tox: "py310"
18+
- setup: "3.11"
19+
tox: "py311"
20+
steps:
21+
- uses: actions/checkout@v4
22+
- name: Install dependencies
23+
run: |
24+
python -m pip install --upgrade pip
25+
python -m pip install tox
26+
- name: Run unit tests
27+
run: tox -e py

.gitignore

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
*.egg-info
2+
*.pyc
3+
__pycache__
4+
.coverage
5+
.coverage.*
6+
durations/*
7+
coverage*.xml
8+
dist
9+
htmlcov
10+
test
11+
12+
# IDEs
13+
.vscode/
14+
.idea/
15+
16+
# Env files
17+
.env
18+
19+
# Virtual Env
20+
venv/
21+
.venv/
22+
23+
# Mac personalization files
24+
*.DS_Store
25+
26+
# Tox envs
27+
.tox
28+
29+
# Backup files and folders
30+
*.bkp
31+
*.bkp.*
32+
*bkp*
33+
34+
# Build output
35+
/build/lib/
36+

.isort.cfg

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[settings]
2+
profile=black
3+
from_first=true
4+
import_heading_future=Future
5+
import_heading_stdlib=Standard
6+
import_heading_thirdparty=Third Party
7+
import_heading_firstparty=First Party
8+
import_heading_localfolder=Local
9+
known_firstparty=
10+
known_localfolder=fms_mo

0 commit comments

Comments
 (0)