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
8 changes: 4 additions & 4 deletions .github/workflows/docspublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
- name: Install dependencies
run: |
uv --version
uv sync --locked --group script
uv sync --frozen --group base --group script
- name: Update CLI screenshots
run: |
uv run poe doc:screenshots
uv run --no-sync poe doc:screenshots
- name: Commit and push updated CLI screenshots
run: |
git config --global user.name "github-actions[bot]"
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Install dependencies
run: |
uv --version
uv sync --locked --only-group documentation
uv sync --frozen --only-group base --only-group documentation
- name: Generate Sponsors 💖
uses: JamesIves/github-sponsors-readme-action@v1
with:
Expand All @@ -63,7 +63,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
uv run poe doc:build
uv run --no-sync poe doc:build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ jobs:
- name: Install dependencies
run: |
uv --version
uv sync --locked --dev --group test --group linters
uv sync --frozen --group base --group test --group linters
- name: Run tests and linters
run: |
git config --global user.email "action@github.com"
git config --global user.name "GitHub Action"
uv run poe ci
uv run --no-sync poe ci
shell: bash
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ repos:
hooks:
- id: uv-lock
- id: uv-sync
args: [ --locked, --all-groups ]
args: [ --frozen, --all-groups ]
stages: [ pre-commit, post-checkout, post-merge, post-rewrite ]

- repo: https://github.com/asottile/blacken-docs
Expand Down Expand Up @@ -74,12 +74,12 @@ repos:
name: Format Python code
language: system
pass_filenames: false
entry: uv run poe format
entry: uv run --no-sync poe format
types: [ python ]

- id: linter and test
name: Linters
language: system
pass_filenames: false
entry: uv run poe lint
entry: uv run --no-sync poe lint
types: [ python ]
2 changes: 1 addition & 1 deletion docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ If you're a first-time contributor, please check out issues labeled [good first
```
4. Set up the development environment:
```bash
uv sync --dev
uv sync --dev --frozen
```
5. Set up pre-commit hooks:
```bash
Expand Down
2 changes: 1 addition & 1 deletion docs/contributing_tldr.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Please check the [pyproject.toml](https://github.com/commitizen-tools/commitizen

```bash
# Ensure you have the correct dependencies
uv sync --dev
uv sync --dev --frozen

# Make ruff happy
uv run poe format
Expand Down
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,18 @@ semver2 = "commitizen.version_schemes:SemVer2"

[dependency-groups]
dev = [
{ include-group = "base" },
{ include-group = "test" },
{ include-group = "linters" },
{ include-group = "documentation" },
{ include-group = "script" },
"ipython>=8.0",
"tox>4",
"tox-uv",
"poethepoet>=0.34.0",
]

base = ["poethepoet>=0.34.0"]

test = [
"pytest>=7.2",
"pytest-cov>=4",
Expand Down
4 changes: 4 additions & 0 deletions uv.lock

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