diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 191f044..6dfac55 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,27 +7,27 @@ repos: language: script stages: [ commit-msg ] - repo: https://github.com/pycqa/flake8 - rev: 7.0.0 + rev: 7.3.0 hooks: - id: flake8 - - repo: https://github.com/ambv/black - rev: 24.1.1 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 26.1.0 hooks: - id: black exclude: ^migrations/ language_version: python3 - - repo: https://github.com/asottile/reorder_python_imports - rev: v3.12.0 + - repo: https://github.com/asottile/reorder-python-imports + rev: v3.16.0 hooks: - id: reorder-python-imports args: [--py3-plus] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.8.0 + rev: v1.19.1 hooks: - id: mypy additional_dependencies: ['types-requests'] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v6.0.0 hooks: - id: check-merge-conflict - id: debug-statements diff --git a/scripts/check_version.py b/scripts/check_version.py index 6ddbe3d..f4f4c61 100644 --- a/scripts/check_version.py +++ b/scripts/check_version.py @@ -3,7 +3,6 @@ from packaging import version - cat_cmd = subprocess.Popen(("cat", "shellhub/__init__.py"), stdout=subprocess.PIPE) output = subprocess.check_output(("grep", "__version__"), stdin=cat_cmd.stdout).decode("utf-8").strip() cat_cmd.wait() diff --git a/shellhub/__init__.py b/shellhub/__init__.py index bfe43a1..427efc9 100644 --- a/shellhub/__init__.py +++ b/shellhub/__init__.py @@ -10,7 +10,6 @@ ShellHubBaseException, ) - __all__ = [ "ShellHub", "ShellHubDevice",