drop python 3.6 support

python 3.6 reached end of life on 2021-12-23
This commit is contained in:
Anthony Sottile 2022-01-18 17:36:17 -05:00
parent d3bdf1403d
commit 04de6a2e57
111 changed files with 401 additions and 286 deletions

View file

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

View file

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

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import os
import pre_commit.constants as C

View file

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

View file

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

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import os.path
import re

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import pre_commit.constants as C
from pre_commit.commands.migrate_config import migrate_config

View file

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

View file

@ -1,3 +1,5 @@
from __future__ import annotations
from pre_commit.commands.sample_config import sample_config

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import os.path
import re
import time