From e6d8c736d0bdb937e22e7aa590bb7dd7737b9245 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Sun, 3 Nov 2019 14:08:19 -0800 Subject: [PATCH] Documentation feedback: Don't hard-code Python 3.7 for Black. --- docs/how-to/develop-on-borgmatic.md | 2 ++ tox.ini | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/how-to/develop-on-borgmatic.md b/docs/how-to/develop-on-borgmatic.md index 9101c68b7..5a52352e6 100644 --- a/docs/how-to/develop-on-borgmatic.md +++ b/docs/how-to/develop-on-borgmatic.md @@ -62,6 +62,8 @@ following: tox -e black ``` +Note that Black requires at minimum Python 3.6. + And if you get a complaint from the [isort](https://github.com/timothycrosley/isort) Python import orderer, you can ask isort to order your imports for you: diff --git a/tox.ini b/tox.ini index 2d7097808..d84b4b0d6 100644 --- a/tox.ini +++ b/tox.ini @@ -19,7 +19,6 @@ commands = flake8 borgmatic tests [testenv:black] -basepython = python3.7 commands = black {posargs} .