Commit graph

59 commits

Author SHA1 Message Date
Mike Miller
739780f826 Merge 6448788ddc into 78818b90cd 2017-06-08 08:44:21 +00:00
Anthony Sottile
78818b90cd v0.8.0 2017-06-06 14:26:36 -07:00
Mike Miller
6448788ddc Force setuptools < 36.0.0 to avoid simplejson/six error
With the latest setuptools, pre-commit run fails with the following

[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
An unexpected error has occurred: CalledProcessError: Command: ('/root/.pre-commit/repoDFpupm/py_env-default/bin/python2.7', u'/root/.pre-commit/repoDFpupm/py_env-default/bin/pip', 'install', '.')
Return code: 1
Expected return code: 0
Output:
    Processing /root/.pre-commit/repoDFpupm
    Collecting flake8!=2.5.3 (from pre-commit-hooks==0.7.1)
      Downloading flake8-3.3.0-py2.py3-none-any.whl (66kB)
    Collecting autopep8>=1.1 (from pre-commit-hooks==0.7.1)
      Downloading autopep8-1.3.2-py2.py3-none-any.whl (42kB)
    Collecting pyyaml (from pre-commit-hooks==0.7.1)
    Collecting simplejson (from pre-commit-hooks==0.7.1)
      Downloading simplejson-3.10.0.tar.gz (77kB)
    Collecting six (from pre-commit-hooks==0.7.1)
      Downloading six-1.10.0-py2.py3-none-any.whl
    Collecting enum34; python_version < "3.4" (from flake8!=2.5.3->pre-commit-hooks==0.7.1)
      Downloading enum34-1.1.6-py2-none-any.whl
    Collecting configparser; python_version < "3.2" (from flake8!=2.5.3->pre-commit-hooks==0.7.1)
      Downloading configparser-3.5.0.tar.gz
    Collecting pyflakes<1.6.0,>=1.5.0 (from flake8!=2.5.3->pre-commit-hooks==0.7.1)
      Downloading pyflakes-1.5.0-py2.py3-none-any.whl (225kB)
    Collecting mccabe<0.7.0,>=0.6.0 (from flake8!=2.5.3->pre-commit-hooks==0.7.1)
      Downloading mccabe-0.6.1-py2.py3-none-any.whl
    Collecting pycodestyle<2.4.0,>=2.0.0 (from flake8!=2.5.3->pre-commit-hooks==0.7.1)
      Downloading pycodestyle-2.3.1-py2.py3-none-any.whl (45kB)
    Building wheels for collected packages: simplejson, configparser
      Running setup.py bdist_wheel for simplejson: started
      Running setup.py bdist_wheel for simplejson: finished with status 'error'
      Complete output from command /root/.pre-commit/repoDFpupm/py_env-default/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-Kn9zYg/simplejson/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpjj9RY8pip-wheel- --python-tag cp27:
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-2.7
      creating build/lib.linux-x86_64-2.7/simplejson
      copying simplejson/encoder.py -> build/lib.linux-x86_64-2.7/simplejson
      copying simplejson/ordered_dict.py -> build/lib.linux-x86_64-2.7/simplejson
      copying simplejson/scanner.py -> build/lib.linux-x86_64-2.7/simplejson
      copying simplejson/decoder.py -> build/lib.linux-x86_64-2.7/simplejson
      copying simplejson/compat.py -> build/lib.linux-x86_64-2.7/simplejson
      copying simplejson/tool.py -> build/lib.linux-x86_64-2.7/simplejson
      copying simplejson/__init__.py -> build/lib.linux-x86_64-2.7/simplejson
      creating build/lib.linux-x86_64-2.7/simplejson/tests
      copying simplejson/tests/test_decode.py -> build/lib.linux-x86_64-2.7/simplejson/tests
      copying simplejson/tests/test_bitsize_int_as_string.py -> build/lib.linux-x86_64-2.7/simplejson/tests
      copying simplejson/tests/test_speedups.py -> build/lib.linux-x86_64-2.7/simplejson/tests
      copying simplejson/tests/test_default.py -> build/lib.linux-x86_64-2.7/simplejson/tests
      copying simplejson/tests/test_errors.py -> build/lib.linux-x86_64-2.7/simplejson/tests
      copying simplejson/tests/test_pass2.py -> build/lib.linux-x86_64-2.7/simplejson/tests
      copying simplejson/tests/test_namedtuple.py -> build/lib.linux-x86_64-2.7/simplejson/tests
      copying simplejson/tests/test_item_sort_key.py -> build/lib.linux-x86_64-2.7/simplejson/tests
      copying simplejson/tests/test_check_circular.py -> build/lib.linux-x86_64-2.7/simplejson/tests
      copying simplejson/tests/test_raw_json.py -> build/lib.linux-x86_64-2.7/simplejson/tests
      copying simplejson/tests/test_for_json.py -> build/lib.linux-x86_64-2.7/simplejson/tests
      copying simplejson/tests/test_float.py -> build/lib.linux-x86_64-2.7/simplejson/tests
      copying simplejson/tests/test_tuple.py -> build/lib.linux-x86_64-2.7/simplejson/tests
      copying simplejson/tests/test_subclass.py -> build/lib.linux-x86_64-2.7/simplejson/tests
      copying simplejson/tests/test_unicode.py -> build/lib.linux-x86_64-2.7/simplejson/tests
      copying simplejson/tests/test_dump.py -> build/lib.linux-x86_64-2.7/simplejson/tests
      copying simplejson/tests/test_bigint_as_string.py -> build/lib.linux-x86_64-2.7/simplejson/tests
      copying simplejson/tests/test_encode_basestring_ascii.py -> build/lib.linux-x86_64-2.7/simplejson/tests
      copying simplejson/tests/test_decimal.py -> build/lib.linux-x86_64-2.7/simplejson/tests
      copying simplejson/tests/test_encode_for_html.py -> build/lib.linux-x86_64-2.7/simplejson/tests
      copying simplejson/tests/test_str_subclass.py -> build/lib.linux-x86_64-2.7/simplejson/tests
      copying simplejson/tests/test_pass1.py -> build/lib.linux-x86_64-2.7/simplejson/tests
      copying simplejson/tests/test_iterable.py -> build/lib.linux-x86_64-2.7/simplejson/tests
      copying simplejson/tests/test_separators.py -> build/lib.linux-x86_64-2.7/simplejson/tests
      copying simplejson/tests/__init__.py -> build/lib.linux-x86_64-2.7/simplejson/tests
      copying simplejson/tests/test_tool.py -> build/lib.linux-x86_64-2.7/simplejson/tests
      copying simplejson/tests/test_recursion.py -> build/lib.linux-x86_64-2.7/simplejson/tests
      copying simplejson/tests/test_scanstring.py -> build/lib.linux-x86_64-2.7/simplejson/tests
      copying simplejson/tests/test_fail.py -> build/lib.linux-x86_64-2.7/simplejson/tests
      copying simplejson/tests/test_pass3.py -> build/lib.linux-x86_64-2.7/simplejson/tests
      copying simplejson/tests/test_indent.py -> build/lib.linux-x86_64-2.7/simplejson/tests
      running build_ext
      building 'simplejson._speedups' extension
      creating build/temp.linux-x86_64-2.7
      creating build/temp.linux-x86_64-2.7/simplejson
      gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include/python2.7 -c simplejson/_speedups.c -o build/temp.linux-x86_64-2.7/simplejson/_speedups.o
      unable to execute 'gcc': No such file or directory
      ***************************************************************************
      WARNING: The C extension could not be compiled, speedups are not enabled.
      Failure information, if any, is above.
      I'm retrying the build without the C extension now.
      ***************************************************************************
      running bdist_wheel
      running build
      running build_py
      creating build/lib
      creating build/lib/simplejson
      copying simplejson/encoder.py -> build/lib/simplejson
      copying simplejson/ordered_dict.py -> build/lib/simplejson
      copying simplejson/scanner.py -> build/lib/simplejson
      copying simplejson/decoder.py -> build/lib/simplejson
      copying simplejson/compat.py -> build/lib/simplejson
      copying simplejson/tool.py -> build/lib/simplejson
      copying simplejson/__init__.py -> build/lib/simplejson
      creating build/lib/simplejson/tests
      copying simplejson/tests/test_decode.py -> build/lib/simplejson/tests
      copying simplejson/tests/test_bitsize_int_as_string.py -> build/lib/simplejson/tests
      copying simplejson/tests/test_speedups.py -> build/lib/simplejson/tests
      copying simplejson/tests/test_default.py -> build/lib/simplejson/tests
      copying simplejson/tests/test_errors.py -> build/lib/simplejson/tests
      copying simplejson/tests/test_pass2.py -> build/lib/simplejson/tests
      copying simplejson/tests/test_namedtuple.py -> build/lib/simplejson/tests
      copying simplejson/tests/test_item_sort_key.py -> build/lib/simplejson/tests
      copying simplejson/tests/test_check_circular.py -> build/lib/simplejson/tests
      copying simplejson/tests/test_raw_json.py -> build/lib/simplejson/tests
      copying simplejson/tests/test_for_json.py -> build/lib/simplejson/tests
      copying simplejson/tests/test_float.py -> build/lib/simplejson/tests
      copying simplejson/tests/test_tuple.py -> build/lib/simplejson/tests
      copying simplejson/tests/test_subclass.py -> build/lib/simplejson/tests
      copying simplejson/tests/test_unicode.py -> build/lib/simplejson/tests
      copying simplejson/tests/test_dump.py -> build/lib/simplejson/tests
      copying simplejson/tests/test_bigint_as_string.py -> build/lib/simplejson/tests
      copying simplejson/tests/test_encode_basestring_ascii.py -> build/lib/simplejson/tests
      copying simplejson/tests/test_decimal.py -> build/lib/simplejson/tests
      copying simplejson/tests/test_encode_for_html.py -> build/lib/simplejson/tests
      copying simplejson/tests/test_str_subclass.py -> build/lib/simplejson/tests
      copying simplejson/tests/test_pass1.py -> build/lib/simplejson/tests
      copying simplejson/tests/test_iterable.py -> build/lib/simplejson/tests
      copying simplejson/tests/test_separators.py -> build/lib/simplejson/tests
      copying simplejson/tests/__init__.py -> build/lib/simplejson/tests
      copying simplejson/tests/test_tool.py -> build/lib/simplejson/tests
      copying simplejson/tests/test_recursion.py -> build/lib/simplejson/tests
      copying simplejson/tests/test_scanstring.py -> build/lib/simplejson/tests
      copying simplejson/tests/test_fail.py -> build/lib/simplejson/tests
      copying simplejson/tests/test_pass3.py -> build/lib/simplejson/tests
      copying simplejson/tests/test_indent.py -> build/lib/simplejson/tests
      installing to build/bdist.linux-x86_64/wheel
      running install
      running install_lib
      creating build/bdist.linux-x86_64
      creating build/bdist.linux-x86_64/wheel
      creating build/bdist.linux-x86_64/wheel/simplejson
      copying build/lib/simplejson/encoder.py -> build/bdist.linux-x86_64/wheel/simplejson
      copying build/lib/simplejson/ordered_dict.py -> build/bdist.linux-x86_64/wheel/simplejson
      copying build/lib/simplejson/scanner.py -> build/bdist.linux-x86_64/wheel/simplejson
      copying build/lib/simplejson/decoder.py -> build/bdist.linux-x86_64/wheel/simplejson
      copying build/lib/simplejson/compat.py -> build/bdist.linux-x86_64/wheel/simplejson
      copying build/lib/simplejson/tool.py -> build/bdist.linux-x86_64/wheel/simplejson
      creating build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/tests/test_decode.py -> build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/tests/test_bitsize_int_as_string.py -> build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/tests/test_speedups.py -> build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/tests/test_default.py -> build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/tests/test_errors.py -> build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/tests/test_pass2.py -> build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/tests/test_namedtuple.py -> build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/tests/test_item_sort_key.py -> build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/tests/test_check_circular.py -> build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/tests/test_raw_json.py -> build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/tests/test_for_json.py -> build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/tests/test_float.py -> build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/tests/test_tuple.py -> build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/tests/test_subclass.py -> build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/tests/test_unicode.py -> build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/tests/test_dump.py -> build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/tests/test_bigint_as_string.py -> build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/tests/test_encode_basestring_ascii.py -> build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/tests/test_decimal.py -> build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/tests/test_encode_for_html.py -> build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/tests/test_str_subclass.py -> build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/tests/test_pass1.py -> build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/tests/test_iterable.py -> build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/tests/test_separators.py -> build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/tests/__init__.py -> build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/tests/test_tool.py -> build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/tests/test_recursion.py -> build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/tests/test_scanstring.py -> build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/tests/test_fail.py -> build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/tests/test_pass3.py -> build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/tests/test_indent.py -> build/bdist.linux-x86_64/wheel/simplejson/tests
      copying build/lib/simplejson/__init__.py -> build/bdist.linux-x86_64/wheel/simplejson
      running install_egg_info
      running egg_info
      writing simplejson.egg-info/PKG-INFO
      writing top-level names to simplejson.egg-info/top_level.txt
      writing dependency_links to simplejson.egg-info/dependency_links.txt
      reading manifest file 'simplejson.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      writing manifest file 'simplejson.egg-info/SOURCES.txt'
      Copying simplejson.egg-info to build/bdist.linux-x86_64/wheel/simplejson-3.10.0-py2.7.egg-info
      running install_scripts
      Traceback (most recent call last):
        File "<string>", line 1, in <module>
        File "/tmp/pip-build-Kn9zYg/simplejson/setup.py", line 121, in <module>
          run_setup(False)
        File "/tmp/pip-build-Kn9zYg/simplejson/setup.py", line 108, in run_setup
          **kw)
        File "/usr/local/lib/python2.7/distutils/core.py", line 151, in setup
          dist.run_commands()
        File "/usr/local/lib/python2.7/distutils/dist.py", line 953, in run_commands
          self.run_command(cmd)
        File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command
          cmd_obj.run()
        File "/root/.pre-commit/repoDFpupm/py_env-default/lib/python2.7/site-packages/wheel/bdist_wheel.py", line 215, in run
          self.run_command('install')
        File "/usr/local/lib/python2.7/distutils/cmd.py", line 326, in run_command
          self.distribution.run_command(command)
        File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command
          cmd_obj.run()
        File "/root/.pre-commit/repoDFpupm/py_env-default/lib/python2.7/site-packages/setuptools/command/install.py", line 61, in run
          return orig.install.run(self)
        File "/usr/local/lib/python2.7/distutils/command/install.py", line 575, in run
          self.run_command(cmd_name)
        File "/usr/local/lib/python2.7/distutils/cmd.py", line 326, in run_command
          self.distribution.run_command(command)
        File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command
          cmd_obj.run()
        File "/root/.pre-commit/repoDFpupm/py_env-default/lib/python2.7/site-packages/setuptools/command/install_scripts.py", line 17, in run
          import setuptools.command.easy_install as ei
        File "/root/.pre-commit/repoDFpupm/py_env-default/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 49, in <module>
          from setuptools.py27compat import rmtree_safe
        File "/root/.pre-commit/repoDFpupm/py_env-default/lib/python2.7/site-packages/setuptools/py27compat.py", line 7, in <module>
          import six
      ImportError: No module named six

      ----------------------------------------
      Running setup.py clean for simplejson
      Running setup.py bdist_wheel for configparser: started
      Running setup.py bdist_wheel for configparser: finished with status 'error'
      Complete output from command /root/.pre-commit/repoDFpupm/py_env-default/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-Kn9zYg/configparser/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpx2UVJJpip-wheel- --python-tag cp27:
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib
      copying src/configparser.py -> build/lib
      creating build/lib/backports
      copying src/backports/__init__.py -> build/lib/backports
      creating build/lib/backports/configparser
      copying src/backports/configparser/helpers.py -> build/lib/backports/configparser
      copying src/backports/configparser/__init__.py -> build/lib/backports/configparser
      running egg_info
      writing src/configparser.egg-info/PKG-INFO
      writing namespace_packages to src/configparser.egg-info/namespace_packages.txt
      writing top-level names to src/configparser.egg-info/top_level.txt
      writing dependency_links to src/configparser.egg-info/dependency_links.txt
      reading manifest file 'src/configparser.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      writing manifest file 'src/configparser.egg-info/SOURCES.txt'
      installing to build/bdist.linux-x86_64/wheel
      running install
      running install_lib
      copying configparser.py -> build/bdist.linux-x86_64/wheel
      Skipping installation of build/bdist.linux-x86_64/wheel/backports/__init__.py (namespace package)
      copying backports/configparser/helpers.py -> build/bdist.linux-x86_64/wheel/backports/configparser
      copying backports/configparser/__init__.py -> build/bdist.linux-x86_64/wheel/backports/configparser
      running install_egg_info
      Copying src/configparser.egg-info to build/bdist.linux-x86_64/wheel/configparser-3.5.0-py2.7.egg-info
      Installing build/bdist.linux-x86_64/wheel/configparser-3.5.0-py2.7-nspkg.pth
      running install_scripts
      Traceback (most recent call last):
        File "<string>", line 1, in <module>
        File "/tmp/pip-build-Kn9zYg/configparser/setup.py", line 63, in <module>
          'Topic :: Software Development :: Libraries :: Python Modules',
        File "/usr/local/lib/python2.7/distutils/core.py", line 151, in setup
          dist.run_commands()
        File "/usr/local/lib/python2.7/distutils/dist.py", line 953, in run_commands
          self.run_command(cmd)
        File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command
          cmd_obj.run()
        File "/root/.pre-commit/repoDFpupm/py_env-default/lib/python2.7/site-packages/wheel/bdist_wheel.py", line 215, in run
          self.run_command('install')
        File "/usr/local/lib/python2.7/distutils/cmd.py", line 326, in run_command
          self.distribution.run_command(command)
        File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command
          cmd_obj.run()
        File "/root/.pre-commit/repoDFpupm/py_env-default/lib/python2.7/site-packages/setuptools/command/install.py", line 61, in run
          return orig.install.run(self)
        File "/usr/local/lib/python2.7/distutils/command/install.py", line 575, in run
          self.run_command(cmd_name)
        File "/usr/local/lib/python2.7/distutils/cmd.py", line 326, in run_command
          self.distribution.run_command(command)
        File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command
          cmd_obj.run()
        File "/root/.pre-commit/repoDFpupm/py_env-default/lib/python2.7/site-packages/setuptools/command/install_scripts.py", line 17, in run
          import setuptools.command.easy_install as ei
        File "/root/.pre-commit/repoDFpupm/py_env-default/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 49, in <module>
          from setuptools.py27compat import rmtree_safe
        File "/root/.pre-commit/repoDFpupm/py_env-default/lib/python2.7/site-packages/setuptools/py27compat.py", line 7, in <module>
          import six
      ImportError: No module named six

      ----------------------------------------
      Running setup.py clean for configparser
    Failed to build simplejson configparser
    Installing collected packages: enum34, configparser, pyflakes, mccabe, pycodestyle, flake8, autopep8, pyyaml, simplejson, six, pre-commit-hooks
      Running setup.py install for configparser: started
        Running setup.py install for configparser: finished with status 'error'
        Complete output from command /root/.pre-commit/repoDFpupm/py_env-default/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-Kn9zYg/configparser/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-LnaZWh-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/.pre-commit/repoDFpupm/py_env-default/include/site/python2.7/configparser:
        running install
        running build
        running build_py
        creating build
        creating build/lib
        copying src/configparser.py -> build/lib
        creating build/lib/backports
        copying src/backports/__init__.py -> build/lib/backports
        creating build/lib/backports/configparser
        copying src/backports/configparser/helpers.py -> build/lib/backports/configparser
        copying src/backports/configparser/__init__.py -> build/lib/backports/configparser
        running egg_info
        writing src/configparser.egg-info/PKG-INFO
        writing namespace_packages to src/configparser.egg-info/namespace_packages.txt
        writing top-level names to src/configparser.egg-info/top_level.txt
        writing dependency_links to src/configparser.egg-info/dependency_links.txt
        reading manifest file 'src/configparser.egg-info/SOURCES.txt'
        reading manifest template 'MANIFEST.in'
        writing manifest file 'src/configparser.egg-info/SOURCES.txt'
        running install_lib
        copying configparser.py -> /root/.pre-commit/repoDFpupm/py_env-default/lib/python2.7/site-packages
        Skipping installation of /root/.pre-commit/repoDFpupm/py_env-default/lib/python2.7/site-packages/backports/__init__.py (namespace package)
        copying backports/configparser/helpers.py -> /root/.pre-commit/repoDFpupm/py_env-default/lib/python2.7/site-packages/backports/configparser
        copying backports/configparser/__init__.py -> /root/.pre-commit/repoDFpupm/py_env-default/lib/python2.7/site-packages/backports/configparser
        byte-compiling /root/.pre-commit/repoDFpupm/py_env-default/lib/python2.7/site-packages/configparser.py to configparser.pyc
        byte-compiling /root/.pre-commit/repoDFpupm/py_env-default/lib/python2.7/site-packages/backports/configparser/helpers.py to helpers.pyc
        byte-compiling /root/.pre-commit/repoDFpupm/py_env-default/lib/python2.7/site-packages/backports/configparser/__init__.py to __init__.pyc
        running install_egg_info
        Copying src/configparser.egg-info to /root/.pre-commit/repoDFpupm/py_env-default/lib/python2.7/site-packages/configparser-3.5.0-py2.7.egg-info
        Installing /root/.pre-commit/repoDFpupm/py_env-default/lib/python2.7/site-packages/configparser-3.5.0-py2.7-nspkg.pth
        running install_scripts
        Traceback (most recent call last):
          File "<string>", line 1, in <module>
          File "/tmp/pip-build-Kn9zYg/configparser/setup.py", line 63, in <module>
            'Topic :: Software Development :: Libraries :: Python Modules',
          File "/usr/local/lib/python2.7/distutils/core.py", line 151, in setup
            dist.run_commands()
          File "/usr/local/lib/python2.7/distutils/dist.py", line 953, in run_commands
            self.run_command(cmd)
          File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command
            cmd_obj.run()
          File "/root/.pre-commit/repoDFpupm/py_env-default/lib/python2.7/site-packages/setuptools/command/install.py", line 61, in run
            return orig.install.run(self)
          File "/usr/local/lib/python2.7/distutils/command/install.py", line 575, in run
            self.run_command(cmd_name)
          File "/usr/local/lib/python2.7/distutils/cmd.py", line 326, in run_command
            self.distribution.run_command(command)
          File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command
            cmd_obj.run()
          File "/root/.pre-commit/repoDFpupm/py_env-default/lib/python2.7/site-packages/setuptools/command/install_scripts.py", line 17, in run
            import setuptools.command.easy_install as ei
          File "/root/.pre-commit/repoDFpupm/py_env-default/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 49, in <module>
            from setuptools.py27compat import rmtree_safe
          File "/root/.pre-commit/repoDFpupm/py_env-default/lib/python2.7/site-packages/setuptools/py27compat.py", line 7, in <module>
            import six
        ImportError: No module named six

        ----------------------------------------

