Skip to content

Commit

Permalink
Prepare for Renovate
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Jan 28, 2025
1 parent 4f1a94f commit 4db58fe
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 27 deletions.
22 changes: 0 additions & 22 deletions .github/dependabot.yml

This file was deleted.

15 changes: 12 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ on:

env:
FORCE_COLOR: 1
# renovate: datasource=pypi depName=tox
TOX_VERSION: 4.24.1
# renovate: datasource=pypi depName=tox-uv
TOX_UV_VERSION: 1.20.1
# renovate: datasource=pypi depName=uv
UV_VERSION: 0.5.24

jobs:
pytest:
Expand Down Expand Up @@ -56,12 +62,15 @@ jobs:
python-version: ${{ matrix.python-version }}
- uses: astral-sh/setup-uv@887a942a15af3a7626099df99e897a18d9e5ab3a # v5.1.0
with:
version: ">=0.5.0"
version: ${{ env.UV_VERSION }}
- name: Run Tox
env:
TARGET_STARROCKS_USER: root
TARGET_STARROCKS_HOST: localhost
TARGET_STARROCKS_PORT: ${{ env.STARROCKS_PORT }}
TARGET_STARROCKS_DATABASE: ${{ env.STARROCKS_DATABASE }}
run: |
uvx --with tox-uv tox -e $(echo py${{ matrix.python-version }} | tr -d .)
run: >
uvx
--with tox-uv==${{ env.TOX_UV_VERSION }}
--with tox==${{ env.TOX_VERSION }}
tox -e $(echo py${{ matrix.python-version }} | tr -d .)
8 changes: 6 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ repos:
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.31.0
hooks:
- id: check-dependabot
- id: check-github-workflows
- id: check-renovate
language: python
additional_dependencies:
- pyjson5==1.6.8

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.3
Expand All @@ -34,5 +37,6 @@ repos:
rev: v1.14.1
hooks:
- id: mypy
language: python
additional_dependencies:
- types-requests
- types-requests==2.32.0.20241016

0 comments on commit 4db58fe

Please sign in to comment.