[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2023-07-01 22:07:54 +00:00
parent b0a92506b2
commit 1066aa9307
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ class YamlFile(pytest.File):
# We need a yaml parser, e.g. PyYAML. # We need a yaml parser, e.g. PyYAML.
import yaml import yaml
raw = yaml.safe_load(self.path.open(encoding='utf-8')) raw = yaml.safe_load(self.path.open(encoding="utf-8"))
for name, spec in sorted(raw.items()): for name, spec in sorted(raw.items()):
yield YamlItem.from_parent(self, name=name, spec=spec) yield YamlItem.from_parent(self, name=name, spec=spec)