aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.github/dependabot.yml2
-rw-r--r--.github/workflows/lint-test.yaml2
-rw-r--r--.pre-commit-config.yaml9
-rw-r--r--pydis_site/apps/content/resources/guides/pydis-guides/contributing/bot.md2
4 files changed, 11 insertions, 4 deletions
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 3916e889..cdf639c1 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -1,5 +1,5 @@
version: 2
-enable-beta-ecosystems: true
+
updates:
- package-ecosystem: "uv"
directory: "/"
diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml
index 159e6fd7..54be8e6c 100644
--- a/.github/workflows/lint-test.yaml
+++ b/.github/workflows/lint-test.yaml
@@ -19,7 +19,7 @@ jobs:
activate-environment: true
- name: Install dependencies
- run: uv sync --frozen --group lint --group test
+ run: uv sync --locked --group lint --group test
# Start the database early to give it a chance to get ready before
# we start running tests.
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index acae72fd..7f379ad0 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -12,9 +12,16 @@ repos:
args: [--markdown-linebreak-ext=md]
- repo: local
hooks:
+ - id: uv-lock
+ name: uv lock
+ description: Checks the validity of the uv.lock file.
+ entry: uv lock
+ language: system
+ files: ^(uv\.lock|pyproject\.toml|uv\.toml)$
+ pass_filenames: false
- id: ruff
name: ruff
description: This hook runs ruff within our project's environment.
- entry: uv run ruff check --force-exclude
+ entry: uv run --frozen ruff check --force-exclude
language: system
types: [python]
diff --git a/pydis_site/apps/content/resources/guides/pydis-guides/contributing/bot.md b/pydis_site/apps/content/resources/guides/pydis-guides/contributing/bot.md
index 33c7353f..25bea273 100644
--- a/pydis_site/apps/content/resources/guides/pydis-guides/contributing/bot.md
+++ b/pydis_site/apps/content/resources/guides/pydis-guides/contributing/bot.md
@@ -15,7 +15,7 @@ This page will focus on the quickest steps one can take, with mentions of altern
### Setup Project Dependencies
Below are the dependencies you **must** have installed to get started with the bot.
-1. Make sure you have [Python 3.13](https://www.python.org/downloads/) installed. uv [can also be used to](https://docs.astral.sh/uv/guides/install-python/#installing-python) install Python, if desired.
+1. Make sure you have [Python 3.14](https://www.python.org/downloads/) installed. uv [can also be used to](https://docs.astral.sh/uv/guides/install-python/#installing-python) install Python, if desired.
2. [Install uv](https://github.com/astral-sh/uv#installation).
3. [Install the project's dependencies](../installing-project-dependencies).
4. Docker.