Add pylint/mypy
This commit is contained in:
parent
5c8cd6c00f
commit
221a7c2de2
17
.gitea/workflows/mypy.yml
Normal file
17
.gitea/workflows/mypy.yml
Normal 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 $(git ls-files '*.py')
|
17
.gitea/workflows/pylint.yml
Normal file
17
.gitea/workflows/pylint.yml
Normal 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')
|
Loading…
x
Reference in New Issue
Block a user