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-8Lines changed: 15 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ Hello! Thank you for choosing to help contribute to one of the SendGrid open sou
12
12
-[Code Reviews](#code-reviews)
13
13
14
14
<aname="roadmap"></a>
15
-
We use [Milestones](https://github.com/sendgrid/sendgrid-python/milestones) to help define current roadmaps, please feel free to grab an issue from the current milestone. Please indicate that you have begun work on it to avoid collisions. Once a PR is made, community review, comments, suggestions and additional PRs are welcomed and encouraged.
15
+
We use [Milestones](https://github.com/sendgrid/sendgrid-python/milestones) to help define current roadmaps, please feel free to grab an issue from the current milestone. Please indicate that you have begun work on it to avoid collisions. Once a PR is made, community reviews, comments, suggestions and additional PRs are welcomed and encouraged.
16
16
17
17
<aname="cla"></a>
18
18
## CLAs and CCLAs
@@ -60,11 +60,13 @@ In order to make the process easier, we've included a [sample bug report templat
60
60
We welcome direct contributions to the sendgrid-python code base. Thank you!
61
61
62
62
### Development Environment ###
63
-
64
-
#### Using Docker ####
63
+
#### There are two ways to get set up: ####
64
+
#### 1. Using Docker ####
65
+
This is usually the easiest and fastest way to get set up.
65
66
You can use our Docker image to avoid setting up the development environment yourself. See [USAGE.md](https://github.com/sendgrid/sendgrid-python/blob/master/docker/USAGE.md).
66
67
67
-
#### Install and Run Locally ####
68
+
#### - OR - ####
69
+
#### 2. Install and Run Locally ####
68
70
69
71
##### Prerequisites #####
70
72
@@ -114,7 +116,7 @@ The Web API v3 client is `sendgrid.py`, the other files are legacy code for our
114
116
<aname="testing"></a>
115
117
## Testing
116
118
117
-
All PRs require passing tests before the PR will be reviewed.
119
+
The PR must pass all the tests before it is reviewed.
118
120
119
121
All test files are in the [`test`](https://github.com/sendgrid/sendgrid-python/test) directory.
120
122
@@ -130,7 +132,7 @@ For Python 2.7.* and up:
130
132
131
133
### Testing Multiple Versions of Python
132
134
133
-
All PRs require passing tests before the PR will be reviewed.
135
+
The PR must pass all the tests before it is reviewed.
134
136
135
137
#### Prerequisites: ####
136
138
@@ -140,7 +142,7 @@ The above local "Initial setup" is complete
*[prism](https://github.com/stoplightio/prism) v0.6 - It should be available in your PATH, but unittest script
142
144
will try to install it locally if not found. Apart from PATH env variable it will check in `~/bin` and `/usr/local/bin`.
143
-
You can install by yourself it in user dir by calling `source test/prism.sh`.
145
+
You can install it by yourself in user dir by calling `source test/prism.sh`.
144
146
145
147
#### Initial setup: ####
146
148
@@ -151,8 +153,13 @@ pyenv install 2.6.9
151
153
pyenv install 2.7.11
152
154
pyenv install 3.4.3
153
155
pyenv install 3.5.0
156
+
```
157
+
Make sure to change the current working directory to your local version of the repo before running the following command:
Copy file name to clipboardExpand all lines: USAGE.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -434,7 +434,7 @@ print response.headers
434
434
435
435
**This endpoint allows you to create a new suppression group.**
436
436
437
-
Suppression groups, or unsubscribe groups, are specific types or categories of email that you would like your recipients to be able to unsubscribe from. For example: Daily Newsletters, Invoices, System Alerts.
437
+
Suppression groups, or unsubscribe groups, are specific types or categories of emails that you would like your recipients to be able to unsubscribe from. For example: Daily Newsletters, Invoices, System Alerts.
438
438
439
439
The **name** and **description** of the unsubscribe group will be visible by recipients when they are managing their subscriptions.
440
440
@@ -478,7 +478,7 @@ print response.headers
478
478
479
479
**This endpoint allows you to update or change a suppression group.**
480
480
481
-
Suppression groups, or unsubscribe groups, are specific types or categories of email that you would like your recipients to be able to unsubscribe from. For example: Daily Newsletters, Invoices, System Alerts.
481
+
Suppression groups, or unsubscribe groups, are specific types or categories of emails that you would like your recipients to be able to unsubscribe from. For example: Daily Newsletters, Invoices, System Alerts.
482
482
483
483
The **name** and **description** of the unsubscribe group will be visible by recipients when they are managing their subscriptions.
484
484
@@ -503,7 +503,7 @@ print response.headers
503
503
504
504
**This endpoint allows you to retrieve a single suppression group.**
505
505
506
-
Suppression groups, or unsubscribe groups, are specific types or categories of email that you would like your recipients to be able to unsubscribe from. For example: Daily Newsletters, Invoices, System Alerts.
506
+
Suppression groups, or unsubscribe groups, are specific types or categories of emails that you would like your recipients to be able to unsubscribe from. For example: Daily Newsletters, Invoices, System Alerts.
507
507
508
508
The **name** and **description** of the unsubscribe group will be visible by recipients when they are managing their subscriptions.
509
509
@@ -525,7 +525,7 @@ print response.headers
525
525
526
526
You can only delete groups that have not been attached to sent mail in the last 60 days. If a recipient uses the "one-click unsubscribe" option on an email associated with a deleted group, that recipient will be added to the global suppression list.
527
527
528
-
Suppression groups, or unsubscribe groups, are specific types or categories of email that you would like your recipients to be able to unsubscribe from. For example: Daily Newsletters, Invoices, System Alerts.
528
+
Suppression groups, or unsubscribe groups, are specific types or categories of emails that you would like your recipients to be able to unsubscribe from. For example: Daily Newsletters, Invoices, System Alerts.
529
529
530
530
The **name** and **description** of the unsubscribe group will be visible by recipients when they are managing their subscriptions.
0 commit comments