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
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
- name: Set up Python
run: uv python install
- name: Install dependencies
run: uv sync --all-groups --dev
run: uv sync --all-extras --dev
- name: Static type checking
run: uv run pyright
run: uv run mypy
- name: Code formatting
run: uv run ruff check && uv run ruff format --check

Expand All @@ -51,7 +51,7 @@ jobs:
python-version: ${{ matrix.python-version }}
enable-cache: true
- name: Install dependencies
run: uv sync --all-groups --dev
run: uv sync --all-extras --dev
- name: Run tests
run: |
uv run pytest -vv tests --cov=anydi_django -p no:anydi
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

<p>
<a href="https://github.com/antonrh/anydi_django/actions/workflows/ci.yml" target="_blank">
<img src="https://github.com/antonrh/anydi_django/actions/workflows/ci.yml/badge.svg" alt="Build Status">
<img src="https://github.com/antonrh/anydi-django/actions/workflows/ci.yml/badge.svg" alt="Build Status">
</a>
<a href="https://codecov.io/gh/antonrh/anydi_django" target="_blank">
<img src="https://codecov.io/gh/antonrh/anydi_django/branch/main/graph/badge.svg?token=67CLD19I0C" alt="Coverage Status">
<a href="https://codecov.io/gh/antonrh/anydi-django" target="_blank">
<img src="https://codecov.io/gh/antonrh/anydi-django/branch/main/graph/badge.svg?token=67CLD19I0C" alt="Coverage Status">
</a>
<a href="https://anydi.readthedocs.io/en/stable/extensions/django/?badge=latest" target="_blank">
<img src="https://anydi.readthedocs.io/en/stable/extensions/django/badge/?version=latest" alt="Documentation Status">
Expand Down
10 changes: 6 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,20 @@ requires-python = ">=3.10"
dependencies = [
"anydi>=0.50.0",
"django>=4.2",
"mypy[faster-cache]>=1.18.2",
"pytest-cov>=7.0.0",
]

[dependency-groups]
dev = [
"ruff>=0.14.0",
"mypy[faster-cache]>=1.18.2",
"django-stubs>=5.2.7",
"pyright[nodejs]>=1.1.406",
"pytest>=8.4.2",
"pytest-cov>=7.0.0",
"pytest-django>=4.11.1",
"ruff>=0.14.0",
"django-ninja>=1.1.0,<2",
]

[project.optional-dependencies]
ninja = [
"django-ninja>=1.1.0,<2",
]
Expand Down
66 changes: 13 additions & 53 deletions uv.lock

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