forked from zauberzeug/nicegui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
35 lines (33 loc) · 910 Bytes
/
.pre-commit-config.yaml
File metadata and controls
35 lines (33 loc) · 910 Bytes
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
default_language_version:
python: python3.8
default_install_hook_types: [pre-commit, pre-push]
default_stages: [commit]
exclusions: &exclusions
exclude: |
(?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/.*
)$
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
<<: *exclusions
- id: end-of-file-fixer
<<: *exclusions
- id: double-quote-string-fixer