Skip to content

Commit

Permalink
Obey the typechecker
Browse files Browse the repository at this point in the history
  • Loading branch information
jstvz committed May 7, 2024
1 parent 467c8eb commit 2f44266
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cumulusci/core/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ def _load_project_config(self, *args, **kwargs):
self.project_config = self.project_config_cls(
self.universal_config, *args, **kwargs
)
self.project_config._add_tasks_directory_to_python_path()
if self.project_config is not None:
self.project_config._add_tasks_directory_to_python_path()

def _load_keychain(self):
if self.keychain is not None:
Expand Down
2 changes: 1 addition & 1 deletion cumulusci/utils/xml/robot_xml.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import re
from typing import Callable, Dict, NamedTuple

from robot.api import ExecutionResult, ResultVisitor
from robot.api import ExecutionResult, ResultVisitor # type: ignore
from robot.result.model import TestCase

UNITS = {
Expand Down

0 comments on commit 2f44266

Please sign in to comment.