mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-15 14:15:55 -06:00
chore(pylintrc): update pylint settings
Signed-off-by: Xuehai Pan <XuehaiPan@pku.edu.cn>
This commit is contained in:
parent
4aec63f130
commit
afe33211a7
8 changed files with 473 additions and 317 deletions
3
.github/workflows/build.yaml
vendored
3
.github/workflows/build.yaml
vendored
|
|
@ -71,7 +71,8 @@ jobs:
|
|||
python -m venv venv &&
|
||||
(
|
||||
source venv/bin/activate &&
|
||||
python -m pip install --upgrade pip setuptools pre-commit pylint &&
|
||||
python -m pip install --upgrade pip setuptools pre-commit pylint[spelling] \
|
||||
--constraint .github/workflows/constraints.txt &&
|
||||
python -m pip install -r requirements.txt &&
|
||||
python -m pre_commit install --install-hooks &&
|
||||
python -m pre_commit run --all-files
|
||||
|
|
|
|||
1
.github/workflows/constraints.txt
vendored
Normal file
1
.github/workflows/constraints.txt
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
pylint >= 2.15.0, != 2.15.6, != 2.15.7
|
||||
18
.github/workflows/lint.yaml
vendored
18
.github/workflows/lint.yaml
vendored
|
|
@ -51,22 +51,8 @@ jobs:
|
|||
|
||||
- name: Install linters
|
||||
run: |
|
||||
python -m pip install --upgrade black isort pylint pre-commit
|
||||
|
||||
- name: isort
|
||||
run: |
|
||||
python -m isort --version
|
||||
python -m isort --check nvitop
|
||||
|
||||
- name: black
|
||||
run: |
|
||||
python -m black --version
|
||||
python -m black --check nvitop
|
||||
|
||||
- name: pylint
|
||||
run: |
|
||||
python -m pylint --version
|
||||
python -m pylint nvitop
|
||||
python -m pip install --upgrade pre-commit pylint[spelling] \
|
||||
--constraint .github/workflows/constraints.txt
|
||||
|
||||
- name: pre-commit
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue