mirror of
https://github.com/jupyter/notebook.git
synced 2024-11-21 01:11:21 +08:00
48fb973071
* ci cleanup * lint * run ui tests on ubuntu 20.04
50 lines
1.2 KiB
YAML
50 lines
1.2 KiB
YAML
ci:
|
|
autoupdate_schedule: monthly
|
|
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.4.0
|
|
hooks:
|
|
- id: end-of-file-fixer
|
|
- id: check-case-conflict
|
|
- id: check-executables-have-shebangs
|
|
- id: requirements-txt-fixer
|
|
- id: check-added-large-files
|
|
- id: check-case-conflict
|
|
- id: check-toml
|
|
- id: check-yaml
|
|
- id: debug-statements
|
|
- id: forbid-new-submodules
|
|
- id: check-builtin-literals
|
|
- id: trailing-whitespace
|
|
|
|
- repo: https://github.com/python-jsonschema/check-jsonschema
|
|
rev: 0.19.2
|
|
hooks:
|
|
- id: check-github-workflows
|
|
|
|
- repo: https://github.com/psf/black
|
|
rev: 22.10.0
|
|
hooks:
|
|
- id: black
|
|
|
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
|
rev: v0.0.185
|
|
hooks:
|
|
- id: ruff
|
|
args: ["--fix"]
|
|
|
|
- repo: local
|
|
hooks:
|
|
- id: prettier
|
|
name: prettier
|
|
entry: 'npm run prettier:files'
|
|
language: node
|
|
types_or: [json, ts, tsx, javascript, jsx, css]
|
|
stages: [manual]
|
|
- id: integrity
|
|
name: integrity
|
|
entry: 'npm run integrity --force'
|
|
language: node
|
|
stages: [push]
|