ansible-later/env_27/lib/python2.7/site-packages/flake8_polyfill/version.py

10 lines
249 B
Python
Raw Normal View History

2019-04-11 13:56:20 +00:00
"""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()
)