Skip to content

Commit 64d5569

Browse files
committed
Move codegen-git into codegen.git
1 parent 7916928 commit 64d5569

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+100
-257
lines changed

.circleci/config.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,6 @@ commands:
9696
- run:
9797
command: |
9898
uv run --frozen cibuildwheel --output-dir dist
99-
if [[ "<<parameters.base_packages>>" == "true" ]]; then
100-
uv build --package codegen-git --wheel --sdist
101-
fi
10299
rm dist/.gitignore || true
103100
environment:
104101
HATCH_BUILD_HOOKS_ENABLE: "true"

.github/codecov.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ component_management:
2929
name: codegen-sdk-core
3030
paths:
3131
- src/codegen/sdk/**
32-
- component_id: codegen-git
33-
name: codegen-git
34-
paths:
35-
- codegen-git/**
36-
3732

3833
flag_management:
3934
default_rules:

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ jobs:
3232
- name: Build release distributions
3333
run: |
3434
uv build --wheel
35-
uv build --package codegen-git --wheel
3635
env:
3736
HATCH_BUILD_HOOKS_ENABLE: true
3837
- name: Upload distributions

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ repos:
6969
- id: deptry
7070
pass_filenames: false
7171
always_run: true
72-
entry: bash -c "uv run --frozen --all-extras --dev deptry src codegen-git/src --ignore DEP001"
72+
entry: bash -c "uv run --frozen --all-extras --dev deptry src --ignore DEP001"
7373
- repo: "local"
7474
hooks:
7575
- id: disallowed-words-check

codegen-git/README.md

Whitespace-only changes.

codegen-git/pyproject.toml

Lines changed: 0 additions & 42 deletions
This file was deleted.

codegen-git/src/codegen_git/clients/types.py

Lines changed: 0 additions & 4 deletions
This file was deleted.

pyproject.toml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ dependencies = [
3232
"docstring-parser<1.0,>=0.16",
3333
"plotly<6.0.0,>=5.24.0",
3434
"humanize<5.0.0,>=4.10.0",
35-
"codegen-git",
3635
"autoflake>=2.3.1",
3736
"black>=24.8.0",
3837
"pytest-snapshot>=0.9.0",
@@ -101,7 +100,7 @@ keyring-provider = "subprocess"
101100
#extra-index-url = ["https://[email protected]/pypi/codegen/simple/"]
102101
publish-url = "https://codegen-922078275900.d.codeartifact.us-east-1.amazonaws.com/pypi/codegen/"
103102
[tool.uv.workspace]
104-
members = ["codegen-git"]
103+
members = []
105104

106105
[tool.cython-lint]
107106
max-line-length = 200
@@ -147,7 +146,7 @@ lint.exclude = [
147146
] # disable just linting for notebooks (allow for formatting)
148147
lint.pydocstyle.convention = "google"
149148
[tool.ruff.lint.isort]
150-
known-first-party = ["app", "codegen_git"]
149+
known-first-party = ["app"]
151150
known-third-party = ["git"]
152151
#known-local-folder=[]
153152
[tool.coverage.run]
@@ -200,9 +199,6 @@ junit_logging = "all"
200199
requires = ["hatchling>=1.26.3", "hatch-vcs>=0.4.0", "setuptools-scm>=8.0.0"]
201200
build-backend = "hatchling.build"
202201

203-
[tool.uv.sources]
204-
codegen-git = { workspace = true }
205-
206202
[tool.deptry]
207203
extend_exclude = [".*/eval/test_files/.*.py", ".*conftest.py"]
208204
pep621_dev_dependency_groups = ["types"]

codegen-git/src/codegen_git/clients/git_integration_client.py renamed to src/codegen/git/clients/git_integration_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from github.Installation import Installation
77
from github.InstallationAuthorization import InstallationAuthorization
88

9-
from codegen_git.schemas.github import GithubType
9+
from codegen.git.schemas.github import GithubType
1010

1111
logger = logging.getLogger(__name__)
1212

codegen-git/src/codegen_git/clients/git_repo_client.py renamed to src/codegen/git/clients/git_repo_client.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
from github.Tag import Tag
1515
from github.Workflow import Workflow
1616

17-
from codegen_git.clients.github_client_factory import GithubClientFactory
18-
from codegen_git.clients.types import GithubClientType
19-
from codegen_git.schemas.github import GithubScope, GithubType
20-
from codegen_git.schemas.repo_config import RepoConfig
21-
from codegen_git.utils.format import format_comparison
17+
from codegen.git.clients.github_client_factory import GithubClientFactory
18+
from codegen.git.clients.types import GithubClientType
19+
from codegen.git.schemas.github import GithubScope, GithubType
20+
from codegen.git.schemas.repo_config import RepoConfig
21+
from codegen.git.utils.format import format_comparison
2222

2323
logger = logging.getLogger(__name__)
2424

0 commit comments

Comments
 (0)