diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bc6d90a7..313fa51c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort - repo: https://github.com/asottile/yesqa @@ -8,20 +8,20 @@ repos: hooks: - id: yesqa - repo: https://github.com/asottile/pyupgrade - rev: v3.15.0 + rev: v3.15.2 hooks: - id: pyupgrade args: ['--py38-plus'] - repo: https://github.com/ambv/black - rev: 23.11.0 + rev: 24.4.2 hooks: - id: black - repo: https://github.com/pycqa/flake8 - rev: 6.1.0 + rev: 7.0.0 hooks: - id: flake8 - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 hooks: - id: check-added-large-files - id: check-ast @@ -41,16 +41,16 @@ repos: - id: requirements-txt-fixer - id: trailing-whitespace - repo: https://github.com/codespell-project/codespell - rev: v2.2.6 + rev: v2.3.0 hooks: - id: codespell exclude_types: [json] - repo: https://github.com/marco-c/taskcluster_yml_validator - rev: v0.0.10 + rev: v0.0.11 hooks: - id: taskcluster_yml - - repo: https://github.com/MozillaSecurity/orion - rev: v0.0.7 + - repo: https://github.com/MozillaSecurity/orion-ci + rev: v0.0.8 hooks: - id: orion_ci - repo: meta diff --git a/grizzly/common/status_reporter.py b/grizzly/common/status_reporter.py index d8097998..231c3ac4 100644 --- a/grizzly/common/status_reporter.py +++ b/grizzly/common/status_reporter.py @@ -80,7 +80,7 @@ def from_file( ignore_kbi: Skip/ignore KeyboardInterrupt. Returns: - TracebackReport containing data from givin log file. + TracebackReport containing data from given log file. """ token = b"Traceback (most recent call last):" assert len(token) < cls.READ_LIMIT diff --git a/sapphire/__init__.py b/sapphire/__init__.py index 6c7815bc..de8b6469 100644 --- a/sapphire/__init__.py +++ b/sapphire/__init__.py @@ -1,6 +1,7 @@ """ Sapphire HTTP server """ + # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. diff --git a/sapphire/conftest.py b/sapphire/conftest.py index 9eb44b84..d0205aac 100644 --- a/sapphire/conftest.py +++ b/sapphire/conftest.py @@ -1,6 +1,7 @@ """ Sapphire unit test fixtures """ + import socket from hashlib import sha1 from http.client import BadStatusLine diff --git a/sapphire/test_connection_manager.py b/sapphire/test_connection_manager.py index af168b86..cab5b0bc 100644 --- a/sapphire/test_connection_manager.py +++ b/sapphire/test_connection_manager.py @@ -1,6 +1,7 @@ """ ConnectionManager unit tests """ + # pylint: disable=protected-access from itertools import count diff --git a/sapphire/test_job.py b/sapphire/test_job.py index 6ef880af..cf96a733 100644 --- a/sapphire/test_job.py +++ b/sapphire/test_job.py @@ -1,6 +1,7 @@ """ Job unit tests """ + # pylint: disable=protected-access from pathlib import Path from platform import system diff --git a/sapphire/test_sapphire.py b/sapphire/test_sapphire.py index a6858b8b..d8e1f252 100644 --- a/sapphire/test_sapphire.py +++ b/sapphire/test_sapphire.py @@ -1,6 +1,7 @@ """ Sapphire unit tests """ + # pylint: disable=protected-access import socket diff --git a/sapphire/test_worker.py b/sapphire/test_worker.py index 9e73ee85..594e8ebe 100644 --- a/sapphire/test_worker.py +++ b/sapphire/test_worker.py @@ -1,6 +1,7 @@ """ Sapphire unit tests """ + # pylint: disable=protected-access import socket diff --git a/tox.ini b/tox.ini index 021aee5e..055c5b1f 100644 --- a/tox.ini +++ b/tox.ini @@ -48,7 +48,7 @@ usedevelop = true commands = pylint -j 0 {posargs} deps = - pylint==3.0.2 + pylint==3.2.3 usedevelop = true [testenv:pypi]