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
+11-6Lines changed: 11 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -250,9 +250,10 @@ Here is the launch.json to be able to debug examples and tests:
250
250
{
251
251
"version": "0.2.0",
252
252
"configurations": [
253
+
253
254
{
254
255
"name": "Python: Current File",
255
-
"type": "python",
256
+
"type": "debugpy",
256
257
"request": "launch",
257
258
"program": "${file}",
258
259
"console": "integratedTerminal",
@@ -261,13 +262,17 @@ Here is the launch.json to be able to debug examples and tests:
261
262
},
262
263
{
263
264
"name": "PyTest: Current File",
264
-
"type": "python",
265
+
"type": "debugpy",
265
266
"request": "launch",
266
267
"module": "pytest",
267
-
"args": ["${file}"],
268
+
"args": [
269
+
"-s",
270
+
"${file}"
271
+
],
268
272
"console": "integratedTerminal",
269
273
"justMyCode": true,
270
-
"env": { "PYTHONPATH": "${workspaceRoot}" }
274
+
"env": { "PYTHONPATH": "${workspaceRoot}",
275
+
"CODECARBON_ALLOW_MULTIPLE_RUNS": "True" }
271
276
},
272
277
{
273
278
"name": "PyTest: codecarbon monitor",
@@ -279,7 +284,7 @@ Here is the launch.json to be able to debug examples and tests:
279
284
],
280
285
"console": "integratedTerminal",
281
286
"justMyCode": true,
282
-
"env": { "PYTHONPATH": "${workspaceRoot}"}
287
+
"env": { "PYTHONPATH": "${workspaceRoot}"}
283
288
}
284
289
]
285
290
}
@@ -350,7 +355,7 @@ to regenerate the html files.
350
355
### Release process
351
356
352
357
- Merge all PRs.
353
-
- Create a PR bumping the version with `hatch run dev:bumpver update --patch`.
358
+
- 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
359
- Run `hatch run python3 .github/check_version.py` to check version consistancy.
355
360
- Update the dependencies with `hatch-pip-compile --upgrade --all`.
356
361
-[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