fix: lint errors and ignore tutorial python files when linting
This commit is contained in:
parent
d127381262
commit
edb541505c
2 changed files with 5 additions and 3 deletions
|
|
@ -17,11 +17,12 @@ from cognee.modules.notebooks.methods.create_tutorial_notebooks import (
|
|||
_load_tutorial_cells,
|
||||
)
|
||||
|
||||
from cognee.modules.notebooks.models.Notebook import Notebook, NotebookCell
|
||||
from cognee.shared.logging_utils import get_logger
|
||||
|
||||
create_tutorial_notebooks_module = importlib.import_module(
|
||||
"cognee.modules.notebooks.methods.create_tutorial_notebooks"
|
||||
)
|
||||
from cognee.modules.notebooks.models.Notebook import Notebook, NotebookCell
|
||||
from cognee.shared.logging_utils import get_logger
|
||||
|
||||
logger = get_logger()
|
||||
|
||||
|
|
|
|||
|
|
@ -200,7 +200,8 @@ exclude = [
|
|||
"cognee/modules/users/models/Group.py",
|
||||
"cognee/modules/users/models/ACL.py",
|
||||
"cognee/modules/pipelines/models/Task.py",
|
||||
"cognee/modules/data/models/Dataset.py"
|
||||
"cognee/modules/data/models/Dataset.py",
|
||||
"cognee/modules/notebooks/tutorials/" # Ignore tutorial Python files
|
||||
]
|
||||
|
||||
[tool.ruff.lint]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue