Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ dependencies = [
"urllib3>=2.0.0",
"datasets",
"colorlog>=6.9.0",
"codegen-sdk-pink>=0.1.0",
"codegen-api-client",
]

Expand Down Expand Up @@ -115,6 +114,7 @@ keywords = [
codegen = "codegen.cli.cli:main"

[project.optional-dependencies]
pink = ["codegen-sdk-pink>=0.1.0"]
types = [
"types-networkx>=3.2.1.20240918",
"types-tabulate>=0.9.0.20240106",
Expand Down
4 changes: 2 additions & 2 deletions src/codegen/configs/models/codebase.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
class PinkMode(IntEnum):
# Use the python SDK for all files
OFF = auto()
# Use the Rust SDK for all files
# Use the Rust SDK for all files. Make sure to install the pink extra
ALL_FILES = auto()
# Use the Rust SDK for files the python SDK can't parse (non-source files)
# Use the Rust SDK for files the python SDK can't parse (non-source files). Make sure to install the pink extra
NON_SOURCE_FILES = auto()


class CodebaseConfig(BaseConfig):
def __init__(self, prefix: str = "CODEBASE", *args, **kwargs) -> None:
super().__init__(prefix=prefix, *args, **kwargs)

Check failure on line 19 in src/codegen/configs/models/codebase.py

View workflow job for this annotation

GitHub Actions / mypy

error: "__init__" of "BaseConfig" gets multiple values for keyword argument "prefix" [misc]

debug: bool = False
verify_graph: bool = False
Expand Down
Loading