Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Run pre-commit
run: |
SKIP=no-commit-to-branch \
uv run noxfile.py --session lint
uv run nox --session lint

rustfmt:
runs-on: ubuntu-24.04
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
env:
OS: ${{ inputs.os }}
run: |
uv run noxfile.py --session gha_matrix -- "${OS}"
uv run nox --session gha_matrix -- "${OS}"

test:
name: Python ${{ matrix.python-version }}, Django ${{ matrix.django-version }} (${{ matrix.os }})
Expand All @@ -77,7 +77,7 @@ jobs:
DJANGO_VERSION: ${{ matrix.django-version }}
PYTHON_VERSION: ${{ matrix.python-version }}
run: |
uv run noxfile.py --session "tests(python='${PYTHON_VERSION}', django='${DJANGO_VERSION}')"
uv run nox --session "tests(python='${PYTHON_VERSION}', django='${DJANGO_VERSION}')"

tests:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ cog:

[private]
nox SESSION *ARGS:
uv run noxfile.py --session "{{ SESSION }}" -- "{{ ARGS }}"
uv run nox --session "{{ SESSION }}" -- "{{ ARGS }}"

bumpver *ARGS:
uv run --with bumpver bumpver {{ ARGS }}
Expand Down
13 changes: 0 additions & 13 deletions noxfile.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
#!/usr/bin/env -S uv run --quiet
# /// script
# requires-python = ">=3.13"
# dependencies = [
# "bumpver",
# "nox",
# ]
# ///

from __future__ import annotations

import json
Expand Down Expand Up @@ -289,7 +280,3 @@ def get_version(session):
output = session.run(*command, silent=True)
match = re.search(r"New Version: (.+)", output)
return to_pep440(match.group(1)) if match else None


if __name__ == "__main__":
nox.main()
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ dev = [
"cogapp>=3.4.1",
"django-stubs>=5.1.1",
"maturin>=1.7.8",
"nox>=2025.5.1",
"ruff>=0.8.2",
]
docs = [
Expand Down
95 changes: 95 additions & 0 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.