~cedric/newspipe

ref: 43feb98eb7d3e860884ec0fa79c162a40ea1dfa1 newspipe/.builds/debian.yml -rw-r--r-- 711 bytes
43feb98eC├ędric Bonhomme improvements to the menu of feeds 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
image: debian/sid
sources:
  - https://git.sr.ht/~cedric/newspipe
packages:
  - python3
  - python3-dev
  - python3-pip
  - python3-venv
environment:
  project: newspipe
tasks:
  - dependencies: |
      pip3 install --user poetry
      export PATH="$PATH:/home/build/.local/bin"
      cd ${project}
      poetry install
  - lint: |
      export PATH="$PATH:/home/build/.local/bin"
      cd ${project}
      # stop the build if there are Python syntax errors or undefined names
      poetry run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
      # exit-zero treats all errors as warnings.
      poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics