Compare commits

7 Commits

Author SHA1 Message Date
39c3fc0342 install types / be non interactive
Some checks failed
Flake8 / build (3.11) (push) Successful in 8s
Pylint / build (3.11) (push) Failing after 15s
Mypy / build (3.11) (push) Failing after 39s
2025-03-14 12:22:51 +01:00
221a7c2de2 Add pylint/mypy
Some checks failed
Flake8 / build (3.11) (push) Successful in 7s
Mypy / build (3.11) (push) Failing after 38s
Pylint / build (3.11) (push) Failing after 17s
2025-03-14 12:12:28 +01:00
5c8cd6c00f Ah, I need to checkout stuff
All checks were successful
Flake8 / build (3.11) (push) Successful in 7s
2025-03-14 12:07:00 +01:00
ae3c846a39 if it is not a git repo, what is it then?
All checks were successful
Flake8 / build (3.11) (push) Successful in 2s
2025-03-14 12:01:55 +01:00
5291140caf without :host then?
All checks were successful
Flake8 / build (3.11) (push) Successful in 1s
2025-03-14 11:54:28 +01:00
ee66b64cd8 Try to run on the host directly
Some checks failed
Flake8 / build (3.11) (push) Has been cancelled
2025-03-14 11:38:50 +01:00
7f7d398e5c Remind me that I need to do stuff with uv
Some checks failed
Flake8 / build (3.11) (push) Failing after 1s
2025-03-14 11:35:05 +01:00
3 changed files with 38 additions and 0 deletions

View File

@ -2,12 +2,16 @@
name: Flake8
on: [push]
# XXX need to do stuff with uv
jobs:
build:
runs-on: freebsd
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v4
- name: Analyse code with Flake8
run: |
flake8 $(git ls-files '*.py')

17
.gitea/workflows/mypy.yml Normal file
View File

@ -0,0 +1,17 @@
---
name: Mypy
on: [push]
# XXX need to do stuff with uv
jobs:
build:
runs-on: freebsd
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v4
- name: Analyse code with Mypy
run: |
mypy --install-types --non-interactive $(git ls-files '*.py')

View File

@ -0,0 +1,17 @@
---
name: Pylint
on: [push]
# XXX need to do stuff with uv
jobs:
build:
runs-on: freebsd
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v4
- name: Analyse code with Pylint
run: |
pylint $(git ls-files '*.py')