Skip to content

Commit

Permalink
fix merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Santor committed Jan 17, 2025
2 parents 597cf4b + 2193a66 commit c244f07
Show file tree
Hide file tree
Showing 37 changed files with 936 additions and 332 deletions.
20 changes: 20 additions & 0 deletions .github/contributors.json
Original file line number Diff line number Diff line change
Expand Up @@ -1664,5 +1664,25 @@
"name": "Christian Jensen",
"github_login": "jensenbox",
"twitter_username": "cjensen"
},
{
"name": "Denis Darii",
"github_login": "DNX",
"twitter_username": ""
},
{
"name": "qwerrrqw",
"github_login": "qwerrrqw",
"twitter_username": ""
},
{
"name": "Pulse-Mind",
"github_login": "pulse-mind",
"twitter_username": ""
},
{
"name": "Hana Belay",
"github_login": "earthcomfy",
"twitter_username": ""
}
]
14 changes: 4 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
enable-cache: "true"
uses: astral-sh/setup-uv@v5
- name: Install dependencies
run: uv sync
- name: Run tests
Expand Down Expand Up @@ -55,9 +53,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
enable-cache: "true"
uses: astral-sh/setup-uv@v5
- name: Install dependencies
run: uv sync
- name: Docker ${{ matrix.script.name }}
Expand Down Expand Up @@ -102,13 +98,11 @@ jobs:
with:
python-version: "3.12"
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
enable-cache: "true"
uses: astral-sh/setup-uv@v5
- name: Install dependencies
run: uv sync
- uses: actions/setup-node@v4
with:
node-version: "22"
node-version: "22.13"
- name: Bare Metal ${{ matrix.script.name }}
run: sh tests/test_bare.sh ${{ matrix.script.args }}
4 changes: 1 addition & 3 deletions .github/workflows/dependabot-uv-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ jobs:
uses: actions/checkout@v4
if: ${{ env.GH_PAT == '' }}

- uses: astral-sh/setup-uv@v3
with:
enable-cache: true
- uses: astral-sh/setup-uv@v5
- run: uv lock
- uses: stefanzweifel/git-auto-commit-action@v5
with:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/django-issue-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
enable-cache: "true"
uses: astral-sh/setup-uv@v5
- name: Create Django Major Issue
run: uv run --frozen scripts/create_django_issue.py
env:
Expand Down
37 changes: 37 additions & 0 deletions .github/workflows/ruff-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: ruff

on:
pull_request:
paths:
- "{{cookiecutter.project_slug}}/requirements/local.txt"

permissions:
contents: write
pull-requests: write

jobs:
version:
runs-on: ubuntu-latest
env:
GH_PAT: ${{ secrets.GH_PAT }}
steps:
- name: Checkout with token
uses: actions/checkout@v4
if: ${{ env.GH_PAT != '' }}
with:
token: ${{ env.GH_PAT }}
ref: ${{ github.head_ref }}

- name: Checkout without token
uses: actions/checkout@v4
if: ${{ env.GH_PAT == '' }}
with:
ref: ${{ github.head_ref }}

- uses: astral-sh/setup-uv@v5

- run: uv run scripts/ruff_version.py

- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Align Ruff versions
4 changes: 1 addition & 3 deletions .github/workflows/update-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
enable-cache: "true"
uses: astral-sh/setup-uv@v5
- name: Set git details
run: |
git config --global user.name "github-actions"
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/update-contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
enable-cache: "true"
uses: astral-sh/setup-uv@v5
- name: Update list
run: uv run --frozen scripts/update_contributors.py
env:
Expand Down
11 changes: 10 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
exclude: "{{cookiecutter.project_slug}}|.github/contributors.json|CHANGELOG.md|CONTRIBUTORS.md"
default_stages: [pre-commit]
minimum_pre_commit_version: "3.2.0"

default_language_version:
python: python3.12
Expand All @@ -26,7 +27,7 @@ repos:
args: ["--tab-width", "2"]

- repo: https://github.com/asottile/pyupgrade
rev: v3.19.0
rev: v3.19.1
hooks:
- id: pyupgrade
args: [--py312-plus]
Expand All @@ -52,6 +53,14 @@ repos:
hooks:
- id: pyproject-fmt

- repo: local
hooks:
- id: node-version-checker
name: node-version-checker
entry: python scripts/node_version.py
language: python
files: .

ci:
autoupdate_schedule: weekly
skip: []
Expand Down
Loading

0 comments on commit c244f07

Please sign in to comment.