Skip to content

Commit 3fdd9de

Browse files
committed
fix pre-commit issues
1 parent c68c237 commit 3fdd9de

File tree

13 files changed

+3
-29
lines changed

13 files changed

+3
-29
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,11 @@ repos:
99
- id: double-quote-string-fixer
1010
- id: name-tests-test
1111
- id: requirements-txt-fixer
12-
- repo: https://github.com/asottile/setup-cfg-fmt
13-
rev: v1.20.0
14-
hooks:
15-
- id: setup-cfg-fmt
1612
- repo: https://github.com/asottile/reorder_python_imports
1713
rev: v3.0.1
1814
hooks:
1915
- id: reorder-python-imports
20-
args: [--py37-plus, --add-import, 'from __future__ import annotations']
16+
args: [--py36-plus]
2117
- repo: https://github.com/asottile/add-trailing-comma
2218
rev: v2.2.1
2319
hooks:
@@ -27,7 +23,7 @@ repos:
2723
rev: v2.31.1
2824
hooks:
2925
- id: pyupgrade
30-
args: [--py37-plus]
26+
args: [--py36-plus]
3127
- repo: https://github.com/pre-commit/mirrors-autopep8
3228
rev: v1.6.0
3329
hooks:
@@ -36,3 +32,4 @@ repos:
3632
rev: 4.0.1
3733
hooks:
3834
- id: flake8
35+
exclude: ^docs/conf.py

bin/build-manylinux-wheels

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ Run me after putting the source distribution on pypi.
55
66
See: https://www.python.org/dev/peps/pep-0513/
77
"""
8-
from __future__ import annotations
9-
108
import os
119
import pipes
1210
import subprocess

bin/download-windows-wheels

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
#!/usr/bin/env python3
2-
from __future__ import annotations
3-
42
import argparse
53
import io
64
import json

docs/conf.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
#
1010
# All configuration values have a default; values that are commented out
1111
# serve to show the default.
12-
from __future__ import annotations
13-
1412
import os
1513
import sys
1614
import warnings

pysassc.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@
8888
.. _SassC: https://github.com/sass/sassc
8989
9090
"""
91-
from __future__ import annotations
92-
9391
import functools
9492
import optparse
9593
import sys

sass.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
'a b {\n color: blue; }\n'
1111
1212
"""
13-
from __future__ import annotations
14-
1513
import collections.abc
1614
import inspect
1715
import os.path

sasstests.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
import base64
42
import collections.abc
53
import contextlib

sassutils/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@
55
which depends on libsass core (:mod:`sass` module).
66
77
"""
8-
from __future__ import annotations

sassutils/builder.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33
44
"""
5-
from __future__ import annotations
6-
75
import collections.abc
86
import os.path
97
import re

sassutils/distutils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@
6767
Added ``--output-style``/``-s`` option to :class:`build_sass` command.
6868
6969
"""
70-
from __future__ import annotations
71-
7270
import functools
7371
import os.path
7472

0 commit comments

Comments
 (0)