chore(deps): bump setuptools from 70.0.0 to 78.1.1 #104
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | name: Python Linting | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-20.04 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python 3.9 | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: 3.9 | |
| - name: Install apt dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libdbus-1-3 network-manager python3-gi libdbus-1-dev python3-gi-cairo gir1.2-gtk-3.0 dbus libusb-dev libdbus-1-dev libglib2.0-dev libudev-dev libical-dev libreadline-dev libgirepository1.0-dev python3-cairo-dev libcairo2 libcairo2-dev | |
| - name: Install poetry | |
| uses: abatilo/actions-poetry@v2 | |
| with: | |
| poetry-version: 1.4.2 | |
| - name: Install dependencies | |
| run: | | |
| poetry install --with dev | |
| - name: Lint with ruff | |
| run: | | |
| poetry run ruff check gatewayconfig | |
| poetry run ruff check lib |