mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-15 14:15:55 -06:00
[PR #27] [MERGED] feat(pyproject): migrate to pyproject.toml for packaging #126
Labels
No labels
api
bug
bug
cli / tui
dependencies
documentation
documentation
documentation
duplicate
enhancement
exporter
invalid
pull-request
pynvml
question
question
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/nvitop#126
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/XuehaiPan/nvitop/pull/27
Author: @XuehaiPan
Created: 7/18/2022
Status: ✅ Merged
Merged: 7/18/2022
Merged by: @XuehaiPan
Base:
main← Head:packaging📝 Commits (5)
88510c6style(core): resolve pylint warningsfd7eddafeat(pyproject): migrate to pyproject.toml for packagingc80d4c8style: format with black497fc70feat(pre-commit): add pre-commit hooksec17855feat(workflow): run linters in GitHub Actions📊 Changes
39 files changed (+1970 additions, -971 deletions)
View changed files
➕
.github/workflows/lint.yaml(+56 -0)➕
.pre-commit-config.yaml(+29 -0)📝
README.md(+4 -4)📝
docs/source/conf.py(+5 -8)📝
nvitop/callbacks/keras.py(+18 -10)📝
nvitop/callbacks/pytorch_lightning.py(+23 -13)📝
nvitop/callbacks/tensorboard.py(+3 -3)📝
nvitop/callbacks/utils.py(+9 -7)📝
nvitop/cli.py(+210 -82)📝
nvitop/core/__init__.py(+20 -8)📝
nvitop/core/collector.py(+42 -41)📝
nvitop/core/device.py(+261 -139)📝
nvitop/core/host.py(+12 -5)📝
nvitop/core/libnvml.py(+96 -69)📝
nvitop/core/process.py(+108 -78)📝
nvitop/core/utils.py(+19 -9)📝
nvitop/gui/__init__.py(+9 -2)📝
nvitop/gui/library/__init__.py(+24 -8)📝
nvitop/gui/library/device.py(+70 -45)📝
nvitop/gui/library/history.py(+56 -20)...and 19 more files
📄 Description
Issue Type
Runtime Environment
3.9.13470.129.06nvitopversion or commit:main@0a9048python-ml-pyversion:11.450.51en_US.UTF-8Description
pyproject.tomlfor packaging PEP 518blackpre-commithooksMotivation and Context
Improve code quality.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.