Fix lint
This commit is contained in:
parent
6473d64e40
commit
608ac89f06
@ -17,6 +17,9 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with qutebrowser. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# We get various "abstract but not overridden" warnings
|
||||
# pylint: disable=abstract-method
|
||||
|
||||
"""Bridge from QWebEngineSettings to our own settings.
|
||||
|
||||
Module attributes:
|
||||
|
@ -17,6 +17,9 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with qutebrowser. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# We get various "abstract but not overridden" warnings
|
||||
# pylint: disable=abstract-method
|
||||
|
||||
"""Bridge from QWebSettings to our own settings.
|
||||
|
||||
Module attributes:
|
||||
|
@ -17,6 +17,9 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with qutebrowser. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# We get various "abstract but not overridden" warnings
|
||||
# pylint: disable=abstract-method
|
||||
|
||||
"""Bridge from QWeb(Engine)Settings to our own settings."""
|
||||
|
||||
from qutebrowser.config import config
|
||||
@ -49,8 +52,8 @@ class Base:
|
||||
the global instance.
|
||||
|
||||
Return:
|
||||
A list of QWeb(Engine)Settings objects. The first one should be used
|
||||
for reading.
|
||||
A list of QWeb(Engine)Settings objects. The first one should be
|
||||
used for reading.
|
||||
"""
|
||||
if settings is None:
|
||||
return self._get_global_settings()
|
||||
|
@ -162,7 +162,8 @@ def run(files):
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('files', nargs='*', default=['qutebrowser', 'scripts'])
|
||||
parser.add_argument('files', nargs='*', default=['qutebrowser', 'scripts',
|
||||
'setup.py'])
|
||||
args = parser.parse_args()
|
||||
out = run(args.files)
|
||||
for line in out:
|
||||
|
Loading…
Reference in New Issue
Block a user