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
+14-6Lines changed: 14 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -248,11 +248,15 @@ Here is the launch.json to be able to debug examples and tests:
248
248
249
249
```json
250
250
{
251
+
// Use IntelliSense to learn about possible attributes.
252
+
// Hover to view descriptions of existing attributes.
253
+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
251
254
"version": "0.2.0",
252
255
"configurations": [
256
+
253
257
{
254
258
"name": "Python: Current File",
255
-
"type": "python",
259
+
"type": "debugpy",
256
260
"request": "launch",
257
261
"program": "${file}",
258
262
"console": "integratedTerminal",
@@ -261,13 +265,17 @@ Here is the launch.json to be able to debug examples and tests:
261
265
},
262
266
{
263
267
"name": "PyTest: Current File",
264
-
"type": "python",
268
+
"type": "debugpy",
265
269
"request": "launch",
266
270
"module": "pytest",
267
-
"args": ["${file}"],
271
+
"args": [
272
+
"-s",
273
+
"${file}"
274
+
],
268
275
"console": "integratedTerminal",
269
276
"justMyCode": true,
270
-
"env": { "PYTHONPATH": "${workspaceRoot}" }
277
+
"env": { "PYTHONPATH": "${workspaceRoot}",
278
+
"CODECARBON_ALLOW_MULTIPLE_RUNS": "True" }
271
279
},
272
280
{
273
281
"name": "PyTest: codecarbon monitor",
@@ -279,7 +287,7 @@ Here is the launch.json to be able to debug examples and tests:
279
287
],
280
288
"console": "integratedTerminal",
281
289
"justMyCode": true,
282
-
"env": { "PYTHONPATH": "${workspaceRoot}"}
290
+
"env": { "PYTHONPATH": "${workspaceRoot}"}
283
291
}
284
292
]
285
293
}
@@ -350,7 +358,7 @@ to regenerate the html files.
350
358
### Release process
351
359
352
360
- Merge all PRs.
353
-
- Create a PR bumping the version with `hatch run dev:bumpver update --patch`.
361
+
- Create a PR bumping the version with `hatch run dev:bumpver update --patch`. For a release candidate, use `hatch run dev:bumpver update --set-version 3.0.0_rc1`.
354
362
- Run `hatch run python3 .github/check_version.py` to check version consistancy.
355
363
- Update the dependencies with `hatch-pip-compile --upgrade --all`.
356
364
-[Build Documentation](#documentation) if needed with `hatch run docs:build`.
Copy file name to clipboardExpand all lines: README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -172,3 +172,9 @@ Here is a sample for BibTeX:
172
172
# Contact 📝
173
173
174
174
Maintainers are [@vict0rsch](https://github.com/vict0rsch)[@benoit-cty](https://github.com/benoit-cty) and [@SaboniAmine](https://github.com/saboniamine). Codecarbon is developed by volunteers from [**Mila**](http://mila.quebec) and the [**DataForGoodFR**](https://twitter.com/dataforgood_fr) community alongside donated professional time of engineers at [**Comet.ml**](https://comet.ml) and [**BCG GAMMA**](https://www.bcg.com/en-nl/beyond-consulting/bcg-gamma/default).
175
+
176
+
## Star History
177
+
178
+
Comparison of the number of stars accumulated by the different Python CO2 emissions projects:
179
+
[](https://star-history.com/#mlco2/codecarbon&lfwa/carbontracker&sb-ai-lab/Eco2AI&fvaleye/tracarbon&Breakend/experiment-impact-tracker&Date)
0 commit comments