diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 383e65c..8be26b6 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,10 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - python -m pip install --upgrade pip - pip install pylint + sudo apt install -y libsystemd-dev + 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 diff --git a/startup.py b/startup.py index 75205fe..ec92586 100755 --- a/startup.py +++ b/startup.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# pylint: disable=line-too-long """ A smart but also lazy login autostart manager for i3/Sway.