summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoofar <toofar@spalge.com>2023-10-16 09:24:52 +1300
committerGitHub <noreply@github.com>2023-10-16 09:24:52 +1300
commite5a7d5c7a3cbceeec7aff0bd9018a429c8edc8d4 (patch)
tree6ee48b1f67fdbfee457784d5efa40ea2c7c77c2e
parent7f9713b20f623fc40473b7167a082d6db0f0fd40 (diff)
parent2a32e1b1aeee4affa3407782f47fe9cc97bef4a4 (diff)
downloadqutebrowser-e5a7d5c7a3cbceeec7aff0bd9018a429c8edc8d4.tar.gz
qutebrowser-e5a7d5c7a3cbceeec7aff0bd9018a429c8edc8d4.zip
Merge pull request #7958 from qutebrowser/update-dependencies
Update dependencies
-rw-r--r--.pylintrc2
-rw-r--r--misc/requirements/requirements-dev.txt2
-rw-r--r--misc/requirements/requirements-pylint.txt10
-rw-r--r--misc/requirements/requirements-pyroma.txt2
-rw-r--r--misc/requirements/requirements-sphinx.txt4
-rw-r--r--misc/requirements/requirements-tests.txt10
-rw-r--r--misc/requirements/requirements-tox.txt2
-rw-r--r--misc/requirements/requirements-vulture.txt2
-rw-r--r--qutebrowser/commands/command.py10
-rw-r--r--qutebrowser/misc/sql.py1
-rw-r--r--scripts/dev/changelog_urls.json4
-rw-r--r--scripts/dev/pylint_checkers/qute_pylint/config.py3
12 files changed, 25 insertions, 27 deletions
diff --git a/.pylintrc b/.pylintrc
index a02732c2d..a6784c0e4 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -3,7 +3,6 @@ ignore=resources.py
extension-pkg-whitelist=PyQt5,PyQt6,sip
load-plugins=qute_pylint.config,
pylint.extensions.docstyle,
- pylint.extensions.emptystring,
pylint.extensions.overlapping_exceptions,
pylint.extensions.code_style,
pylint.extensions.comparison_placement,
@@ -60,6 +59,7 @@ disable=locally-disabled,
useless-param-doc,
wrong-import-order, # doesn't work with qutebrowser.qt, even with known-third-party set
ungrouped-imports, # ditto
+ use-implicit-booleaness-not-comparison-to-zero,
[BASIC]
function-rgx=[a-z_][a-z0-9_]{2,50}$
diff --git a/misc/requirements/requirements-dev.txt b/misc/requirements/requirements-dev.txt
index eb0ace85e..c51b2bf41 100644
--- a/misc/requirements/requirements-dev.txt
+++ b/misc/requirements/requirements-dev.txt
@@ -42,5 +42,5 @@ tomli==2.0.1
twine==4.0.2
typing_extensions==4.8.0
uritemplate==4.1.1
-# urllib3==2.0.5
+# urllib3==2.0.6
zipp==3.17.0
diff --git a/misc/requirements/requirements-pylint.txt b/misc/requirements/requirements-pylint.txt
index 4aabef52c..073894108 100644
--- a/misc/requirements/requirements-pylint.txt
+++ b/misc/requirements/requirements-pylint.txt
@@ -1,6 +1,6 @@
# This file is automatically generated by scripts/dev/recompile_requirements.py
-astroid==2.15.8
+astroid==3.0.0
certifi==2023.7.22
cffi==1.16.0
charset-normalizer==3.3.0
@@ -9,13 +9,12 @@ dill==0.3.7
github3.py==4.0.1
idna==3.4
isort==5.12.0
-lazy-object-proxy==1.9.0
mccabe==0.7.0
pefile==2023.2.7
-platformdirs==3.10.0
+platformdirs==3.11.0
pycparser==2.21
PyJWT==2.8.0
-pylint==2.17.7
+pylint==3.0.1
python-dateutil==2.8.2
./scripts/dev/pylint_checkers
requests==2.31.0
@@ -24,5 +23,4 @@ tomli==2.0.1
tomlkit==0.12.1
typing_extensions==4.8.0
uritemplate==4.1.1
-# urllib3==2.0.5
-wrapt==1.15.0
+# urllib3==2.0.6
diff --git a/misc/requirements/requirements-pyroma.txt b/misc/requirements/requirements-pyroma.txt
index 04cdcefe3..72dc5545c 100644
--- a/misc/requirements/requirements-pyroma.txt
+++ b/misc/requirements/requirements-pyroma.txt
@@ -13,5 +13,5 @@ pyroma==4.2
requests==2.31.0
tomli==2.0.1
trove-classifiers==2023.9.19
-urllib3==2.0.5
+urllib3==2.0.6
zipp==3.17.0
diff --git a/misc/requirements/requirements-sphinx.txt b/misc/requirements/requirements-sphinx.txt
index c28a4c2d0..afc173af6 100644
--- a/misc/requirements/requirements-sphinx.txt
+++ b/misc/requirements/requirements-sphinx.txt
@@ -1,7 +1,7 @@
# This file is automatically generated by scripts/dev/recompile_requirements.py
alabaster==0.7.13
-Babel==2.12.1
+Babel==2.13.0
certifi==2023.7.22
charset-normalizer==3.3.0
docutils==0.20.1
@@ -22,5 +22,5 @@ sphinxcontrib-htmlhelp==2.0.1
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
-urllib3==2.0.5
+urllib3==2.0.6
zipp==3.17.0
diff --git a/misc/requirements/requirements-tests.txt b/misc/requirements/requirements-tests.txt
index 19af1d9f9..137663b10 100644
--- a/misc/requirements/requirements-tests.txt
+++ b/misc/requirements/requirements-tests.txt
@@ -2,18 +2,18 @@
attrs==23.1.0
beautifulsoup4==4.12.2
-blinker==1.6.2
+blinker==1.6.3
certifi==2023.7.22
charset-normalizer==3.3.0
cheroot==10.0.0
click==8.1.7
-coverage==7.3.1
+coverage==7.3.2
exceptiongroup==1.1.3
execnet==2.0.2
filelock==3.12.4
Flask==3.0.0
hunter==3.6.1
-hypothesis==6.87.1
+hypothesis==6.87.3
idna==3.4
importlib-metadata==6.8.0
iniconfig==2.0.0
@@ -51,7 +51,7 @@ tldextract==3.6.0
toml==0.10.2
tomli==2.0.1
typing_extensions==4.8.0
-urllib3==2.0.5
-vulture==2.9.1
+urllib3==2.0.6
+vulture==2.10
Werkzeug==3.0.0
zipp==3.17.0
diff --git a/misc/requirements/requirements-tox.txt b/misc/requirements/requirements-tox.txt
index d98da70d9..00755bbbf 100644
--- a/misc/requirements/requirements-tox.txt
+++ b/misc/requirements/requirements-tox.txt
@@ -7,7 +7,7 @@ distlib==0.3.7
filelock==3.12.4
packaging==23.2
pip==23.2.1
-platformdirs==3.10.0
+platformdirs==3.11.0
pluggy==1.3.0
pyproject-api==1.6.1
setuptools==68.2.2
diff --git a/misc/requirements/requirements-vulture.txt b/misc/requirements/requirements-vulture.txt
index 1d091baf3..9bceeb7b1 100644
--- a/misc/requirements/requirements-vulture.txt
+++ b/misc/requirements/requirements-vulture.txt
@@ -1,4 +1,4 @@
# This file is automatically generated by scripts/dev/recompile_requirements.py
toml==0.10.2
-vulture==2.9.1
+vulture==2.10
diff --git a/qutebrowser/commands/command.py b/qutebrowser/commands/command.py
index 5e4281474..effdcc9b0 100644
--- a/qutebrowser/commands/command.py
+++ b/qutebrowser/commands/command.py
@@ -62,10 +62,12 @@ class Command:
COUNT_COMMAND_VALUES = [usertypes.CommandValue.count,
usertypes.CommandValue.count_tab]
- def __init__(self, *, handler, name, instance=None, maxsplit=None,
- modes=None, not_modes=None, debug=False, deprecated=False,
- no_cmd_split=False, star_args_optional=False, scope='global',
- backend=None, no_replace_variables=False):
+ def __init__(
+ self, *, handler, name, instance=None, maxsplit=None,
+ modes=None, not_modes=None, debug=False, deprecated=False,
+ no_cmd_split=False, star_args_optional=False, scope='global',
+ backend=None, no_replace_variables=False,
+ ): # pylint: disable=too-many-arguments
if modes is not None and not_modes is not None:
raise ValueError("Only modes or not_modes can be given!")
if modes is not None:
diff --git a/qutebrowser/misc/sql.py b/qutebrowser/misc/sql.py
index 1481ba219..b23b862a3 100644
--- a/qutebrowser/misc/sql.py
+++ b/qutebrowser/misc/sql.py
@@ -320,6 +320,7 @@ class Query:
raise BugError("Cannot iterate inactive query")
rec = self.query.record()
fields = [rec.fieldName(i) for i in range(rec.count())]
+ # pylint: disable=prefer-typing-namedtuple
rowtype = collections.namedtuple( # type: ignore[misc]
'ResultRow', fields)
diff --git a/scripts/dev/changelog_urls.json b/scripts/dev/changelog_urls.json
index 1dec20d91..a03f66c59 100644
--- a/scripts/dev/changelog_urls.json
+++ b/scripts/dev/changelog_urls.json
@@ -1,9 +1,8 @@
{
- "pylint": "https://pylint.pycqa.org/en/latest/whatsnew/2/index.html",
+ "pylint": "https://pylint.pycqa.org/en/latest/whatsnew/3/index.html",
"tomlkit": "https://github.com/sdispater/tomlkit/blob/master/CHANGELOG.md",
"dill": "https://github.com/uqfoundation/dill/commits/master",
"isort": "https://github.com/PyCQA/isort/blob/main/CHANGELOG.md",
- "lazy-object-proxy": "https://github.com/ionelmc/python-lazy-object-proxy/blob/master/CHANGELOG.rst",
"mccabe": "https://github.com/PyCQA/mccabe#changes",
"pytest-cov": "https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst",
"pytest-xdist": "https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst",
@@ -93,7 +92,6 @@
"altgraph": "https://github.com/ronaldoussoren/altgraph/blob/master/doc/changelog.rst",
"urllib3": "https://github.com/urllib3/urllib3/blob/main/CHANGES.rst",
"lxml": "https://github.com/lxml/lxml/blob/master/CHANGES.txt",
- "wrapt": "https://github.com/GrahamDumpleton/wrapt/blob/develop/docs/changes.rst",
"cryptography": "https://cryptography.io/en/latest/changelog.html",
"toml": "https://github.com/uiri/toml/releases",
"tomli": "https://github.com/hukkin/tomli/blob/master/CHANGELOG.md",
diff --git a/scripts/dev/pylint_checkers/qute_pylint/config.py b/scripts/dev/pylint_checkers/qute_pylint/config.py
index 283de5d35..be5bae082 100644
--- a/scripts/dev/pylint_checkers/qute_pylint/config.py
+++ b/scripts/dev/pylint_checkers/qute_pylint/config.py
@@ -21,7 +21,6 @@ class ConfigChecker(checkers.BaseChecker):
"""Custom astroid checker for config calls."""
- __implements__ = interfaces.IAstroidChecker
name = 'config'
msgs = {
'E9998': ('%s is no valid config option.', # flake8: disable=S001
@@ -31,7 +30,7 @@ class ConfigChecker(checkers.BaseChecker):
priority = -1
printed_warning = False
- @utils.check_messages('bad-config-option')
+ @utils.only_required_for_messages('bad-config-option')
def visit_attribute(self, node):
"""Visit a getattr node."""
# We're only interested in the end of a config.val.foo.bar chain