Skip to content

Commit 8668a57

Browse files
authored
Fix several bugs reported by linters (#1882)
1 parent b6111da commit 8668a57

14 files changed

+173
-141
lines changed

.config/dictionary.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
assertIn

.github/release-drafter.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# see https://github.com/ansible-community/devtools
2-
_extends: ansible-community/devtools
1+
# see https://github.com/ansible/team-devtools
2+
_extends: ansible/team-devtools

.github/workflows/ack.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# See https://github.com/ansible-community/devtools/blob/main/.github/workflows/ack.yml
1+
# See https://github.com/ansible/team-devtools/blob/main/.github/workflows/ack.yml
22
name: ack
33
on:
44
pull_request_target:
55
types: [opened, labeled, unlabeled, synchronize]
66

77
jobs:
88
ack:
9-
uses: ansible-community/devtools/.github/workflows/ack.yml@main
9+
uses: ansible/team-devtools/.github/workflows/ack.yml@main

.github/workflows/push.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# See https://github.com/ansible-community/devtools/blob/main/.github/workflows/push.yml
1+
# See https://github.com/ansible/team-devtools/blob/main/.github/workflows/push.yml
22
name: push
33
on:
44
push:
@@ -9,4 +9,4 @@ on:
99

1010
jobs:
1111
ack:
12-
uses: ansible-community/devtools/.github/workflows/push.yml@main
12+
uses: ansible/team-devtools/.github/workflows/push.yml@main

.pre-commit-config.yaml

+4-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
repos:
33
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v4.5.0
4+
rev: v4.6.0
55
hooks:
66
- id: end-of-file-fixer
77
- id: trailing-whitespace
@@ -15,7 +15,7 @@ repos:
1515
- id: check-yaml
1616
files: .*\.(yaml|yml)$
1717
- repo: https://github.com/codespell-project/codespell
18-
rev: v2.2.6
18+
rev: v2.3.0
1919
hooks:
2020
- id: codespell
2121
name: codespell
@@ -27,7 +27,7 @@ repos:
2727
require_serial: false
2828
additional_dependencies: []
2929
- repo: https://github.com/astral-sh/ruff-pre-commit
30-
rev: "v0.3.4"
30+
rev: "v0.6.2"
3131
hooks:
3232
- id: ruff
3333
args: [--fix, --exit-non-zero-on-fix]
@@ -39,11 +39,8 @@ repos:
3939
- id: yamllint
4040
files: \.(yaml|yml)$
4141
- repo: https://github.com/pre-commit/mirrors-mypy
42-
rev: v1.9.0
42+
rev: v1.11.1
4343
hooks:
4444
- id: mypy
4545
additional_dependencies:
4646
- types-requests
47-
- types-pkg_resources
48-
args:
49-
[--no-strict-optional, --ignore-missing-imports, --show-error-codes]

0 commit comments

Comments
 (0)