summaryrefslogtreecommitdiff
path: root/qutebrowser/commands/parser.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-03-18 15:24:58 +0100
committerFlorian Bruhin <me@the-compiler.org>2021-03-18 15:33:45 +0100
commitc158cafe3395e130946cb192247e544251da8601 (patch)
treeef67df64cf200b33d25875fbc0e4af498a1378bc /qutebrowser/commands/parser.py
parent3d1f975391ef61a43490e93b4ce0c54fdd5c22ab (diff)
downloadqutebrowser-c158cafe3395e130946cb192247e544251da8601.tar.gz
qutebrowser-c158cafe3395e130946cb192247e544251da8601.zip
As for the mypy unreachable warning, see: See https://github.com/python/mypy/issues/7214 and https://github.com/python/mypy/issues/8766 Includes cherry-pick of 27ad47825279a39141efd11ec9cc54ff2a872517
Diffstat (limited to 'qutebrowser/commands/parser.py')
-rw-r--r--qutebrowser/commands/parser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qutebrowser/commands/parser.py b/qutebrowser/commands/parser.py
index 5adbc003c..06a20cdf6 100644
--- a/qutebrowser/commands/parser.py
+++ b/qutebrowser/commands/parser.py
@@ -15,12 +15,12 @@
# 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 <http://www.gnu.org/licenses/>.
+# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>.
"""Module for parsing commands entered into the browser."""
import dataclasses
-from typing import Optional, List, Mapping, Iterator, Union
+from typing import List, Iterator
from qutebrowser.commands import cmdexc, command
from qutebrowser.misc import split, objects