This commit is contained in:
xiexinch 2022-11-15 15:58:24 +08:00
parent 7927591a22
commit 921fdde032
2 changed files with 2 additions and 6 deletions

View File

@ -20,11 +20,7 @@ jobs:
python -m pip install pre-commit python -m pip install pre-commit
pre-commit install pre-commit install
- name: Linting - name: Linting
run: | run: pre-commit run --all-files
sudo apt-add-repository ppa:brightbox/ruby-ng -y
sudo apt-get update
sudo apt-get install -y ruby2.7
pre-commit run --all-files
- name: Check docstring coverage - name: Check docstring coverage
run: | run: |
python -m pip install interrogate python -m pip install interrogate

View File

@ -1,5 +1,5 @@
repos: repos:
- repo: https://gitlab.com/pycqa/flake8.git - repo: https://github.com/PyCQA/flake8
rev: 5.0.4 rev: 5.0.4
hooks: hooks:
- id: flake8 - id: flake8