Skip to content

Commit f56cd14

Browse files
authored
Linters refresh (#29)
1 parent 6f5c517 commit f56cd14

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,15 @@ repos:
2222
types_or: [yaml, markdown, html, css, scss, javascript, json]
2323
args: [--prose-wrap=always]
2424

25-
- repo: https://github.com/MarcoGorelli/absolufy-imports
26-
rev: v0.3.1
27-
hooks:
28-
- id: absolufy-imports
29-
name: absolufy-imports
30-
3125
- repo: https://github.com/astral-sh/ruff-pre-commit
32-
rev: v0.8.4
26+
rev: v0.9.4
3327
hooks:
28+
- id: ruff-format
3429
- id: ruff
3530
args: ["--fix", "--show-fixes"]
36-
- id: ruff-format
3731

3832
- repo: https://github.com/codespell-project/codespell
39-
rev: v2.3.0
33+
rev: v2.4.1
4034
hooks:
4135
- id: codespell
4236
additional_dependencies:
@@ -54,13 +48,13 @@ repos:
5448
additional_dependencies: ["validate-pyproject-schema-store[all]"]
5549

5650
- repo: https://github.com/python-jsonschema/check-jsonschema
57-
rev: "0.30.0"
51+
rev: "0.31.1"
5852
hooks:
5953
- id: check-dependabot
6054
- id: check-github-workflows
6155

6256
- repo: https://github.com/pre-commit/mirrors-mypy
63-
rev: v1.14.0
57+
rev: v1.14.1
6458
hooks:
6559
- id: mypy
6660
additional_dependencies:

HOW_TO_RELEASE

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,6 @@ Time required: about an hour.
6060
14g. The next day, test the conda-forge release
6161
conda search pshell
6262
conda create -n pshell-test pshell
63+
conda activate pshell-test
6364
conda list
64-
python -m 'import pshell'
65+
python -c 'import pshell'

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ select = [
119119
"PL", # pylint
120120
"UP", # pyupgrade
121121
"RUF", # unused-noqa
122+
"TID", # tidy-ups
122123
"EXE001", # Shebang is present but file is not executable
123124
]
124125

0 commit comments

Comments
 (0)