We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce7a623 commit f5aae34Copy full SHA for f5aae34
.pre-commit-config.yaml
@@ -1,6 +1,18 @@
1
# YAML formatting specifications: https://yaml.org/spec/1.2.2/
2
3
repos:
4
+ # Generate up-to-date Murfey route manifest
5
+ # NOTE: This will only work if Murfey is installed in the current Python environment
6
+ - repo: local
7
+ hooks:
8
+ - id: generate-route-manifest
9
+ name: Generating Murfey route manifest
10
+ entry: murfey.generate_route_manifest
11
+ language: system
12
+ # Only run if FastAPI router-related modules are changed
13
+ files: ^src/murfey/(instrument_server/.+\.py|server/(main|api/.+)\.py)$
14
+ pass_filenames: false
15
+
16
# Syntax validation and some basic sanity checks
17
- repo: https://github.com/pre-commit/pre-commit-hooks
18
rev: v4.5.0 # Released 2023-10-09
0 commit comments