diff options
| author | Henry Schreiner <HenrySchreinerIII@gmail.com> | 2021-12-30 14:45:46 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-30 21:45:46 +0200 |
| commit | ad2951260b491fbe9f4b45cdd94bbdeec20962fe (patch) | |
| tree | 0bf45e535b88265e91373e58f3c14896e4f860f9 /tests/testdata | |
| parent | 64009ede21bd77d24469830ac709361361aaaebe (diff) | |
| download | wheel-git-ad2951260b491fbe9f4b45cdd94bbdeec20962fe.tar.gz | |
Added pyupgrade and flake8-bugbear to pre-commit config (#432)
Added pyupgrade and flake8-bugbear to pre-commit configuration. Converted all code to py37+ syntax. Reformatted the pre-commit configuration file.
Diffstat (limited to 'tests/testdata')
| -rw-r--r-- | tests/testdata/abi3extension.dist/setup.py | 2 | ||||
| -rw-r--r-- | tests/testdata/commasinfilenames.dist/setup.py | 2 | ||||
| -rw-r--r-- | tests/testdata/complex-dist/complexdist/__init__.py | 3 | ||||
| -rw-r--r-- | tests/testdata/complex-dist/setup.py | 2 | ||||
| -rw-r--r-- | tests/testdata/extension.dist/setup.py | 2 | ||||
| -rw-r--r-- | tests/testdata/headers.dist/setup.py | 2 | ||||
| -rw-r--r-- | tests/testdata/simple.dist/setup.py | 2 | ||||
| -rw-r--r-- | tests/testdata/unicode.dist/setup.py | 2 |
8 files changed, 17 insertions, 0 deletions
diff --git a/tests/testdata/abi3extension.dist/setup.py b/tests/testdata/abi3extension.dist/setup.py index 7b1b0fa..5962bd1 100644 --- a/tests/testdata/abi3extension.dist/setup.py +++ b/tests/testdata/abi3extension.dist/setup.py @@ -1,3 +1,5 @@ +from __future__ import annotations + from setuptools import Extension, setup setup( diff --git a/tests/testdata/commasinfilenames.dist/setup.py b/tests/testdata/commasinfilenames.dist/setup.py index b24e0cb..a2783a3 100644 --- a/tests/testdata/commasinfilenames.dist/setup.py +++ b/tests/testdata/commasinfilenames.dist/setup.py @@ -1,3 +1,5 @@ +from __future__ import annotations + from setuptools import setup setup( diff --git a/tests/testdata/complex-dist/complexdist/__init__.py b/tests/testdata/complex-dist/complexdist/__init__.py index 559fbb7..88aa7b7 100644 --- a/tests/testdata/complex-dist/complexdist/__init__.py +++ b/tests/testdata/complex-dist/complexdist/__init__.py @@ -1,2 +1,5 @@ +from __future__ import annotations + + def main(): return diff --git a/tests/testdata/complex-dist/setup.py b/tests/testdata/complex-dist/setup.py index 70d85df..e0439d9 100644 --- a/tests/testdata/complex-dist/setup.py +++ b/tests/testdata/complex-dist/setup.py @@ -1,3 +1,5 @@ +from __future__ import annotations + from setuptools import setup setup( diff --git a/tests/testdata/extension.dist/setup.py b/tests/testdata/extension.dist/setup.py index cf9ef72..9a6eed8 100644 --- a/tests/testdata/extension.dist/setup.py +++ b/tests/testdata/extension.dist/setup.py @@ -1,3 +1,5 @@ +from __future__ import annotations + from setuptools import Extension, setup setup( diff --git a/tests/testdata/headers.dist/setup.py b/tests/testdata/headers.dist/setup.py index d9d8adb..6cf9b46 100644 --- a/tests/testdata/headers.dist/setup.py +++ b/tests/testdata/headers.dist/setup.py @@ -1,3 +1,5 @@ +from __future__ import annotations + from setuptools import setup setup( diff --git a/tests/testdata/simple.dist/setup.py b/tests/testdata/simple.dist/setup.py index 3c7da87..1e7a78a 100644 --- a/tests/testdata/simple.dist/setup.py +++ b/tests/testdata/simple.dist/setup.py @@ -1,3 +1,5 @@ +from __future__ import annotations + from setuptools import setup setup( diff --git a/tests/testdata/unicode.dist/setup.py b/tests/testdata/unicode.dist/setup.py index 606f42a..89c4be1 100644 --- a/tests/testdata/unicode.dist/setup.py +++ b/tests/testdata/unicode.dist/setup.py @@ -1,3 +1,5 @@ +from __future__ import annotations + from setuptools import setup setup( |