Errors:
      Failed building wheel for simplejson
      Failed building wheel for configparser
    Command "/root/.pre-commit/repoDFpupm/py_env-default/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-Kn9zYg/configparser/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-LnaZWh-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/.pre-commit/repoDFpupm/py_env-default/include/site/python2.7/configparser" failed with error code 1 in /tmp/pip-build-Kn9zYg/configparser/
2017-06-01 10:57:57 +03:00
Evan Felix
a8592669d9 Add a no commit to specific branch hook. (#185)
* add no commit code and config

* add the code

* remove version tweak

* fix logic, remove newline

* add Tests and cleanup testing issues

* remove extraneous modules

* cleanup some pep8 and flake issues

* reorder imports

* more fixes for syntax checking

* code cleanup based off asottile comments

* Use Contractions Properly, alphabatize new hook.

* Adding support for branches with a slash in them.
2017-03-20 10:36:51 -07:00
Anthony Sottile
20f04626a1 v0.7.1 2017-02-07 10:00:42 -08:00
Anthony Sottile
63142f2d4e v0.7.0 2017-01-21 18:32:17 -08:00
Anthony Sottile
bec44063b0 Test py36 instead of py34 2017-01-20 20:44:44 -08:00
Anthony Sottile
77a7bba2f9 v0.6.1 2016-11-30 10:40:03 -08:00
Chris Kuehl
4b928ab06b Add forbid-new-submodules to hooks.yaml 2016-11-30 10:25:51 -08:00
Anthony Sottile
d19360c179 Drop py33, add py35 2016-08-22 14:32:12 -07:00
Anthony Sottile
6925455ef7 v0.6.0 2016-08-12 10:23:38 -07:00
Anthony Sottile
adbb569fe9 v0.5.1 2016-05-16 09:12:32 -07:00
Anthony Sottile
ff65d01841 v0.5.0 2016-04-05 10:52:44 -07:00
Anthony Sottile
fe9c404019 Forbid files with a UTF-8 BOM 2016-03-18 10:59:31 -07:00
Anthony Sottile
97b88d9610 flake8 2.5.3 is broken: https://gitlab.com/pycqa/flake8/issues/119 2016-02-11 09:46:10 -08:00
Anthony Sottile
64943e8641 Add metadata for check-symlinks 2016-01-15 07:47:33 -08:00
Anthony Sottile
aa2ba6f94f Add encoding pragma hook. Resolves pre-commit/pre-commit#15 2015-11-13 12:39:43 -08:00
Anthony Sottile
8a8aaf5a60 Add a hook to verify python ast. 2015-08-04 13:48:30 -07:00
Anthony Sottile
516cc9fa72 Allow six to bump 2015-06-17 11:49:19 -07:00
Anthony Sottile
99574324eb Merge pull request #60 from arahayrabedian/master
AWS credential checking
2015-06-17 11:46:15 -07:00
Ara Hayrabedian
255af75d1f add six to installation requirements 2015-06-12 19:21:14 +04:00
Léo Cavaillé
55bf22dc4a Add new hook pretty-format-json
This new hook allows to standardize one's JSON files (sorted key/4
spaces indent).
By default it just fails if any file is not complying with the standard,
but you can also pass the arg `--autofix` and the hook will
pretty-format the file itself.

