flake8: Reenable flake8-copyright and flake8-future-import

Partial revert of faf04f3791
This commit is contained in:
Florian Bruhin 2022-08-03 15:21:26 +02:00
parent ea22d74b9b
commit ea077cece9
3 changed files with 23 additions and 4 deletions

View File

@ -1,13 +1,15 @@
# This file is automatically generated by scripts/dev/recompile_requirements.py
attrs==22.1.0
flake8==5.0.1
flake8==5.0.3
flake8-bugbear==22.7.1
flake8-builtins==1.5.3
flake8-comprehensions==3.10.0
flake8-copyright==0.2.3
flake8-debugger==4.1.2
flake8-deprecated==1.3
flake8-docstrings==1.6.0
flake8-future-import==0.4.7
flake8-plugin-utils==1.3.2
flake8-pytest-style==1.6.0
flake8-string-format==0.3.0

View File

@ -5,9 +5,9 @@ flake8-comprehensions
flake8-debugger
flake8-deprecated
flake8-docstrings
# https://github.com/PyCQA/flake8/issues/325
# flake8-copyright
# flake8-future-import
flake8-copyright
flake8-future-import
# https://github.com/aleGpereira/flake8-mock/issues/10
# flake8-mock
flake8-string-format
flake8-tidy-imports

View File

@ -1,6 +1,23 @@
#!/usr/bin/env python3
# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et:
# Copyright 2015-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org>
#
# This file is part of qutebrowser.
#
# qutebrowser is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# qutebrowser is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>.
"""Fetch and print the most common user agents.
This script fetches the most common user agents according to