forked from zauberzeug/nicegui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
32 lines (31 loc) · 962 Bytes
/
.pre-commit-config.yaml
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
default_language_version:
python: python3.8
default_install_hook_types: [pre-commit, pre-push]
default_stages: [commit]
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.5
hooks:
- id: ruff
args: [--fix]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
exclude: &exclusions |
(?x)^(
nicegui/elements/lib/.*|
nicegui/static/es-module-shims\.js|
nicegui/static/fonts/.*|
nicegui/static/fonts\.css|
nicegui/static/lang/.*|
nicegui/static/quasar\..*|
nicegui/static/socket\..*|
nicegui/static/tailwindcss\..*|
nicegui/static/vue\..*|
website/static/fuse\.js\@.*|
examples/fullcalendar/lib/.*
)$
- id: end-of-file-fixer
exclude: *exclusions
- id: double-quote-string-fixer