Skip to content

Commit

Permalink
maintenance cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Oct 11, 2022
1 parent b68c0f0 commit 9ff2029
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs:
run: |
pip install -e .
- name: Check Release
uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v1
uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
14 changes: 10 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,16 @@ repos:
files: \.py$
args: [--profile=black]

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.1
- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.10.1
hooks:
- id: prettier
- id: validate-pyproject
stages: [manual]

- repo: https://github.com/executablebooks/mdformat
rev: 0.7.16
hooks:
- id: mdformat

- repo: https://github.com/asottile/pyupgrade
rev: v3.0.0
Expand Down Expand Up @@ -60,7 +66,7 @@ repos:
- id: mypy
exclude: jupyter_client/tests
args: ["--config-file", "pyproject.toml"]
additional_dependencies: [tornado, pytest]
additional_dependencies: [tornado, pytest, traitlets, jupyter_server, terminado]
stages: [manual]

- repo: https://github.com/sirosen/check-jsonschema
Expand Down
11 changes: 2 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ Homepage = "https://jupyter.org"
[project.optional-dependencies]
test = [
"coverage",
"jupyter_server[test]>=2.0.0a0",
"pytest>=6.0",
"jupyter_server[test]>=2.0.0rc0",
"pytest>=7.0",
"pytest_tornasync",
"pytest-cov",
"pytest-timeout",
Expand Down Expand Up @@ -86,13 +86,6 @@ warn_redundant_casts = true
warn_return_any = true
warn_unused_ignores = true

[[tool.mypy.overrides]]
module = [
"traitlets.*",
"jupyter_server.*",
"terminado"
]
ignore_missing_imports = true

[tool.jupyter-releaser]
skip = ["check-links"]

0 comments on commit 9ff2029

Please sign in to comment.