Skip to content

Commit

Permalink
chore: update pre-commit config (#1072)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajasnosz authored Sep 6, 2024
1 parent dc5f24d commit 20ebf8f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,28 @@
#
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
rev: v4.6.0
hooks:
- id: check-merge-conflict
- id: debug-statements
- repo: https://github.com/asottile/pyupgrade
rev: v2.31.0
rev: v3.17.0
hooks:
- id: pyupgrade
args:
- --py3-plus
- repo: https://github.com/psf/black
rev: 22.3.0
rev: 24.8.0
hooks:
- id: black
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
args: ["--profile", "black"]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.931
rev: v1.11.2
hooks:
- id: mypy
additional_dependencies: [types-all]
exclude: (^ui_tests|^test*|^docs)
additional_dependencies: [types-requests, types-PyYAML]
2 changes: 1 addition & 1 deletion splunk_connect_for_snmp/snmp/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def do_work(
self,
ir: InventoryRecord,
walk: bool = False,
profiles: List[str] = None,
profiles: Union[List[str], None] = None,
):
retry = False
address = transform_address_to_key(ir.address, ir.port)
Expand Down

0 comments on commit 20ebf8f

Please sign in to comment.