Remove all remaining from __future__ imports.

This commit is contained in:
rht 2020-04-03 05:17:01 -04:00 committed by showell
parent 204871b518
commit 4600ce59a3
12 changed files with 0 additions and 25 deletions

View file

@ -1,6 +1,3 @@
from __future__ import print_function
from __future__ import absolute_import
from typing import Any, Dict, List, Tuple from typing import Any, Dict, List, Tuple
from zulint.custom_rules import RuleList from zulint.custom_rules import RuleList

View file

@ -1,7 +1,5 @@
#! /usr/bin/env python3 #! /usr/bin/env python3
from __future__ import print_function
from __future__ import absolute_import
import argparse import argparse
from zulint.command import add_default_linter_arguments, LinterConfig from zulint.command import add_default_linter_arguments, LinterConfig

View file

@ -1,9 +1,6 @@
# This file has been copied and modified from the Zulip server repository # This file has been copied and modified from the Zulip server repository
# Original path: zulip/tools/linter_lib/pep8.py # Original path: zulip/tools/linter_lib/pep8.py
from __future__ import print_function
from __future__ import absolute_import
import subprocess import subprocess
import sys import sys

View file

@ -1,6 +1,5 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from __future__ import print_function
from contextlib import contextmanager from contextlib import contextmanager
import os import os
import argparse import argparse

View file

@ -1,6 +1,5 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from __future__ import print_function
import subprocess import subprocess
import sys import sys

View file

@ -1,8 +1,5 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from __future__ import absolute_import
from __future__ import print_function
import os import os
import sys import sys
import argparse import argparse

View file

@ -1,7 +1,6 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from __future__ import print_function
if False: if False:
from typing import Any, Dict, Generator, List, Tuple from typing import Any, Dict, Generator, List, Tuple

View file

@ -1,5 +1,3 @@
from __future__ import absolute_import
import argparse import argparse
import os import os
import six import six

View file

@ -1,8 +1,5 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from __future__ import print_function
from __future__ import absolute_import
from __future__ import division
import json import json
import requests import requests
import time import time

View file

@ -1,8 +1,6 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from __future__ import print_function
import os import os
import sys import sys
import glob import glob

View file

@ -1,7 +1,5 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from __future__ import absolute_import
import argparse import argparse
import logging import logging
import os import os

View file

@ -1,8 +1,6 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from __future__ import print_function
import sys import sys
if False: if False:
from typing import Any, Dict, Optional from typing import Any, Dict, Optional