drop python3.6 support

python 3.6 reached end of life on 2021-12-23

Committed via https://github.com/asottile/all-repos
This commit is contained in:
Anthony Sottile 2022-01-15 19:24:05 -05:00
parent 2aef4c777f
commit 8f6152921e
76 changed files with 229 additions and 145 deletions

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import shutil
import pytest

View file

@ -1,3 +1,5 @@
from __future__ import annotations
from pre_commit_hooks.check_ast import main
from testing.util import get_resource_path

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import ast
import pytest

View file

@ -1,3 +1,5 @@
from __future__ import annotations
from pre_commit_hooks import check_byte_order_marker

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import sys
import pytest

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import pytest
from pre_commit_hooks.check_docstring_first import check_docstring_first

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import os
import sys

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import pytest
from pre_commit_hooks.check_json import main

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import os
import shutil

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import os
import pytest

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import os
import pytest

View file

@ -1,3 +1,5 @@
from __future__ import annotations
from pre_commit_hooks.check_toml import main

View file

@ -1,3 +1,5 @@
from __future__ import annotations
from pre_commit_hooks.check_vcs_permalinks import main

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import pytest
from pre_commit_hooks.check_xml import main

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import pytest
from pre_commit_hooks.check_yaml import main

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import pytest
from pre_commit_hooks.util import cmd_output

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import ast
from pre_commit_hooks.debug_statement_hook import Debug

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import os
import subprocess

View file

@ -1,3 +1,5 @@
from __future__ import annotations
from unittest.mock import patch
import pytest

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import pytest
from pre_commit_hooks.detect_private_key import main

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import io
import pytest

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import pytest
from pre_commit_hooks.file_contents_sorter import FAIL

View file

@ -1,3 +1,5 @@
from __future__ import annotations
from pre_commit_hooks import fix_byte_order_marker

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import io
import pytest

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import os
import subprocess
from unittest import mock

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import pytest
from pre_commit_hooks.mixed_line_ending import main

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import pytest
from pre_commit_hooks.no_commit_to_branch import is_on_branch

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import os
import shutil

View file

@ -1,3 +1,5 @@
from __future__ import annotations
from pre_commit_hooks.check_yaml import yaml

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import pytest
from pre_commit_hooks.removed import main

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import pytest
from pre_commit_hooks.requirements_txt_fixer import FAIL

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import os
import pytest

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import textwrap
import pytest

View file

@ -1,3 +1,5 @@
from __future__ import annotations
from pre_commit_hooks.tests_should_end_in_test import main

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import pytest
from pre_commit_hooks.trailing_whitespace_fixer import main

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import pytest
from pre_commit_hooks.util import CalledProcessError