Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 2, 2021
1 parent 8d81006 commit c7c0f39
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
import os
import pathlib
import sys

from distutils.version import StrictVersion

from setuptools import Extension, setup
from setuptools import __version__ as setuptools_version
from setuptools import Extension, __version__ as setuptools_version, setup

if sys.version_info < (3, 7):
raise RuntimeError("aiohttp 4.x requires Python 3.7+")


if StrictVersion(setuptools_version) < StrictVersion('46.4.0'):
if StrictVersion(setuptools_version) < StrictVersion("46.4.0"):
raise RuntimeError("aiohttp 4.x requires setuptools 46.4.0+")


Expand Down

0 comments on commit c7c0f39

Please sign in to comment.