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
pre-commit install
- name: Linting
run: |
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
run: pre-commit run --all-files
- name: Check docstring coverage
run: |
python -m pip install interrogate

View File

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