فهرست منبع

Fix format_grammar to run on lexer.lpp changes (#929)

Jon Meow 4 سال پیش
والد
کامیت
e69ec3f528
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      .pre-commit-config.yaml

+ 1 - 1
.pre-commit-config.yaml

@@ -89,7 +89,7 @@ repos:
         name: Format the executable_semantics grammar file
         entry: executable_semantics/syntax/format_grammar.py
         language: python
-        files: ^executable_semantics/syntax/parser.ypp$
+        files: ^executable_semantics/syntax/(lexer.lpp|parser.ypp)$
         pass_filenames: false
   # Formatters should be run late so that they can re-format any prior changes.
   - repo: https://github.com/psf/black