diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b57316d..9f09d2e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ repos: hooks: - id: flake8 - repo: https://github.com/asottile/reorder_python_imports - rev: v2.7.1 + rev: v3.0.1 hooks: - id: reorder-python-imports args: ['--py3-plus'] @@ -32,12 +32,12 @@ repos: hooks: - id: remove-tabs - repo: https://github.com/asottile/pyupgrade - rev: v2.31.0 + rev: v2.31.1 hooks: - id: pyupgrade args: ['--py3-plus'] - repo: https://github.com/asottile/add-trailing-comma - rev: v2.2.1 + rev: v2.2.2 hooks: - id: add-trailing-comma args: ['--py36-plus'] diff --git a/setup.py b/setup.py index 0cb322d..44de54a 100644 --- a/setup.py +++ b/setup.py @@ -1,9 +1,9 @@ import os.path import subprocess import tempfile + from distutils.command.build import build as orig_build from distutils.core import Command - from setuptools import Distribution from setuptools import Extension from setuptools import setup