diff options
author | Matthieu Coudron <mcoudron@hotmail.com> | 2022-02-17 11:51:16 +0100 |
---|---|---|
committer | Matthieu Coudron <mcoudron@hotmail.com> | 2022-02-17 11:51:16 +0100 |
commit | 9d9b5b321e914543def772e595d78cdfdbb61568 (patch) | |
tree | 27017a22100c452f1579414a3d030203bd109b03 /maintainers | |
parent | 48d63e924a2666baf37f4f14a18f19347fbd54a2 (diff) |
vim/update.py: add dummy nixpkgs_repo to shutdown pyright warnings
Diffstat (limited to 'maintainers')
-rw-r--r-- | maintainers/scripts/pluginupdate.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/maintainers/scripts/pluginupdate.py b/maintainers/scripts/pluginupdate.py index de85b88da3fd1..82116d40177c6 100644 --- a/maintainers/scripts/pluginupdate.py +++ b/maintainers/scripts/pluginupdate.py @@ -634,6 +634,7 @@ def update_plugins(editor: Editor, args): autocommit = not args.no_commit + nixpkgs_repo = None if autocommit: nixpkgs_repo = git.Repo(editor.root, search_parent_directories=True) commit(nixpkgs_repo, f"{editor.attr_path}: update", [args.outfile]) |