ansible-later/env_27/lib/python2.7/site-packages/flake8_polyfill/version.py
Robert Kaussow 10aaa8e7e3 fix pytest
2019-04-11 15:56:20 +02:00

10 lines
249 B
Python

"""Version information for Flake8 2.x and 3.x."""
import flake8
version_info = getattr(flake8, '__version_info__', None)
if version_info is None:
version_info = tuple(
int(i) for i in flake8.__version__.split('.') if i.isdigit()
)