diff --git a/.github/workflows/test-security.yml b/.github/workflows/test-security.yml index 581429b4c..72f926310 100644 --- a/.github/workflows/test-security.yml +++ b/.github/workflows/test-security.yml @@ -31,7 +31,7 @@ jobs: run: pip install -r requirements-test.txt - name: Check Python dependency security - run: safety check -r requirements.txt -r requirements-dev.txt -r requirements-test.txt -r requirements-build.txt -r requirements-license.txt -o bare + run: safety check -r requirements.txt -r requirements-test.txt -r requirements-build.txt -r requirements-license.txt -o bare - name: Notify Discord of security testing result uses: sarisia/actions-status-discord@v1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 47784d821..085f1bbcd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,13 +40,11 @@ jobs: - name: Check dependency lists run: | poetry export --without-hashes -o requirements.txt.check - poetry export --without-hashes --with dev -o requirements-dev.txt.check poetry export --without-hashes --with test -o requirements-test.txt.check poetry export --without-hashes --with build -o requirements-build.txt.check poetry export --without-hashes --with license -o requirements-license.txt.check diff -q requirements.txt requirements.txt.check || \ - diff -q requirements-dev.txt requirements-dev.txt.check || \ diff -q requirements-test.txt requirements-test.txt.check || \ diff -q requirements-build.txt requirements-build.txt.check || \ diff -q requirements-license.txt requirements-license.txt.check > /dev/null diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d53860eaf..c1e5784f7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,12 +22,6 @@ repos: language: python stages: [push] pass_filenames: false - - id: poetry-export-dev - name: poetry-export-dev - entry: poetry export --without-hashes --with dev -o requirements-dev.txt - language: python - stages: [push] - pass_filenames: false - id: poetry-export-test name: poetry-export-test entry: poetry export --without-hashes --with test -o requirements-test.txt diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b795696bd..855354b11 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -40,7 +40,7 @@ cd ./voicevox_engine git switch -c "" # 実行・開発・テスト環境のインストール -python -m pip install -r requirements.txt -r requirements-dev.txt -r requirements-test.txt -r requirements-build.txt +python -m pip install -r requirements.txt -r requirements-test.txt -r requirements-build.txt ```