Skip to content

Commit

Permalink
[IMP] cfg: update black version
Browse files Browse the repository at this point in the history
Black has been updated to its latest version. Biggest
change involves black removing whitespaces after class/method
declarations.

BREAKING CHANGE: black may generate diffs on projects
  • Loading branch information
antonag32 committed Jan 3, 2024
1 parent 857a0f4 commit 076f076
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pre_commit_vauxoo/cfg/.pre-commit-config-autofix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion tests/test_pre_commit_vauxoo.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import logging
import os
import platform
import posixpath
import re
import shutil
Expand All @@ -26,7 +27,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")
Expand Down

0 comments on commit 076f076

Please sign in to comment.