Skip to content

Commit 4a525ac

Browse files
authored
Remove LFS from codegen-sdk (+ disable disallowed-words check) (#397)
# Motivation <!-- Why is this change necessary? --> # Content <!-- Please include a summary of the change --> # Testing <!-- How was the change tested? --> # Please check the following before marking your PR as ready for review - [ ] I have added tests for my changes - [ ] I have updated the documentation or added new documentation as needed
1 parent c9c0e76 commit 4a525ac

File tree

97 files changed

+12
-295
lines changed

Some content is hidden

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

97 files changed

+12
-295
lines changed

.gitattributes

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

.github/disallowed-words.txt

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

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- run: uv run --frozen pre-commit run --show-diff-on-failure --color=always --all-files --source ${{ github.event.pull_request.base.sha || github.event.before }} --origin ${{ github.event.pull_request.head.sha || github.event.after }}
3838
shell: bash
3939
env:
40-
SKIP: disallowed-words-check,circleci_validate
40+
SKIP: circleci_validate
4141

4242
- uses: stefanzweifel/git-auto-commit-action@v5
4343
# Always commit changes even if pre-commit failed

.lfsconfig

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

.pre-commit-config.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,12 @@ repos:
8686

8787
- repo: "local"
8888
hooks:
89-
- id: disallowed-words-check
90-
name: Check for disallowed words
91-
entry: scripts/disallowed-words-check.sh
92-
language: script
93-
files: '' # Check all files
89+
# Disabled as part of LFS removal.
90+
# - id: disallowed-words-check
91+
# name: Check for disallowed words
92+
# entry: scripts/disallowed-words-check.sh
93+
# language: script
94+
# files: '' # Check all files
9495
- id: generate-runner-imports
9596
name: Generate Runner Imports
9697
entry: bash -c "uv run --frozen python -m codegen.gscli.cli generate runner-imports src/codegen/shared/compilation/function_imports.py"

scripts/install-deps.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ if command -v sudo &> /dev/null; then
55
fi
66

77
if command -v apt &> /dev/null; then
8-
$SUDO apt update && $SUDO apt install -y git-lfs jq \
8+
$SUDO apt update && $SUDO apt install -y jq \
99
libpixman-1-dev \
1010
libcairo2-dev \
1111
libpango1.0-dev \
1212
libjpeg-dev \
1313
libgif-dev \
1414
librsvg2-dev
1515
elif command -v brew &> /dev/null; then
16-
brew install git-lfs jq
16+
brew install jq
1717
elif command -v dnf &> /dev/null; then
18-
$SUDO dnf install -y git-lfs jq
18+
$SUDO dnf install -y jq
1919
else
20-
echo "Error: Could not find package manager to install git-lfs and jq"
20+
echo "Error: Could not find package manager to install jq"
2121
exit 1
2222
fi

scripts/setup-lfs.sh

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

scripts/setup.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/env bash
2-
./scripts/setup-lfs.sh
32
uv tool install pre-commit --with pre-commit-uv
43
uv tool install deptry
54
uv tool update-shell

tests/integration/codemod/canonical/add_function_parameter_type_annotations/test_codegen/expected_diff.patch

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

tests/integration/codemod/canonical/add_function_parameter_type_annotations/test_django/expected_diff.patch

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

0 commit comments

Comments
 (0)