Skip to content

Commit

Permalink
chore: auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 11, 2023
1 parent 3f249da commit 9098677
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ansiblelint/file_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
from typing import TYPE_CHECKING, Any, cast

import pathspec
from ansible.parsing.plugin_docs import read_docstring
import wcmatch.pathlib
import wcmatch.wcmatch
from ansible.parsing.plugin_docs import read_docstring
from yaml.error import YAMLError

from ansiblelint.config import BASE_KINDS, Options, options
Expand Down Expand Up @@ -269,7 +269,6 @@ def __init__(
self.path = Path(self.file.name)
self.base_kind = "text/yaml"


def __del__(self) -> None:
if hasattr(self, "file"):
self.file.close()
Expand Down

0 comments on commit 9098677

Please sign in to comment.