Skip to content

Commit

Permalink
chore(deps): Use renovate
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Jan 16, 2025
1 parent d1d0aae commit 9bb7865
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 74 deletions.
51 changes: 0 additions & 51 deletions .github/dependabot.yml

This file was deleted.

41 changes: 41 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",

// https://docs.renovatebot.com/configuration-options/#extends
"extends": [
// https://docs.renovatebot.com/presets-config/#configbase
"config:recommended",

// https://docs.renovatebot.com/presets-default/#enableprecommit
":enablePreCommit",

// https://docs.renovatebot.com/presets-default/#prhourlylimitnone
":prHourlyLimitNone",

// https://docs.renovatebot.com/presets-default/#rebasestaleprs
":rebaseStalePrs",

// https://docs.renovatebot.com/presets-customManagers/#custommanagersgithubactionsversions
"customManagers:githubActionsVersions"
],

// https://docs.renovatebot.com/configuration-options/#labels
"labels": ["dependencies"],

// https://docs.renovatebot.com/configuration-options/#schedule
"schedule": ["before 5am on saturday"],

// https://docs.renovatebot.com/configuration-options/#platformautomerge
"platformAutomerge": true,

// https://docs.renovatebot.com/configuration-options/#lockfilemaintenance
"lockFileMaintenance": {
"enabled": true,
"schedule": ["before 5am on saturday"]
},

// https://docs.renovatebot.com/modules/manager/copier
"copier": {
"enabled": false
}
}
3 changes: 0 additions & 3 deletions .github/workflows/constraints.txt

This file was deleted.

29 changes: 10 additions & 19 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,16 @@ on:

env:
FORCE_COLOR: "1"
# renovate: datasource=pypi depName=pip
PIP_VERSION: 24.3.1
# renovate: datasource=pypi depName=poetry
POETRY_VERSION: 1.8.5
# renovate: datasource=pypi depName=tox
TOX_VERSION: 4.23.2

jobs:
test:
runs-on: ubuntu-latest
env:
PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand All @@ -49,17 +53,17 @@ jobs:

- name: Upgrade pip
run: |
pip install pip
pip install pip==${{ env.PIP_VERSION }}
pip --version
- name: Install Poetry
run: |
pipx install poetry
pipx install poetry==${{ env.POETRY_VERSION }}
poetry --version
- name: Install tox
run: |
pipx install tox
pipx install tox==${{ env.TOX_VERSION }}
tox --version
- name: Run lint command from tox.ini
Expand All @@ -71,16 +75,3 @@ jobs:
TAP_POMELO_START_DATE: ${{ secrets.TAP_POMELO_START_DATE }}
run: |
tox -e py$(echo ${{ matrix.python-version }} | tr -d .)
pre-commit:
runs-on: ubuntu-latest
env:
FORCE_COLOR: "1"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- uses: pre-commit/action@v3.0.1
- uses: pre-commit-ci/lite-action@v1.1.0
if: always()
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ lint.select = [
"ALL",
]
lint.ignore = [
"ANN101", # missing-type-self
"DJ", # flake8-django
]
lint.per-file-ignores."noxfile.py" = [
Expand Down

0 comments on commit 9bb7865

Please sign in to comment.