X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/a66016cb949590863d11e329e65bbb383727125e..911b59fb4f39a612f0c9e5350b78d7b37f5ed491:/src/black/__init__.py diff --git a/src/black/__init__.py b/src/black/__init__.py index bdeb732..3a2d1cb 100644 --- a/src/black/__init__.py +++ b/src/black/__init__.py @@ -10,6 +10,7 @@ from multiprocessing import Manager, freeze_support import os from pathlib import Path from pathspec.patterns.gitwildmatch import GitWildMatchPatternError +import platform import re import signal import sys @@ -381,7 +382,10 @@ def validate_regex( ) @click.version_option( version=__version__, - message=f"%(prog)s, %(version)s (compiled: {'yes' if COMPILED else 'no'})", + message=( + f"%(prog)s, %(version)s (compiled: {'yes' if COMPILED else 'no'})\n" + f"Python ({platform.python_implementation()}) {platform.python_version()}" + ), ) @click.argument( "src",