mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 04:23:46 +00:00
ruff: Fix UP006 Use list instead of List for type annotation.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
c2214b3904
commit
e08a24e47f
@@ -6,7 +6,6 @@ import re
|
||||
import subprocess
|
||||
import sys
|
||||
import tempfile
|
||||
from typing import List
|
||||
|
||||
import yaml
|
||||
|
||||
@@ -64,7 +63,7 @@ puppet_env["FACTER_zulip_conf_path"] = args.config
|
||||
puppet_env["FACTER_zulip_scripts_path"] = scripts_path
|
||||
|
||||
|
||||
def noop_would_change(puppet_cmd: List[str]) -> bool:
|
||||
def noop_would_change(puppet_cmd: list[str]) -> bool:
|
||||
# --noop does not work with --detailed-exitcodes; see
|
||||
# https://tickets.puppetlabs.com/browse/PUP-686
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user