You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+15-28Lines changed: 15 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
##Welcome Contributors! 🎉
1
+
# Welcome Contributors! 🎉
2
2
3
3
Thank you for your interest in contributing to the Office365-REST-Python-Client library. This project provides a comprehensive Python client for Microsoft 365 and Microsoft Graph APIs.
4
4
@@ -34,26 +34,17 @@ cd Office365-REST-Python-Client
34
34
35
35
## Development Environment Setup
36
36
37
-
### Virtual Environment
37
+
Activate the Virtual Environment and install dependencies:
38
38
39
39
```bash
40
-
python3 -m venv venv
41
-
. venv/bin/activate # On Windows: venv\Scripts\activate
42
-
```
43
-
44
-
### Install Dependencies
45
-
46
-
```bash
47
-
pip install -r requirements.txt
48
-
pip install -r requirements-dev.txt
40
+
uv sync --all-extras
49
41
```
50
42
51
43
### Pre-commit hooks (recommended)
52
44
53
45
```bash
54
-
pip install pre-commit
55
-
pre-commit install
56
-
pre-commit run -a
46
+
uv tool install prek
47
+
prek run --all-files
57
48
```
58
49
59
50
## Code Style and Quality Standards
@@ -69,9 +60,7 @@ Line length: 121 characters (configured in `pyproject.toml`).
69
60
Run locally before pushing:
70
61
71
62
```bash
72
-
black .
73
-
ruff check .
74
-
pylint office365
63
+
prek
75
64
```
76
65
77
66
## Testing Guidelines
@@ -82,15 +71,15 @@ Most tests are end-to-end and require actual Microsoft 365 credentials.
0 commit comments