diff --git a/Pipfile.lock b/Pipfile.lock index 8b7703cbe62..32b8e21aeba 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1009,12 +1009,6 @@ ], "version": "==1.6.5" }, - "autopep8": { - "hashes": [ - "sha256:2284d4ae2052fedb9f466c09728e30d2e231cfded5ffd7b1a20c34123fdc4ba4" - ], - "version": "==1.3.5" - }, "azure-batch": { "hashes": [ "sha256:017be21a9e6db92473d2e33170d5dd445596fc70d706f73552ac9c6b57a6ef1c", diff --git a/tools/automation/style/pep8.py b/tools/automation/style/pep8.py deleted file mode 100644 index 6a5f20b3ad4..00000000000 --- a/tools/automation/style/pep8.py +++ /dev/null @@ -1,30 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- - -import sys - - -def fix_p2p8(directory): - import autopep8 - import multiprocessing - - # pylint: disable=protected-access - autopep8.fix_multiple_files([directory], - options=autopep8._get_options( - { - 'jobs': multiprocessing.cpu_count(), - 'verbose': True, - 'recursive': True, - 'in_place': True, - 'max_line_length': 100 - }, False)) - - -if __name__ == '__main__': - if len(sys.argv) < 2: - print('usage: python automation.style.pep8 ') - sys.exit(1) - - fix_p2p8(sys.argv[1]) diff --git a/tools/setup.py b/tools/setup.py index 307d5b935c9..e38286486c0 100644 --- a/tools/setup.py +++ b/tools/setup.py @@ -23,7 +23,6 @@ # Until https://gitlab.com/pycqa/flake8/issues/415 is resolved, pin version of pycodestyle DEPENDENCIES = [ - 'autopep8>=1.2.4', 'pylint==1.9.2', 'coverage>=4.2', 'flake8==3.5.0',