Use plumbum.local instead of plumbum.cmd to make pylance happy

This commit is contained in:
Ayaz Salikhov
2022-03-20 14:21:50 +02:00
parent aa14e4498c
commit 961dc900e8
4 changed files with 11 additions and 4 deletions

View File

@@ -1,7 +1,9 @@
#!/usr/bin/env python3
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
from plumbum.cmd import git
import plumbum
git = plumbum.local["git"]
class GitHelper: