mirror of
https://github.com/open-mmlab/mmsegmentation.git
synced 2025-06-03 22:03:48 +08:00
fix lint
This commit is contained in:
parent
7927591a22
commit
921fdde032
6
.github/workflows/lint.yml
vendored
6
.github/workflows/lint.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user