Skip to content

Commit 48eb3a7

Browse files
Update linters
1 parent 103bff1 commit 48eb3a7

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
repos:
22
- repo: https://github.com/pycqa/isort
3-
rev: 5.12.0
3+
rev: 5.13.2
44
hooks:
55
- id: isort
66
- repo: https://github.com/asottile/yesqa
77
rev: v1.5.0
88
hooks:
99
- id: yesqa
1010
- repo: https://github.com/asottile/pyupgrade
11-
rev: v3.8.0
11+
rev: v3.16.0
1212
hooks:
1313
- id: pyupgrade
1414
args: ['--py38-plus']
1515
- repo: https://github.com/ambv/black
16-
rev: 23.3.0
16+
rev: 24.4.2
1717
hooks:
1818
- id: black
1919
- repo: https://github.com/pycqa/flake8
20-
rev: 6.0.0
20+
rev: 7.1.0
2121
hooks:
2222
- id: flake8
2323
- repo: https://github.com/pre-commit/pre-commit-hooks
24-
rev: v4.4.0
24+
rev: v4.6.0
2525
hooks:
2626
- id: check-ast
2727
- id: check-docstring-first
@@ -37,16 +37,16 @@ repos:
3737
args: ['--django']
3838
- id: check-json
3939
- repo: https://github.com/codespell-project/codespell
40-
rev: v2.2.5
40+
rev: v2.3.0
4141
hooks:
4242
- id: codespell
4343
exclude_types: [json]
4444
- repo: https://github.com/marco-c/taskcluster_yml_validator
45-
rev: v0.0.10
45+
rev: v0.0.11
4646
hooks:
4747
- id: taskcluster_yml
4848
- repo: https://github.com/MozillaSecurity/orion-ci
49-
rev: v0.0.8
49+
rev: v0.0.9
5050
hooks:
5151
- id: orion_ci
5252
- repo: meta

src/lithium/reducer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ def error(self, message: str) -> None: # type: ignore[override]
249249
LOG.info("Testcase type: %s", atom)
250250
self.testcase = testcase_types[atom]()
251251
self.testcase.handle_args(args)
252+
# pylint: disable=possibly-used-before-assignment
252253
self.testcase.load(testcase_filename)
253254

254255
self.condition_script = rel_or_abs_import(extra_args[0])

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ skip_install = true
3838
commands =
3939
mypy --install-types --non-interactive {posargs}
4040
deps =
41-
mypy==v1.3.0
41+
mypy==v1.10.1
4242
usedevelop = true
4343

4444
[testenv:pylint]
4545
commands =
4646
pylint {posargs}
4747
deps =
48-
pylint==2.17.4
48+
pylint==3.2.5
4949
usedevelop = true
5050

5151
[testenv:pypi]

0 commit comments

Comments
 (0)