From 80e1619a4bde70a09faa6c4a5bcf9c9376b7d606 Mon Sep 17 00:00:00 2001 From: Alixe Langshall Date: Tue, 7 May 2024 20:51:12 -0700 Subject: [PATCH] fixup! move requirements for linting to requirements.txt --- .github/workflows/pynblint.yml | 5 ++--- requirements.txt | 2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 requirements.txt diff --git a/.github/workflows/pynblint.yml b/.github/workflows/pynblint.yml index 0e70c59..b688a9a 100644 --- a/.github/workflows/pynblint.yml +++ b/.github/workflows/pynblint.yml @@ -20,9 +20,8 @@ jobs: with: python-version: '3.9' cache: 'pip' # caching pip dependencies - # Install pynblint + - name: Install Dependencies - run: pip install pynblint - pip install lxml[html_clean] + run: pip install -r requirements.txt - name: Linter Output run: pynblint -y $GITHUB_WORKSPACE diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..550c9dd --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +pynblint +lxml[html_clean] \ No newline at end of file