mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 17:18:29 +00:00
13 lines
480 B
Python
13 lines
480 B
Python
"""Test to verify that the linting configuration is working correctly."""
|
|
import os
|
|
from pathlib import Path
|
|
|
|
|
|
def test_ruff_config_exists():
|
|
"""Test that the ruff configuration file exists."""
|
|
repo_root = Path(__file__).parent.parent
|
|
ruff_config_path = repo_root / ".ruff.toml"
|
|
assert ruff_config_path.exists(), "Ruff configuration file (.ruff.toml) should exist"
|
|
|
|
assert ruff_config_path.stat().st_size > 0, "Ruff configuration file should not be empty"
|