diff --git a/src/pre_commit_vauxoo/cfg/.pre-commit-config-autofix.yaml b/src/pre_commit_vauxoo/cfg/.pre-commit-config-autofix.yaml index 1e3c34c..61ab5d2 100644 --- a/src/pre_commit_vauxoo/cfg/.pre-commit-config-autofix.yaml +++ b/src/pre_commit_vauxoo/cfg/.pre-commit-config-autofix.yaml @@ -30,7 +30,7 @@ default_language_version: node: "14.13.0" repos: - repo: https://github.com/psf/black-pre-commit-mirror.git - rev: 22.10.0 + rev: 23.12.1 hooks: - id: black - repo: https://github.com/myint/autoflake diff --git a/tests/test_pre_commit_vauxoo.py b/tests/test_pre_commit_vauxoo.py index e284313..f3fe6a9 100644 --- a/tests/test_pre_commit_vauxoo.py +++ b/tests/test_pre_commit_vauxoo.py @@ -26,7 +26,7 @@ def setUp(self): super().setUp() self.old_environ = os.environ.copy() self.original_work_dir = os.getcwd() - self.tmp_dir = tempfile.mkdtemp(suffix="_pre_commit_vauxoo") + self.tmp_dir = os.path.realpath(tempfile.mkdtemp(suffix="_pre_commit_vauxoo")) os.chdir(self.tmp_dir) self.runner = CliRunner() src_path = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), "resources")