Skip to content

Commit

Permalink
Fix several bugs reported by linters
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea committed Aug 24, 2024
1 parent b6111da commit a58e3c5
Show file tree
Hide file tree
Showing 11 changed files with 167 additions and 135 deletions.
1 change: 1 addition & 0 deletions .config/dictionary.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
assertIn
11 changes: 4 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
Expand All @@ -15,7 +15,7 @@ repos:
- id: check-yaml
files: .*\.(yaml|yml)$
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
rev: v2.3.0
hooks:
- id: codespell
name: codespell
Expand All @@ -27,7 +27,7 @@ repos:
require_serial: false
additional_dependencies: []
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.3.4"
rev: "v0.6.2"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand All @@ -39,11 +39,8 @@ repos:
- id: yamllint
files: \.(yaml|yml)$
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.9.0
rev: v1.11.1
hooks:
- id: mypy
additional_dependencies:
- types-requests
- types-pkg_resources
args:
[--no-strict-optional, --ignore-missing-imports, --show-error-codes]
Loading

0 comments on commit a58e3c5

Please sign in to comment.