diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b51fd593..23b5c206 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,14 +9,3 @@ repos: stages: [commit] - id: end-of-file-fixer stages: [commit] -- repo: https://github.com/pycqa/isort - rev: 5.13.2 - hooks: - - id: isort - stages: [commit] -- repo: https://github.com/psf/black - rev: 23.12.1 - hooks: - - id: black - language_version: python3 - stages: [commit] diff --git a/setup.py b/setup.py index c2f8753e..2dd58a23 100755 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ import sys """Setup script for the 'uncompyle6' distribution.""" SYS_VERSION = sys.version_info[0:2] -if not ((3, 0) <= SYS_VERSION < (3, 3)): +if not ((3, 3) <= SYS_VERSION < (3, 6)): mess = "Python Release 3.0 .. 3.2 are supported in this code branch." if (2, 4) <= SYS_VERSION <= (2, 7): mess += ( @@ -17,9 +17,9 @@ if not ((3, 0) <= SYS_VERSION < (3, 3)): "\nFor your Python, version %s, use the master code/branch." % sys.version[0:3] ) - if (3, 3) >= SYS_VERSION < (3, 6): + if (3, 0) >= SYS_VERSION < (3, 3): mess += ( - "\nFor your Python, version %s, use the python-3.3-to-3.5 code/branch." + "\nFor your Python, version %s, use the python-3.0-to-3.2 code/branch." % sys.version[0:3] ) elif SYS_VERSION < (2, 4):