Skip to content

Commit 26db5a8

Browse files
author
Thomas Phipps
committed
Merge branch 'black-upgrade' into 'master'
Fix pre-commit by upgrading Black and Python versions used by Nox Closes #54 See merge request saltstack/open/docs/salt-user-guide!80
2 parents 93e0f66 + 4a27954 commit 26db5a8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ repos:
3535
description: isort is a Python utility / library to sort imports automatically.
3636
files: ^((noxfile|conf)|docs/_includes/python/.*)\.py$
3737
- repo: https://github.com/psf/black
38-
rev: 21.8b0
38+
rev: 22.3.0
3939
hooks:
4040
- id: black
4141
description: Forces best practice formatting of Python code files.

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# Global Path Definitions
3030
REPO_ROOT = os.path.abspath(os.path.dirname(__file__))
3131
# Python versions to run against
32-
_PYTHON_VERSIONS = ("3", "3.6", "3.7", "3.8", "3.9")
32+
_PYTHON_VERSIONS = ("3.7", "3.8", "3.9")
3333

3434
# Nox options
3535
# Reuse existing virtualenvs

0 commit comments

Comments
 (0)