X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/a66016cb949590863d11e329e65bbb383727125e..abdc31cd4fb6cf88339f8ade0adf9c5356a95aa3:/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",