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
+3-1
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,7 @@ You can run `tox` with the following arguments:
68
68
Python version
69
69
*`tox -e spellcheck` to run a spellcheck on all the code
70
70
*`tox -e lint-some-package` to run lint checks on `some-package`
71
+
*`tox -e generate-workflows` to run creation of new CI workflows if tox environments have been updated
71
72
*`tox -e ruff` to run ruff linter and formatter checks against the entire codebase
72
73
73
74
`ruff check` and `ruff format` are executed when `tox -e ruff` is run. We strongly recommend you to configure [pre-commit](https://pre-commit.com/) locally to run `ruff` automatically before each commit by installing it as git hooks. You just need to [install pre-commit](https://pre-commit.com/#install) in your environment:
@@ -297,6 +298,7 @@ When updating the minimum supported Python version remember to:
297
298
298
299
- Remove the version in `pyproject.toml` trove classifiers
299
300
- Remove the version from `tox.ini`
301
+
- Update github workflows accordingly with `tox -e generate-workflows`
300
302
- Search for `sys.version_info` usage and remove code for unsupported versions
301
303
- Bump `py-version` in `.pylintrc` for Python version dependent checks
302
304
@@ -306,6 +308,6 @@ When adding support for a new Python release remember to:
306
308
307
309
- Add the version in `tox.ini`
308
310
- Add the version in `pyproject.toml` trove classifiers
309
-
- Update github workflows accordingly; lint and benchmarks use the latest supported version
311
+
- Update github workflows accordingly with `tox -e generate-workflows`; lint and benchmarks use the latest supported version
Copy file name to clipboardExpand all lines: instrumentation-genai/opentelemetry-instrumentation-openai-v2/tests/cassettes/test_chat_completion_404.yaml
0 commit comments