-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Ran 'pre-commit autoupdate' * Ran 'uv lock --upgrade' * Updated pytest disables * Regenerated cassettes so tests pass * Removed dead test cassettes * Allowing latest Python 3.13 in CI since pylint fixed their issue * Propagated fetch-depth comment in CI * Modernized codeflash CI and fixed pull_request path * Fixed codeflash formatter-cmds * Added Renovate config with validation in CI * Removed pytest-mock dependency * Added mutable-override to mypy * Added doctesting to pytest config * Modernized refurb config for ruff port * Added blacken-docs and removed extra exclude for codespell * Updated ruff config and all fixes for latest ruff
- Loading branch information
1 parent
988335f
commit 25c76c8
Showing
27 changed files
with
874 additions
and
2,364 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
$schema: "https://docs.renovatebot.com/renovate-schema.json", | ||
extends: ["config:recommended"], | ||
schedule: ["* 2 1-7 * 1"], | ||
prHourlyLimit: 4, | ||
timezone: "America/Los_Angeles", | ||
rangeStrategy: "widen", | ||
lockFileMaintenance: { | ||
enabled: true, | ||
schedule: ["* 2 1-7 * 1"], // Work around https://github.com/renovatebot/renovate/discussions/33152 | ||
}, | ||
minimumReleaseAge: "2 weeks", | ||
"pre-commit": { enabled: true }, | ||
packageRules: [ | ||
{ | ||
matchUpdateTypes: ["lockFileMaintenance"], | ||
automerge: true, | ||
}, | ||
{ | ||
// group:allNonMajor, with automerge | ||
groupName: "all non-major dependencies", | ||
groupSlug: "all-minor-patch", | ||
matchPackageNames: ["*"], | ||
matchUpdateTypes: ["minor", "patch"], | ||
automerge: true, | ||
}, | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ jobs: | |
if: github.event_name == 'pull_request' # pre-commit-ci/lite-action only runs here | ||
strategy: | ||
matrix: | ||
python-version: [3.11, 3.13.0] # Our min and max supported Python versions | ||
python-version: [3.11, 3.13] # Our min and max supported Python versions | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
|
@@ -27,26 +27,28 @@ jobs: | |
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: [3.11, 3.13.0] # Our min and max supported Python versions | ||
python-version: [3.11, 3.13] # Our min and max supported Python versions | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
fetch-depth: 0 # For setuptools-scm, replace with fetch-tags after https://github.com/actions/checkout/issues/1471 | ||
- uses: astral-sh/setup-uv@v4 | ||
with: | ||
enable-cache: true | ||
- run: uv python pin ${{ matrix.python-version }} | ||
- name: Check build | ||
if: matrix.python-version == '3.11' | ||
if: matrix.python-version == '3.11' # Only need to run this on one version | ||
uses: hynek/build-and-inspect-python-package@v2 | ||
- run: uv sync --python-preference=only-managed | ||
- run: uv run refurb llmclient tests | ||
- run: uv run pylint llmclient | ||
- if: matrix.python-version == '3.11' # Only need to run this on one version | ||
uses: suzuki-shunsuke/[email protected] | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: [3.11, 3.13.0] # Our min and max supported Python versions | ||
python-version: [3.11, 3.13] # Our min and max supported Python versions | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: astral-sh/setup-uv@v3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.