diff --git a/docs/source/conf.py b/docs/source/conf.py index 8c94eb13..f000c2db 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Gunicorn documentation build configuration file # diff --git a/examples/alt_spec.py b/examples/alt_spec.py index d5c682f1..9a7e7c8c 100644 --- a/examples/alt_spec.py +++ b/examples/alt_spec.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # An example of how to pass information from the command line to # a WSGI app. Only applies to the native WSGI workers used by diff --git a/examples/boot_fail.py b/examples/boot_fail.py index 0a2455ed..c4f80f98 100644 --- a/examples/boot_fail.py +++ b/examples/boot_fail.py @@ -1,4 +1,3 @@ - raise RuntimeError("Bad app!") def app(environ, start_response): diff --git a/examples/deep/test.py b/examples/deep/test.py index 09ea06f0..dd5f8f69 100644 --- a/examples/deep/test.py +++ b/examples/deep/test.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/examples/echo.py b/examples/echo.py index e10332d8..b03a72f3 100644 --- a/examples/echo.py +++ b/examples/echo.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/examples/frameworks/tornadoapp.py b/examples/frameworks/tornadoapp.py index f9236508..564496a4 100644 --- a/examples/frameworks/tornadoapp.py +++ b/examples/frameworks/tornadoapp.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/examples/longpoll.py b/examples/longpoll.py index 5b5d8c96..b1282090 100644 --- a/examples/longpoll.py +++ b/examples/longpoll.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/examples/multiapp.py b/examples/multiapp.py index c8888586..fdae7ecd 100644 --- a/examples/multiapp.py +++ b/examples/multiapp.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/examples/multidomainapp.py b/examples/multidomainapp.py index 25727bad..9d441a95 100644 --- a/examples/multidomainapp.py +++ b/examples/multidomainapp.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/examples/readline_app.py b/examples/readline_app.py index 4a87851b..e72b90eb 100644 --- a/examples/readline_app.py +++ b/examples/readline_app.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/examples/sendfile.py b/examples/sendfile.py index d8489d9b..7060ecda 100644 --- a/examples/sendfile.py +++ b/examples/sendfile.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/examples/slowclient.py b/examples/slowclient.py index 72041f86..1eb582d0 100644 --- a/examples/slowclient.py +++ b/examples/slowclient.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/examples/standalone_app.py b/examples/standalone_app.py index 7731aaf5..d4ec7caf 100644 --- a/examples/standalone_app.py +++ b/examples/standalone_app.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# -*- coding: utf-8 -*- # # An example of a standalone application using the internal API of Gunicorn. # diff --git a/examples/test.py b/examples/test.py index 09ea06f0..dd5f8f69 100644 --- a/examples/test.py +++ b/examples/test.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/examples/timeout.py b/examples/timeout.py index 2e661b2b..b6ca2b50 100644 --- a/examples/timeout.py +++ b/examples/timeout.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/examples/websocket/gevent_websocket.py b/examples/websocket/gevent_websocket.py index c5855d4e..c1c541df 100644 --- a/examples/websocket/gevent_websocket.py +++ b/examples/websocket/gevent_websocket.py @@ -1,4 +1,3 @@ - import collections import errno import re diff --git a/examples/websocket/websocket.py b/examples/websocket/websocket.py index 63f709ae..11b5f715 100644 --- a/examples/websocket/websocket.py +++ b/examples/websocket/websocket.py @@ -1,4 +1,3 @@ - import collections import errno import re diff --git a/gunicorn/__init__.py b/gunicorn/__init__.py index 70153f8e..45f53bcc 100644 --- a/gunicorn/__init__.py +++ b/gunicorn/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/__main__.py b/gunicorn/__main__.py index fda83157..ceb44d08 100644 --- a/gunicorn/__main__.py +++ b/gunicorn/__main__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/app/__init__.py b/gunicorn/app/__init__.py index 87f06117..530e35ca 100644 --- a/gunicorn/app/__init__.py +++ b/gunicorn/app/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/app/base.py b/gunicorn/app/base.py index dbd05bc7..adb9fdb5 100644 --- a/gunicorn/app/base.py +++ b/gunicorn/app/base.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/app/pasterapp.py b/gunicorn/app/pasterapp.py index 4c9fc7de..b1738f25 100644 --- a/gunicorn/app/pasterapp.py +++ b/gunicorn/app/pasterapp.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/app/wsgiapp.py b/gunicorn/app/wsgiapp.py index 4e003123..1b0ba969 100644 --- a/gunicorn/app/wsgiapp.py +++ b/gunicorn/app/wsgiapp.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/arbiter.py b/gunicorn/arbiter.py index 1cf43674..35c3b377 100644 --- a/gunicorn/arbiter.py +++ b/gunicorn/arbiter.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/config.py b/gunicorn/config.py index 144acaec..22b4a722 100644 --- a/gunicorn/config.py +++ b/gunicorn/config.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/debug.py b/gunicorn/debug.py index a492df9e..a0aaa2bf 100644 --- a/gunicorn/debug.py +++ b/gunicorn/debug.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/errors.py b/gunicorn/errors.py index 727d336a..11283808 100644 --- a/gunicorn/errors.py +++ b/gunicorn/errors.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/glogging.py b/gunicorn/glogging.py index b552e26a..cb1fdabf 100644 --- a/gunicorn/glogging.py +++ b/gunicorn/glogging.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/http/__init__.py b/gunicorn/http/__init__.py index 1da6f3ec..11473bb0 100644 --- a/gunicorn/http/__init__.py +++ b/gunicorn/http/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/http/body.py b/gunicorn/http/body.py index 78f03214..e4ca73da 100644 --- a/gunicorn/http/body.py +++ b/gunicorn/http/body.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/http/errors.py b/gunicorn/http/errors.py index 340f0473..0f67383e 100644 --- a/gunicorn/http/errors.py +++ b/gunicorn/http/errors.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/http/message.py b/gunicorn/http/message.py index 88ffa5a2..013bccb0 100644 --- a/gunicorn/http/message.py +++ b/gunicorn/http/message.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/http/parser.py b/gunicorn/http/parser.py index 5d689f06..8e8d8b09 100644 --- a/gunicorn/http/parser.py +++ b/gunicorn/http/parser.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/http/unreader.py b/gunicorn/http/unreader.py index 273bfc31..987da464 100644 --- a/gunicorn/http/unreader.py +++ b/gunicorn/http/unreader.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/http/wsgi.py b/gunicorn/http/wsgi.py index 6f3d9b68..f8f6354e 100644 --- a/gunicorn/http/wsgi.py +++ b/gunicorn/http/wsgi.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/instrument/statsd.py b/gunicorn/instrument/statsd.py index 2c54b2e7..953dc12c 100644 --- a/gunicorn/instrument/statsd.py +++ b/gunicorn/instrument/statsd.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/pidfile.py b/gunicorn/pidfile.py index 585b02af..5b3d993d 100644 --- a/gunicorn/pidfile.py +++ b/gunicorn/pidfile.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/reloader.py b/gunicorn/reloader.py index 88b540bd..671e0337 100644 --- a/gunicorn/reloader.py +++ b/gunicorn/reloader.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/sock.py b/gunicorn/sock.py index 7700146a..231649e2 100644 --- a/gunicorn/sock.py +++ b/gunicorn/sock.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/systemd.py b/gunicorn/systemd.py index 5bc1a744..9b185506 100644 --- a/gunicorn/systemd.py +++ b/gunicorn/systemd.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/util.py b/gunicorn/util.py index 751deea7..a5ee04a3 100644 --- a/gunicorn/util.py +++ b/gunicorn/util.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/workers/__init__.py b/gunicorn/workers/__init__.py index ae753e1c..3da5f85e 100644 --- a/gunicorn/workers/__init__.py +++ b/gunicorn/workers/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/workers/base.py b/gunicorn/workers/base.py index f97d923c..abdf911d 100644 --- a/gunicorn/workers/base.py +++ b/gunicorn/workers/base.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/workers/base_async.py b/gunicorn/workers/base_async.py index 6a79d7ed..4ac3d723 100644 --- a/gunicorn/workers/base_async.py +++ b/gunicorn/workers/base_async.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/workers/geventlet.py b/gunicorn/workers/geventlet.py index c42ed118..087eb61e 100644 --- a/gunicorn/workers/geventlet.py +++ b/gunicorn/workers/geventlet.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/workers/ggevent.py b/gunicorn/workers/ggevent.py index 2125a32d..15552e87 100644 --- a/gunicorn/workers/ggevent.py +++ b/gunicorn/workers/ggevent.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/workers/gthread.py b/gunicorn/workers/gthread.py index c9c42345..8dd35a4d 100644 --- a/gunicorn/workers/gthread.py +++ b/gunicorn/workers/gthread.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/workers/gtornado.py b/gunicorn/workers/gtornado.py index 28506119..025de81b 100644 --- a/gunicorn/workers/gtornado.py +++ b/gunicorn/workers/gtornado.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/workers/sync.py b/gunicorn/workers/sync.py index ddcd7727..40eef4e1 100644 --- a/gunicorn/workers/sync.py +++ b/gunicorn/workers/sync.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/gunicorn/workers/workertmp.py b/gunicorn/workers/workertmp.py index a9ae39de..3252dd05 100644 --- a/gunicorn/workers/workertmp.py +++ b/gunicorn/workers/workertmp.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/tests/t.py b/tests/t.py index 9b76e7de..60133721 100644 --- a/tests/t.py +++ b/tests/t.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # Copyright 2009 Paul J. Davis # # This file is part of gunicorn released under the MIT license. diff --git a/tests/test_arbiter.py b/tests/test_arbiter.py index e856282c..8c1527e2 100644 --- a/tests/test_arbiter.py +++ b/tests/test_arbiter.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/tests/test_config.py b/tests/test_config.py index c094f6a2..ac2bb55c 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/tests/test_http.py b/tests/test_http.py index 0eb69460..9bbbdd5b 100644 --- a/tests/test_http.py +++ b/tests/test_http.py @@ -1,5 +1,3 @@ -# -*- encoding: utf-8 -*- - import io import t import pytest diff --git a/tests/test_invalid_requests.py b/tests/test_invalid_requests.py index a4748640..63224d07 100644 --- a/tests/test_invalid_requests.py +++ b/tests/test_invalid_requests.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/tests/test_pidfile.py b/tests/test_pidfile.py index ecbc052f..81bb9d20 100644 --- a/tests/test_pidfile.py +++ b/tests/test_pidfile.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/tests/test_sock.py b/tests/test_sock.py index adc348c6..c3251af8 100644 --- a/tests/test_sock.py +++ b/tests/test_sock.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/tests/test_ssl.py b/tests/test_ssl.py index a31c1fe0..6faea635 100644 --- a/tests/test_ssl.py +++ b/tests/test_ssl.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 - - # Copyright 2013 Dariusz Suchojad # # This file is part of gunicorn released under the MIT license. diff --git a/tests/test_systemd.py b/tests/test_systemd.py index ff8b959a..d9ef8afc 100644 --- a/tests/test_systemd.py +++ b/tests/test_systemd.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/tests/test_util.py b/tests/test_util.py index b7ba6e01..35e544f9 100644 --- a/tests/test_util.py +++ b/tests/test_util.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/tests/test_valid_requests.py b/tests/test_valid_requests.py index 8c6290cd..2c71622c 100644 --- a/tests/test_valid_requests.py +++ b/tests/test_valid_requests.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/tests/workers/test_geventlet.py b/tests/workers/test_geventlet.py index 06c7b530..446f7037 100644 --- a/tests/workers/test_geventlet.py +++ b/tests/workers/test_geventlet.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. diff --git a/tests/workers/test_ggevent.py b/tests/workers/test_ggevent.py index 261ce40d..f9a7bbfa 100644 --- a/tests/workers/test_ggevent.py +++ b/tests/workers/test_ggevent.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information.