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 — PteraSoftware/.pre-commit-config.yaml at main · camUrban/PteraSoftware

Expand file tree

/

.pre-commit-config.yaml

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
127 lines (127 loc) · 4.98 KB
/

.pre-commit-config.yaml

Copy path

File metadata and controls

127 lines (127 loc) · 4.98 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
repos:
# Fixers: normalize bytes first so later hooks see clean files.
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
hooks:
- id: end-of-file-fixer
name: fixer end-of-files
- id: trailing-whitespace
name: fixer trailing-whitespace
- id: mixed-line-ending
name: fixer mixed-line-endings
args: [--fix=lf]
- id: fix-byte-order-marker
name: fixer byte-order-marks
- id: requirements-txt-fixer
name: fixer requirements-txt
# Auto-formatters: rewrite code on top of the normalized bytes.
- repo: https://github.com/pycqa/isort
rev: 9f905615631c545f5aea2516508109350d1d2f7d # frozen: 9.0.2a3
hooks:
- id: isort
name: fixer isort
- repo: https://github.com/psf/black
rev: 258e7dbf348bc23cb70b8cdf693481c04634ebcc # frozen: 26.10.1
hooks:
- id: black
name: fixer black
- repo: https://github.com/PyCQA/docformatter
rev: 0032269a0e65c068af9cd86c9a8859a0ddd568d6 # frozen: v1.7.8
hooks:
- id: docformatter
name: fixer docformatter
additional_dependencies: [tomli]
args: [--in-place, --config, ./pyproject.toml]
files: ^(pterasoftware|examples|scripts|tests|validation|docs)/
# Validators: read-only, run against the final state.
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
hooks:
- id: check-merge-conflict
name: checker merge-conflicts
- id: check-case-conflict
name: checker case-conflicts
- id: check-illegal-windows-names
name: checker illegal-names
- id: check-symlinks
name: checker lost-symlinks
- id: destroyed-symlinks
name: checker destroyed-symlinks
- id: check-yaml
name: checker yaml-files
- id: check-toml
name: checker toml-files
- id: check-xml
name: checker xml-files
- id: check-json
name: checker json-files
- id: detect-private-key
name: checker private-keys
- id: forbid-submodules
name: checker submodules
- id: check-vcs-permalinks
name: checker vcs-permalinks
- id: check-executables-have-shebangs
name: checker exec-shebangs
- id: check-shebang-scripts-are-executable
name: checker shebang-execs
- id: check-added-large-files
name: checker large-files
# The reference output tree holds rendered animations (webp) and plots that
# exceed the default 500 KB ceiling. Exclude it so example artifacts can be
# committed without raising the global limit.
exclude: ^docs/examples_expected_output/
- id: debug-statements
name: checker debug-statements
- repo: https://github.com/codespell-project/codespell
rev: 57b21406f092110c18776e39b0bda50d37c945c8 # frozen: v2.4.3
hooks:
- id: codespell
name: checker codespell
# The rendered HTML reports embed base64-encoded TTFs. Random byte sequences in
# the base64 stream collide with codespell's small typo dictionary (e.g., AEr,
# ABL, gEs), so exclude the reports tree where these blobs live.
exclude: ^docs/_static/benchmarks/.*\.html$
- repo: https://github.com/zizmorcore/zizmor-pre-commit
rev: c92afdf2c6ca336aaa8f39e2bd8d48f62dbd8e1f # frozen: v1.31.1
hooks:
- id: zizmor
name: checker zizmor
- repo: https://github.com/camUrban/octowrap
rev: 62a46fbcec15a7ca270231deaff5e4e51494fbb0 # frozen: v0.7.1
hooks:
# On failure, octowrap prints the fix commands, built from the interpreter in
# pre-commit's cached hook environment so the interactive fix runs against this
# exact pinned copy.
- id: octowrap-check
name: checker octowrap-check
- repo: local
hooks:
# The hooks in this repo run with language: system, so pre-commit executes
# whatever tool versions the active environment holds instead of managing pinned
# copies itself. This check runs first and fails when those versions have drifted
# from the exact pins in requirements_dev.txt.
- id: pinned-versions
name: checker pinned-versions
entry: python scripts/check_pinned_versions.py
language: system
always_run: true
pass_filenames: false
- id: ascii-only
name: checker ascii-only
entry: python scripts/check_ascii_only.py
language: system
types: [text]
exclude: '\.(svg|ui)$'
- id: private-access
name: checker private-access
entry: python scripts/check_private_access.py
language: system
always_run: true
pass_filenames: false
- id: mypy
name: checker mypy
entry: mypy pterasoftware examples scripts tests validation docs/website
language: system
always_run: true
pass_filenames: false
You are visitor 01402792 — 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.