Skip to content

Commit 5a4f1d5

Browse files
committed
feat(exporter): add exporter and prometheus extras for nvitop PyPI package
1 parent 07c4819 commit 5a4f1d5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ x-soft-wrap-text = true
2424
indent_size = 4
2525
x-soft-wrap-text = true
2626

27-
[{*.,}{Dockerfile,dockerfile}{*.,}]
27+
[Dockerfile,{*.,}dockerfile{*.,}]
2828
indent_size = 2
2929

3030
[Makefile]

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ def vcs_version(name: str, path: Path | str) -> Generator[ModuleType]:
7373

7474
if __name__ == '__main__':
7575
extra_requirements = {
76+
'exporter': ['nvitop-exporter'],
77+
'prometheus': ['nvitop-exporter'],
7678
'lint': [
7779
'ruff',
7880
'pylint[spelling]',

0 commit comments

Comments
 (0)