chore(pyproject.toml): enable PEP-639

This commit is contained in:
Xuehai Pan 2025-03-15 22:40:28 +08:00
parent a39cf70ee7
commit 669f7b32c6
5 changed files with 4 additions and 9 deletions

View file

@ -8,7 +8,7 @@ description = "An interactive NVIDIA-GPU process viewer and beyond, the one-stop
readme = "README.md"
requires-python = ">= 3.8"
authors = [{ name = "Xuehai Pan", email = "XuehaiPan@pku.edu.cn" }]
license = { text = "Apache License, Version 2.0 (Apache-2.0) & GNU General Public License, Version 3 (GPL-3.0)" }
license = { text = "Apache-2.0 AND GPL-3.0-only" }
keywords = [
"nvidia",
"nvidia-smi",
@ -68,7 +68,7 @@ include = ["nvitop", "nvitop.*"]
[tool.mypy]
# Sync with requires-python
python_version = "3.8" # appease mypy for syntax errors in numpy stubs
python_version = "3.8"
mypy_path = [".", "nvitop-exporter"]
exclude = ["nvitop-exporter/setup.py"]
pretty = true