mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-15 14:15:55 -06:00
chore(pre-commit): update pre-commit hooks
This commit is contained in:
parent
7ebf9056fb
commit
7c74e02eb0
8 changed files with 45 additions and 27 deletions
|
|
@ -164,19 +164,20 @@ ignore = [
|
|||
|
||||
[tool.ruff.per-file-ignores]
|
||||
"__init__.py" = [
|
||||
"F401", # unused-import
|
||||
"F401", # unused-import
|
||||
]
|
||||
"setup.py" = [
|
||||
"ANN", # flake8-annotations
|
||||
"ANN", # flake8-annotations
|
||||
]
|
||||
"nvitop/api/lib*.py" = [
|
||||
"N", # pep8-naming
|
||||
"N", # pep8-naming
|
||||
]
|
||||
"nvitop/callbacks/*.py" = [
|
||||
"ANN", # flake8-annotations
|
||||
"ANN", # flake8-annotations
|
||||
]
|
||||
"nvitop/gui/**/*.py" = [
|
||||
"ANN", # flake8-annotations
|
||||
"ANN", # flake8-annotations
|
||||
"RUF012", # mutable-class-default
|
||||
]
|
||||
|
||||
[tool.ruff.flake8-annotations]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue