Skip to content

Commit 7f61340

Browse files
committed
try again
1 parent 614ba03 commit 7f61340

File tree

2 files changed

+2
-84
lines changed

2 files changed

+2
-84
lines changed

.pre-commit-config.yaml

+2-68
Original file line numberDiff line numberDiff line change
@@ -1,76 +1,10 @@
1-
ci:
2-
autoupdate_schedule: monthly
3-
autoupdate_commit_msg: "chore: update pre-commit hooks"
4-
51
repos:
62
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: v4.5.0
3+
rev: v4.4.0
84
hooks:
9-
- id: check-case-conflict
10-
- id: check-ast
11-
- id: check-docstring-first
12-
- id: check-executables-have-shebangs
13-
- id: check-added-large-files
14-
- id: check-case-conflict
15-
- id: check-merge-conflict
16-
- id: check-json
17-
- id: check-toml
18-
- id: check-yaml
19-
- id: debug-statements
205
- id: end-of-file-fixer
21-
- id: trailing-whitespace
226

237
- repo: https://github.com/python-jsonschema/check-jsonschema
248
rev: 0.27.3
259
hooks:
26-
- id: check-github-workflows
27-
28-
- repo: https://github.com/executablebooks/mdformat
29-
rev: 0.7.17
30-
hooks:
31-
- id: mdformat
32-
additional_dependencies:
33-
[mdformat-gfm, mdformat-frontmatter, mdformat-footnote]
34-
35-
- repo: https://github.com/pre-commit/mirrors-prettier
36-
rev: "v4.0.0-alpha.8"
37-
hooks:
38-
- id: prettier
39-
types_or: [yaml, html, json]
40-
41-
- repo: https://github.com/codespell-project/codespell
42-
rev: "v2.2.6"
43-
hooks:
44-
- id: codespell
45-
args: ["-L", "sur,nd"]
46-
47-
- repo: https://github.com/pre-commit/pygrep-hooks
48-
rev: "v1.10.0"
49-
hooks:
50-
- id: rst-backticks
51-
- id: rst-directive-colons
52-
- id: rst-inline-touching-normal
53-
54-
- repo: https://github.com/pre-commit/mirrors-mypy
55-
rev: "v1.8.0"
56-
hooks:
57-
- id: mypy
58-
files: jupyter_server
59-
stages: [manual]
60-
additional_dependencies:
61-
["traitlets>=5.13", "jupyter_core>=5.5", "jupyter_client>=8.5"]
62-
63-
- repo: https://github.com/astral-sh/ruff-pre-commit
64-
rev: v0.1.9
65-
hooks:
66-
- id: ruff
67-
types_or: [python, jupyter]
68-
args: ["--fix", "--show-fixes"]
69-
- id: ruff-format
70-
types_or: [python, jupyter]
71-
72-
- repo: https://github.com/scientific-python/cookie
73-
rev: "2023.12.21"
74-
hooks:
75-
- id: sp-repo-review
76-
additional_dependencies: ["repo-review[cli]"]
10+
- id: check-github-workflows

pyproject.toml

-16
Original file line numberDiff line numberDiff line change
@@ -88,19 +88,3 @@ features = ["test"]
8888
dependencies = ["coverage[toml]", "pytest-cov"]
8989
[tool.hatch.envs.cov.scripts]
9090
test = "python -m pytest -vv --cov kernel_gateway --cov-branch --cov-report term-missing:skip-covered {args}"
91-
92-
[tool.ruff.lint]
93-
unfixable = [
94-
# Don't touch print statements
95-
"T201",
96-
# Don't touch unused imports
97-
"F403",
98-
# Don't touch noqa lines
99-
"RUF100",
100-
]
101-
102-
[tool.ruff]
103-
line-length = 100
104-
105-
[tool.ruff.format]
106-
docstring-code-format = true

0 commit comments

Comments
 (0)