mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-06 03:56:54 +00:00
10 lines
253 B
Python
10 lines
253 B
Python
from __future__ import annotations
|
|
|
|
|
|
def aix_platform(osname, version, release):
|
|
try:
|
|
import _aix_support
|
|
return _aix_support.aix_platform()
|
|
except ImportError:
|
|
pass
|
|
return '{}-{}.{}'.format(osname, version, release)
|