From da289113e1a162a3b36d9d87e629d93ea825efc9 Mon Sep 17 00:00:00 2001 From: Kirill Morozov Date: Mon, 13 May 2024 15:32:50 +0300 Subject: [PATCH] feat: add pycodestyle dependency (#70) * feat: add pycodestyle dependency * feat workflow: install pycodestyle via pip --- .github/workflows/ci.yml | 4 ++-- requirements.txt | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 requirements.txt diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3e46e7c..8074639 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,7 +46,8 @@ jobs: run: | (cd third_party && git clone -b develop --single-branch --depth 1 https://github.com/userver-framework/userver.git) sudo apt update - sudo apt install --allow-downgrades -y pycodestyle $(cat third_party/userver/scripts/docs/en/deps/${{matrix.os}}.md | tr '\n' ' ') + sudo apt install --allow-downgrades -y $(cat third_party/userver/scripts/docs/en/deps/${{matrix.os}}.md | tr '\n' ' ') + pip install -r requirements.txt - name: Setup ccache run: | @@ -80,4 +81,3 @@ jobs: if: matrix.make == 'test-release' run: | killall service_template - diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..282a93f --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +pycodestyle