Good in use combined with the `check-json` hook.
2015-06-11 00:08:03 -04:00
Ara Hayrabedian
95bf20d52d add aws credential checking ONLY FOR YOUR OWN credentials if they're set in a configurable credentials file (AWS CLI tools' native format) 2015-06-01 23:16:51 +04:00
Anthony Sottile
cf550fcab3 v0.4.2 2015-05-31 14:02:52 -07:00
Anthony Sottile
9ba5af45ce Fix #59 by removing direct dependency on pyflakes 2015-05-31 13:46:47 -07:00
Anthony Sottile
713fab4bc7 Remove dependency on plumbum 2015-03-20 14:15:30 -07:00
Guy Kisel
779a42919a Add check-merge-conflict hook 2015-03-13 16:30:14 -07:00
Anthony Sottile
9ce45609a9 Merge pull request #43 from campaul/detect_private_key
Detect OpenSSH private keys
2015-03-08 12:38:35 -07:00
Anthony Sottile
4cb861acec v0.4.1 2015-03-08 12:32:40 -07:00
Anthony Sottile
4078cbedf0 Quickfix to prevent pep8 conflicts 2015-03-08 11:34:04 -07:00
Cameron Paul
68a7729327 Detect OpenSSH private keys 2015-03-07 09:35:30 -08:00
Anthony Sottile
d96cef92c9 Respect autopep8 config. Resolves #38. 2015-02-26 18:23:52 -08:00
Anthony Sottile
9f107a0327 v0.4.0 2015-02-22 08:39:33 -08:00
Ken Struys
12f02dfeb8 implemented a basic double quote string fixer 2015-02-08 21:05:12 -08:00
Anthony Sottile
ddc9208a5f Add check-xml hook. 2015-01-17 10:30:58 -08:00
gkisel
c682b50749 Add check_case_conflict hook #21 2015-01-12 15:38:22 -08:00
Anthony Sottile
53f1dc0163 Add check-docstring-first hook. 2015-01-04 13:06:21 -08:00
Anthony Sottile
e0a6e66528 Add check-added-large-files hook 2014-12-31 12:21:21 -08:00
Anthony Sottile
eb53190d16 Fix requirements-txt-fixer entrypoint 2014-12-17 12:23:45 -08:00
Cameron Paul
b83ea591b5 Added requirements.txt hook 2014-12-16 12:39:03 -08:00
Anthony Sottile
dc94a6936d Add testing for pypy3 2014-10-14 14:08:44 -07:00
Anthony Sottile
6343700aa0 v0.3.0 2014-08-22 11:11:31 -07:00
Anthony Sottile
86b1c9da8e Add autopep8-wrapper hook. 2014-08-22 11:00:43 -07:00
Anthony Sottile
243fe50bc1 Add a hook for checking parseable json. 2014-08-19 16:03:48 -07:00
Anthony Sottile
c94b2087db This is v0.1.1 2014-06-19 17:53:08 -07:00
Anthony Sottile
80c5a18273 This is v0.1.0 2014-06-07 14:47:12 -07:00
Anthony Sottile
dd18ff15f2 MIT 2014-06-05 08:58:48 -07:00
Anthony Sottile
f961d8f5e1 Add python 3.4 on travis. 2014-06-01 15:59:14 -07:00
Anthony Sottile
b80ca9e84a Update project setup. 2014-04-13 22:09:26 -07:00
Anthony Sottile
1c9ce9dfd2 Add flake8 hook. Tests are broken though. 2014-04-12 09:24:08 -07:00