Compare commits

...

2 Commits

Author SHA1 Message Date
8ec34cfbeb Ignore vim swapfiles
Some checks failed
Bandit / build (3.11) (push) Successful in 10s
Flake8 / build (3.11) (push) Successful in 9s
Mypy / build (3.11) (push) Failing after 4m30s
Pylint / build (3.11) (push) Successful in 28s
pip-audit / build (3.11) (pull_request) Failing after 12s
2026-03-13 22:26:15 +01:00
479f990044 add more linters 2026-03-13 22:25:24 +01:00
3 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,17 @@
---
name: Bandit
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 Bandit
run: |
bandit -r .

View File

@ -0,0 +1,23 @@
---
name: pip-audit
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '0 0 * * 0' # Weekly on Sunday
# XXX need to do stuff with uv
jobs:
build:
runs-on: freebsd
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v4
- name: Check vulnerable components with pip-audit
run: |
pip-audit .

2
.gitignore vendored
View File

@ -160,3 +160,5 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder. # option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/ #.idea/
# Vim swap files
*.sw?