From 48fd518306051a3f8995999642f1d243160759c8 Mon Sep 17 00:00:00 2001 From: Robert Svensson Date: Mon, 9 Dec 2024 22:28:51 +0100 Subject: [PATCH] Implement pep 685 (#536) --- .github/workflows/tests.yml | 2 +- pyproject.toml | 4 ++-- setup.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6a1c4354..47fc7616 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,7 +21,7 @@ jobs: python-version: "3.12" - name: Install dependencies run: | - pip install ".[requirements, requirements_test]" + pip install ".[requirements, requirements-test]" - name: Check lint with Ruff run: | ruff check axis tests diff --git a/pyproject.toml b/pyproject.toml index e681ad65..f7107b87 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,7 +33,7 @@ requirements = [ "packaging==24.2", "xmltodict==0.14.2", ] -requirements_test = [ +requirements-test = [ "mypy==1.13.0", "pytest==8.3.3", "pytest-aiohttp==1.0.5", @@ -44,7 +44,7 @@ requirements_test = [ "types-orjson==3.6.2", "types-xmltodict==v0.14.0.20241009", ] -requirements_dev = [ +requirements-dev = [ "pre-commit==4.0.1" ] diff --git a/setup.sh b/setup.sh index f51e86f6..b36953d1 100755 --- a/setup.sh +++ b/setup.sh @@ -9,5 +9,5 @@ cd "$(dirname "$0")" python3 -m venv venv source venv/bin/activate -python3 -m pip install ".[requirements, requirements_test, requirements_dev]" +python3 -m pip install ".[requirements, requirements-test, requirements-dev]" pre-commit install