diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 21bb4d3..d858151 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -14,7 +14,7 @@ "features": { "ghcr.io/devcontainers-contrib/features/ffmpeg-apt-get:1": {} }, - "postCreateCommand": "sudo apt-get update && sudo apt-get install -y libturbojpeg0 libpcap-dev && pip install -r requirements_dev.txt && pre-commit install && pre-commit install-hooks", + "postCreateCommand": "sudo apt-get update && sudo apt-get install -y libturbojpeg0 libpcap-dev && pip install -r dev-requirements.txt && pre-commit install && pre-commit install-hooks", "containerEnv": { "DEVCONTAINER": "1" }, diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 9e94386..4687561 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -22,8 +22,8 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install pytest - pip install -r requirements_dev.txt - pip install -r requirements_test.txt + pip install -r dev-requirements.txt + pip install -r test-requirements.txt - name: Test with pytest run: | pytest tests/ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 396ac02..6c7a327 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -7,8 +7,8 @@ Environment setup: ``` $ python3 -m venv venv $ source venv/bin/activate -$ pip3 install -r requirements_dev.txt -$ pip3 install -r requirements_test.txt +$ pip3 install -r dev-requirements.txt +$ pip3 install -r test-requirements.txt ``` Run tests: diff --git a/requirements_dev.txt b/dev-requirements.txt similarity index 100% rename from requirements_dev.txt rename to dev-requirements.txt diff --git a/requirements_test.txt b/test-requirements.txt similarity index 82% rename from requirements_test.txt rename to test-requirements.txt index b4e75df..ed60ae6 100644 --- a/requirements_test.txt +++ b/test-requirements.txt @@ -1,4 +1,4 @@ --r requirements_dev.txt +-r dev-requirements.txt pytest==7.4.3 pytest-socket==0.6.0