mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-22 22:58:13 +00:00
Fix type-checker and lint CI failures
- Add explicit type hint for cloned_context to fix mypy error - Fix pre-existing lint error: use raw string for regex pattern Co-Authored-By: João <joao@crewai.com>
This commit is contained in:
@@ -1271,7 +1271,7 @@ def test_create_directory_false():
|
||||
assert not resolved_dir.exists()
|
||||
|
||||
with pytest.raises(
|
||||
RuntimeError, match="Directory .* does not exist and create_directory is False"
|
||||
RuntimeError, match=r"Directory .* does not exist and create_directory is False"
|
||||
):
|
||||
task._save_file("test content")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user