From 6a231b8712069719e003781e8f7b842cd7074767 Mon Sep 17 00:00:00 2001 From: Andres Suarez Date: Fri, 3 Nov 2017 11:39:29 -0700 Subject: [PATCH] Remove unused @lint-avoid-pyflakes* and others Reviewed By: j-leitao Differential Revision: D6232366 fbshipit-source-id: 68a612bca71d9ec6340a8cb8f9098215dda3e8f3 --- hphp/hack/test/verify.py | 1 - hphp/test/tools/import_spec_test.py | 3 --- hphp/tools/gdb/asio.py | 2 -- hphp/tools/gdb/compatibility.py | 2 -- hphp/tools/gdb/frame.py | 2 -- hphp/tools/gdb/gdbutils.py | 2 -- hphp/tools/gdb/hashes.py | 2 -- hphp/tools/gdb/hhbc.py | 2 -- hphp/tools/gdb/hhvm.py | 2 -- hphp/tools/gdb/idx.py | 2 -- hphp/tools/gdb/lookup.py | 2 -- hphp/tools/gdb/nameof.py | 2 -- hphp/tools/gdb/pretty.py | 2 -- hphp/tools/gdb/repo.py | 2 -- hphp/tools/gdb/sizeof.py | 2 -- hphp/tools/gdb/stack.py | 2 -- hphp/tools/gdb/unit.py | 2 -- hphp/tools/gdb/unwind.py | 2 -- hphp/tools/gdb/util.py | 2 -- 19 files changed, 38 deletions(-) diff --git a/hphp/hack/test/verify.py b/hphp/hack/test/verify.py index e1855ebafc2..86ca464f4bf 100755 --- a/hphp/hack/test/verify.py +++ b/hphp/hack/test/verify.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# @lint-avoid-pyflakes2 import argparse import os.path diff --git a/hphp/test/tools/import_spec_test.py b/hphp/test/tools/import_spec_test.py index 25dd86c7c88..dd6e88eb971 100755 --- a/hphp/test/tools/import_spec_test.py +++ b/hphp/test/tools/import_spec_test.py @@ -1,8 +1,5 @@ #!/usr/bin/env python -# @lint-avoid-pyflakes3 -# @lint-avoid-pyflakes2 - # # Copies all the phplang-spec tests to a temporary directory, runs them in # interp mode, then copies the good ones to test/spec/good and the bad ones to diff --git a/hphp/tools/gdb/asio.py b/hphp/tools/gdb/asio.py index 8a468102a4f..fc55434c6b1 100644 --- a/hphp/tools/gdb/asio.py +++ b/hphp/tools/gdb/asio.py @@ -1,8 +1,6 @@ """ GDB commands for asio information and stacktraces. """ -# @lint-avoid-pyflakes3 -# @lint-avoid-pyflakes2 from compatibility import * diff --git a/hphp/tools/gdb/compatibility.py b/hphp/tools/gdb/compatibility.py index a2b61ebd0c3..778b72f4e08 100644 --- a/hphp/tools/gdb/compatibility.py +++ b/hphp/tools/gdb/compatibility.py @@ -1,8 +1,6 @@ """ I don't understand Python's version incompatibilities and also Python sucks. """ -# @lint-avoid-pyflakes3 -# @lint-avoid-pyflakes2 # I've heard that it's "Pythonic" or something to use try/catch for everything. # Most likely people who think this should be hospitalized, but who am I to diff --git a/hphp/tools/gdb/frame.py b/hphp/tools/gdb/frame.py index 1c8ceeeb086..af55edebddd 100644 --- a/hphp/tools/gdb/frame.py +++ b/hphp/tools/gdb/frame.py @@ -1,8 +1,6 @@ """ Helpers for collecting and printing frame data. """ -# @lint-avoid-pyflakes3 -# @lint-avoid-pyflakes2 from compatibility import * diff --git a/hphp/tools/gdb/gdbutils.py b/hphp/tools/gdb/gdbutils.py index a6af0ae0967..d410a6dfe65 100644 --- a/hphp/tools/gdb/gdbutils.py +++ b/hphp/tools/gdb/gdbutils.py @@ -1,8 +1,6 @@ """ Assorted utilities for HHVM GDB bindings. """ -# @lint-avoid-pyflakes3 -# @lint-avoid-pyflakes2 from compatibility import * diff --git a/hphp/tools/gdb/hashes.py b/hphp/tools/gdb/hashes.py index 539571ec707..b28e907dacb 100644 --- a/hphp/tools/gdb/hashes.py +++ b/hphp/tools/gdb/hashes.py @@ -1,8 +1,6 @@ """ Hash functions for use with container accessors. """ -# @lint-avoid-pyflakes3 -# @lint-avoid-pyflakes2 from compatibility import * diff --git a/hphp/tools/gdb/hhbc.py b/hphp/tools/gdb/hhbc.py index c7f8f67f029..e706db7e8b5 100644 --- a/hphp/tools/gdb/hhbc.py +++ b/hphp/tools/gdb/hhbc.py @@ -1,8 +1,6 @@ """ GDB commands for inspecting HHVM bytecode. """ -# @lint-avoid-pyflakes3 -# @lint-avoid-pyflakes2 from compatibility import * diff --git a/hphp/tools/gdb/hhvm.py b/hphp/tools/gdb/hhvm.py index 715d820f85d..b43395416e9 100644 --- a/hphp/tools/gdb/hhvm.py +++ b/hphp/tools/gdb/hhvm.py @@ -5,8 +5,6 @@ Due to some GDB Python API shenanigans, we have to munge the directory containing these scripts into sys.path. We only do this here, so attempting to source the individual modules directly will fail. """ -# @lint-avoid-pyflakes3 -# @lint-avoid-pyflakes2 from os import sys, path diff --git a/hphp/tools/gdb/idx.py b/hphp/tools/gdb/idx.py index bede87e0a04..84187b9fd0a 100644 --- a/hphp/tools/gdb/idx.py +++ b/hphp/tools/gdb/idx.py @@ -1,8 +1,6 @@ """ Helpers for accessing C++ STL containers in GDB. """ -# @lint-avoid-pyflakes3 -# @lint-avoid-pyflakes2 from compatibility import * diff --git a/hphp/tools/gdb/lookup.py b/hphp/tools/gdb/lookup.py index f61f1c66152..56456aa1dd7 100644 --- a/hphp/tools/gdb/lookup.py +++ b/hphp/tools/gdb/lookup.py @@ -1,8 +1,6 @@ """ GDB commands for various HHVM ID lookups. """ -# @lint-avoid-pyflakes3 -# @lint-avoid-pyflakes2 from compatibility import * diff --git a/hphp/tools/gdb/nameof.py b/hphp/tools/gdb/nameof.py index ffadf30328f..8bc0d9dd1de 100644 --- a/hphp/tools/gdb/nameof.py +++ b/hphp/tools/gdb/nameof.py @@ -1,8 +1,6 @@ """ GDB command for printing the names of various objects. """ -# @lint-avoid-pyflakes3 -# @lint-avoid-pyflakes2 from compatibility import * diff --git a/hphp/tools/gdb/pretty.py b/hphp/tools/gdb/pretty.py index 842a798eaf9..be39e6df912 100644 --- a/hphp/tools/gdb/pretty.py +++ b/hphp/tools/gdb/pretty.py @@ -1,8 +1,6 @@ """ GDB pretty printers for HHVM types. """ -# @lint-avoid-pyflakes3 -# @lint-avoid-pyflakes2 from compatibility import * diff --git a/hphp/tools/gdb/repo.py b/hphp/tools/gdb/repo.py index 01c9d2a5683..5f45fdf92cb 100644 --- a/hphp/tools/gdb/repo.py +++ b/hphp/tools/gdb/repo.py @@ -1,8 +1,6 @@ """ Wow okay, let's frob repos from inside gdb. """ -# @lint-avoid-pyflakes3 -# @lint-avoid-pyflakes2 from compatibility import * diff --git a/hphp/tools/gdb/sizeof.py b/hphp/tools/gdb/sizeof.py index 2e079982d6f..120a2e3d930 100644 --- a/hphp/tools/gdb/sizeof.py +++ b/hphp/tools/gdb/sizeof.py @@ -1,8 +1,6 @@ """ GDB command for printing the sizes of various containers. """ -# @lint-avoid-pyflakes3 -# @lint-avoid-pyflakes2 from compatibility import * diff --git a/hphp/tools/gdb/stack.py b/hphp/tools/gdb/stack.py index d39e21181b7..a3e71bb2e72 100644 --- a/hphp/tools/gdb/stack.py +++ b/hphp/tools/gdb/stack.py @@ -1,8 +1,6 @@ """ GDB commands related to the HHVM stack. """ -# @lint-avoid-pyflakes3 -# @lint-avoid-pyflakes2 from compatibility import * diff --git a/hphp/tools/gdb/unit.py b/hphp/tools/gdb/unit.py index ebe3261982b..a0d85996b32 100644 --- a/hphp/tools/gdb/unit.py +++ b/hphp/tools/gdb/unit.py @@ -1,8 +1,6 @@ """ Set the target Unit; used implicitly by some other commands. """ -# @lint-avoid-pyflakes3 -# @lint-avoid-pyflakes2 from compatibility import * diff --git a/hphp/tools/gdb/unwind.py b/hphp/tools/gdb/unwind.py index 66eb41108de..751b741769e 100644 --- a/hphp/tools/gdb/unwind.py +++ b/hphp/tools/gdb/unwind.py @@ -1,8 +1,6 @@ """ GDB commands related to the HHVM stack. """ -# @lint-avoid-pyflakes3 -# @lint-avoid-pyflakes2 from compatibility import * diff --git a/hphp/tools/gdb/util.py b/hphp/tools/gdb/util.py index b4723108c51..dfe5436f4ae 100644 --- a/hphp/tools/gdb/util.py +++ b/hphp/tools/gdb/util.py @@ -1,8 +1,6 @@ """ GDB utility convenience functions. """ -# @lint-avoid-pyflakes3 -# @lint-avoid-pyflakes2 from compatibility import * -- 2.11.4.GIT