ci: update pre-commit to run docs generation when committing.

This commit is contained in:
Upstream Data
2025-01-28 08:51:13 -07:00
parent 4c64481d3b
commit a24fc07c2a
4 changed files with 32 additions and 8 deletions

View File

@@ -2,6 +2,7 @@ ci:
skip:
- poetry-lock
- unittest
- generate-docs
repos:
- repo: https://github.com/python-poetry/poetry
rev: 2.0.1
@@ -37,6 +38,12 @@ repos:
name: unittest
entry: python -m unittest discover
language: system
'types': [python]
types: [ python ]
args: ["-p '*test.py'"] # Probably this option is absolutely not needed.
pass_filenames: false
- id: generate-docs
name: generate-docs
entry: python docs/generate_miners.py
language: system
types: [ python ]
pass_filenames: false