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
And here's how you can do it quickly from your `git` commandline:
230
248
231
249
```bash
@@ -255,8 +273,8 @@ Follow these steps to start contributing:
255
273
2. If your pull request addresses an issue, please mention the issue number in
256
274
the pull request description to make sure they are linked (and people
257
275
consulting the issue know you are working on it);
258
-
3. To indicate a work in progress please prefix the title with `[WIP]`, or mark
259
-
the PR as a draft PR. These are useful to avoid duplicated work, and to differentiate
276
+
3. To indicate a work in progress please prefix the title with `[WIP]`, or mark
277
+
the PR as a draft PR. These are useful to avoid duplicated work, and to differentiate
260
278
it from PRs ready to be merged;
261
279
4. Make sure existing tests pass;
262
280
5. Add high-coverage tests. No quality testing = no merge.
@@ -272,7 +290,7 @@ An extensive test suite is included to test the library behavior and several exa
272
290
the [tests folder](https://github.com/huggingface/huggingface_hub/tree/main/tests).
273
291
274
292
The `huggingface_hub` library's normal behavior is to work with the production Hugging Face Hub. However,
275
-
for tests, we prefer to run on a staging version. In order to do this, it's important to set the
293
+
for tests, we prefer to run on a staging version. In order to do this, it's important to set the
276
294
`HUGGINGFACE_CO_STAGING` environment variable to `1` when running tests. It is preferred to pass this in when running the tests, than setting a permanent environmental variable, as shown below.
277
295
278
296
We use `pytest` in order to run the tests for the library . From the root of the
0 commit comments