GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — scikit-learn/.pre-commit-config.yaml at main · scikit-learn/scikit-learn

Expand file tree

/

.pre-commit-config.yaml

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
57 lines (57 loc) · 2.32 KB
/

.pre-commit-config.yaml

Copy path

File metadata and controls

57 lines (57 loc) · 2.32 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
exclude: '^(.git/|sklearn/externals/|asv_benchmarks/env/)'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
# WARNING if you update ruff version here, remember to update
# sklearn/_min_dependencies.py and doc .rst files mentioning ruff==<version>
rev: v0.12.2
hooks:
- id: ruff-check
args: ["--fix", "--output-format=full"]
- id: ruff-format
- repo: https://github.com/facebook/pyrefly-pre-commit
# NOTE if you update the pyrefly version here, remember to update
# sklearn/_min_dependencies.py as well. This is the pyrefly version used
# for type checking (not a separate pre-commit hook version).
rev: 1.2.0
hooks:
- id: pyrefly-check
name: Pyrefly (type checking)
# We set `pytest` to an arbitrary recent version to keep it consistent with the
# linting settings in `build_tools/update_environments_and_lock_files.py`. They
# should be updated from time to time in both places.
additional_dependencies: [pytest==9.1.0]
- repo: https://github.com/MarcoGorelli/cython-lint
# NOTE if you update the cython-lint version here, remember to update
# sklearn/_min_dependencies.py as well
rev: v0.21.1
hooks:
# TODO: add the double-quote-cython-strings hook when it's usability has improved:
# possibility to pass a directory and use it as a check instead of auto-formatter.
- id: cython-lint
args: [--ban-relative-imports]
- repo: https://github.com/sphinx-contrib/sphinx-lint
# NOTE if you update the sphinx-lint version here, remember to update
# sklearn/_min_dependencies.py as well
rev: v1.0.2
hooks:
- id: sphinx-lint
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.7.1
hooks:
- id: prettier
files: ^doc/css/styles/|^doc/js/scripts/
exclude: ^doc/js/scripts/vendor/
types_or: ["css", "javascript"]
- repo: https://github.com/codespell-project/codespell
# Configuration for codespell is in pyproject.toml
# NOTE if you update the codespell version here, remember to update
# sklearn/_min_dependencies.py as well
rev: v2.4.1
hooks:
- id: codespell
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.