Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion scripts/check_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
1 change: 0 additions & 1 deletion shellhub/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
ShellHubBaseException,
)


__all__ = [
"ShellHub",
"ShellHubDevice",
Expand Down
Loading