chore: Remove access token from local repo operator #385
Annotations
10 errors
|
mypy:
src/codegen/git/repo_operator/repo_operator.py#L60
error: "BaseRepoConfig" has no attribute "full_name" [attr-defined]
|
|
mypy:
src/codegen/git/repo_operator/repo_operator.py#L101
error: Argument 1 to "config_reader" of "Repo" has incompatible type "str"; expected "Literal['system', 'global', 'user', 'repository'] | None" [arg-type]
|
|
mypy:
src/codegen/git/repo_operator/repo_operator.py#L452
error: Incompatible return value type (got "None", expected "str") [return-value]
|
|
mypy:
src/codegen/git/repo_operator/repo_operator.py#L497
error: Name "rel_filepath" already defined on line 496 [no-redef]
|
|
mypy:
src/codegen/git/repo_operator/repo_operator.py#L528
error: Name "rel_filepath" already defined on line 527 [no-redef]
|
|
mypy:
src/codegen/git/repo_operator/repo_operator.py#L552
error: Need type annotation for "modified_files" (hint: "modified_files: list[<type>] = ...") [var-annotated]
|
|
mypy:
src/codegen/git/repo_operator/repo_operator.py#L568
error: Value of type "str | PathLike[str]" is not indexable [index]
|
|
mypy:
src/codegen/git/repo_operator/repo_operator.py#L570
error: Incompatible return value type (got "tuple[list[str | PathLike[str]], list[str | PathLike[str]]]", expected "tuple[list[str], list[str]]") [return-value]
|
|
mypy:
src/codegen/git/repo_operator/remote_repo_operator.py#L27
error: Incompatible types in assignment (expression has type "RepoConfig", base class "RepoOperator" defined the type as "BaseRepoConfig") [assignment]
|
|
mypy:
src/codegen/git/repo_operator/remote_repo_operator.py#L46
error: Argument "repo_config" to "__init__" of "RepoOperator" has incompatible type "RepoConfig"; expected "BaseRepoConfig" [arg-type]
|