Skip to content
Open
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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Install dependencies
uses: ./.github/actions/install-dependencies
with:
uv-sync-extra-args: "--group linting"
uv-sync-extra-args: "--group linting --no-default-groups"

# Code based on https://pre-commit.com/#github-actions-example
- name: Set `PY` envvar
Expand All @@ -40,7 +40,7 @@ jobs:
- name: Install dependencies
uses: ./.github/actions/install-dependencies
with:
uv-sync-extra-args: "--group ci"
uv-sync-extra-args: "--group ci --no-default-groups"

- name: Create `.env`
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
1. Install dev dependencies:
(this will create a `.venv` folder inside your repository folder, by default)
```shell
uv sync --group dev
uv sync
```
1. Create an empty `.env` file directly inside the repository folder, and fill it by
copying the contents of [`.env.example`](.env.example)
Expand Down
6 changes: 2 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,8 @@ lint.isort.combine-as-imports = true
lint.pycodestyle.ignore-overlong-task-comments = true

[tool.uv]
# Don't install `dev` by default (see
# https://docs.astral.sh/uv/concepts/projects/dependencies/#default-groups), to make it
# easier to *not* install those dependencies in prod
default-groups = [ ]
# https://docs.astral.sh/uv/concepts/projects/dependencies/#default-groups
default-groups = [ "dev" ]

[tool.uv.sources]
python-ldap = [
Expand Down
Loading