From 0420088fbfc24231abf5a69c232c73e7754016f5 Mon Sep 17 00:00:00 2001 From: Josh Lay Date: Sat, 14 Oct 2023 22:49:55 -0500 Subject: [PATCH] add requirements for linting --- .github/workflows/pylint.yml | 7 ++++--- requirements.txt | 4 ++++ 2 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 requirements.txt diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 383e65c..5ebdd1b 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10"] + python-version: ["3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} @@ -16,8 +16,9 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - python -m pip install --upgrade pip - pip install pylint + python3 -m pip install --upgrade pip + pip3 install -r requirements.txt + pip3 install pylint - name: Analysing the code with pylint run: | pylint $(git ls-files '*.py') diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..5d5cd85 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,4 @@ +i3ipc +xdg +systemd-python +PyYAML