-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
45 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,14 +32,15 @@ repos: | |
- id: detect-private-key | ||
- id: double-quote-string-fixer | ||
- id: end-of-file-fixer | ||
exclude: \.copier-answers\.yml | ||
exclude: \.copier-answers\.yml|__snapshots__/.*\.ambr | ||
- id: fix-byte-order-marker | ||
- id: fix-encoding-pragma | ||
args: [--remove] | ||
- id: forbid-new-submodules | ||
- id: mixed-line-ending | ||
args: [--fix=auto] | ||
- id: trailing-whitespace | ||
exclude: __snapshots__/.*\.ambr | ||
- repo: https://github.com/commitizen-tools/commitizen | ||
rev: 3.6.0 | ||
hooks: | ||
|
@@ -64,7 +65,7 @@ repos: | |
# Note: this version must be the same as the hook revision | ||
- "[email protected]" | ||
- "prettier-plugin-sh" | ||
exclude: \.copier-answers\.yml|tests/.*/cassettes/.*\.yaml|tests/.*assert-cache.*/.+\.json | ||
exclude: \.copier-answers\.yml|tests/.*/cassettes/.*\.yaml | ||
types_or: [html, javascript, json, shell, yaml] | ||
- repo: https://github.com/adrienverge/yamllint.git | ||
rev: v1.32.0 | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
tests/code_tag_collector/__snapshots__/test_collector.ambr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# serializer version: 1 | ||
# name: test__format_report | ||
''' | ||
|
||
| Type | Comment | Last Edit | Source File | | ||
|--------|-----------|-------------|---------------------| | ||
| TODO | Example 2 | N/A | data/test_project:1 | | ||
|
||
Found code tags for TODO (1) | ||
|
||
''' | ||
# --- | ||
# name: test__search_lines | ||
list([ | ||
_CodeTag(lineno=2, tag='FIXME', text='Show README.md in the documentation (may need to update paths?)")'), | ||
_CodeTag(lineno=3, tag='FYI', text='Replace src_examples_dir and make more generic to specify code to include in documentation'), | ||
_CodeTag(lineno=4, tag='HACK', text='Show table of contents in __init__.py file'), | ||
_CodeTag(lineno=7, tag='REVIEW', text='Show table of contents in __init__.py file'), | ||
_CodeTag(lineno=10, tag='HACK', text='Support unconventional dashed code tags'), | ||
_CodeTag(lineno=13, tag='FIXME', text='and FYI: in the same line, but only match the first'), | ||
]) | ||
# --- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters