Skip to content

Commit 2824e79

Browse files
committed
Fix merge conflicts with dev branch
2 parents 75e1a66 + 103e7fe commit 2824e79

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1541
-797
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @samwelkanda @jobala @ddyett @MichaelMainer @shemogumbe
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: bug
6+
assignees: samwelkanda
7+
8+
---
9+
10+
---
11+
name: Bug report
12+
about: Create a report to help us improve
13+
title: ''
14+
labels: ''
15+
assignees: ''
16+
17+
---
18+
19+
**Describe the bug**
20+
A clear and concise description of what the bug is.
21+
22+
**To Reproduce**
23+
Steps to reproduce the behavior:
24+
1. Go to '...'
25+
2. Click on '....'
26+
3. Scroll down to '....'
27+
4. See error
28+
29+
**Expected behavior**
30+
A clear and concise description of what you expected to happen.
31+
32+
**Screenshots**
33+
If applicable, add screenshots to help explain your problem.
34+
35+
**Additional context**
36+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: enhancement
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
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+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/pull_request_template.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
## Overview
2+
3+
Brief description of what this PR does, and why it is needed.
4+
5+
### Demo
6+
7+
Optional. Screenshots, `curl` examples, etc.
8+
9+
### Notes
10+
11+
Optional. Ancillary topics, caveats, alternative strategies that didn't work out, anything else.
12+
13+
## Testing Instructions
14+
15+
* How to test this PR
16+
* Prefer bulleted description
17+
* Start after checking out this branch
18+
* Include any setup required, such as bundling scripts, restarting services, etc.
19+
* Include test case, and expected output

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ jobs:
3535
pipenv run isort .
3636
- name: Lint with Pylint
3737
run: |
38-
pipenv run pylint msgraphcore --disable=W --rcfile=.pylintrc
39-
- name: Test with unittest
38+
pipenv run pylint msgraph --disable=W --rcfile=.pylintrc
39+
- name: Test with pytest
4040
run: |
41-
pipenv run coverage run -m pytest tests/unit
42-
pipenv run coverage run -m pytest tests/integration
43-
pipenv run coverage html
41+
pipenv run pytest

.pre-commit-config.yaml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,12 @@ repos:
2121
name: pylint
2222
stages: [commit]
2323
language: system
24-
entry: pipenv run pylint msgraphcore --disable=W --rcfile=.pylintrc
24+
entry: pipenv run pylint msgraph --disable=W --rcfile=.pylintrc
2525
types: [python]
2626

27-
- id: pytest-unit
28-
name: pytest-unit
27+
- id: pytest
28+
name: pytest
2929
stages: [commit]
3030
language: system
31-
entry: pipenv run coverage run -m pytest tests/unit
32-
types: [python]
33-
34-
- id: pytest-integration
35-
name: pytest-integration
36-
stages: [commit]
37-
language: system
38-
entry: pipenv run coverage run -m pytest tests/integration
31+
entry: pipenv run pytest tests
3932
types: [python]

.pypirc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[distutils]
2+
index-servers =
3+
pypi
4+
testpypi
5+
6+
[pypi]
7+
repository = https://upload.pypi.org/legacy/
8+
username = msgraphsdkteam # Replace with your PyPI username
9+
10+
[testpypi]
11+
repository = https://test.pypi.org/legacy/
12+
username = msgraphsdkteam # Replace with your TestPyPI username

Pipfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,15 @@ name = "pypi"
55

66
[packages] # Packages required to run the application
77
requests = "==2.23.0"
8-
pre-commit = "==2.10.1"
98

109
[dev-packages] # Packages required to develop the application
1110
coverage = "==5.0.3"
12-
pylint = "==2.6.0"
1311
responses = "==0.10.12"
1412
flit = "==2.2.0"
15-
azure-identity = "==1.5.0"
1613
isort = "==5.7.0"
1714
yapf = "==0.30.0"
1815
mypy = "==0.800"
19-
pytest = "*"
20-
importlib-metadata = "*"
16+
pylint = "==2.7.4"
17+
pytest = "==6.2.4"
18+
pre-commit = "==2.13.0"
19+
azure-identity = "*"

0 commit comments

Comments
 (0)