-
Notifications
You must be signed in to change notification settings - Fork 43
Fix global tox test matrix failures and linters #367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,3 +3,4 @@ | |
| addopts = -rfE -v | ||
| log_cli = true | ||
| log_cli_level = warning | ||
| asyncio_default_fixture_loop_scope = function | ||
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -16,6 +16,7 @@ | |||
| "target", | ||||
| ".tox", | ||||
| ".venv", | ||||
| "test_env", | ||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Same for the |
||||
| "__pycache__", | ||||
| "node_modules", | ||||
| ) | ||||
|
|
||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -348,7 +348,7 @@ commands_pre = | |||||
| sh -c "sudo apt update -y && sudo apt install --assume-yes shellcheck" | ||||||
|
|
||||||
| commands = | ||||||
| sh -c "find {toxinidir} -name \*.sh | xargs shellcheck --severity=warning" | ||||||
| sh -c "find {toxinidir} -type f -name \*.sh -not -path '*/.tox/*' -not -path '*/.venv/*' -not -path '*/test_env/*' | xargs --no-run-if-empty shellcheck --severity=warning" | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The exclusion list misses
Suggested change
|
||||||
|
|
||||||
| [testenv:{precommit,ruff}] | ||||||
| basepython: python3 | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This won't reach the packages that define their own
[tool.pytest.ini_options]. pytest stops its config lookup at the packagepyproject.tomland never reads rootpytest.ini. Affected: anthropic, agno, crewai, smolagents, llama-index, claude-agent-sdk. Those envs will keep emitting the warning.Simplest fix: drop the
[tool.pytest.ini_options]blocks from those sixpyproject.tomls so root config applies everywhere. Otherwise the setting has to be duplicated into each.