forked from DaisyDiff/DaisyDiff
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Updated pre-commit hooks to match java-repo-template
Refs: #72
- Loading branch information
1 parent
3589f29
commit d57f126
Showing
311 changed files
with
377 additions
and
390 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
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 |
---|---|---|
@@ -1,31 +1,23 @@ | ||
--- | ||
name: PR checks | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- edited | ||
- synchronize | ||
- reopened | ||
- unlocked | ||
|
||
types: [opened, edited, synchronize, reopened, unlocked] | ||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
check-conventional-commit: | ||
name: Check commit messages | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||
with: | ||
ref: "${{ github.event.pull_request.head.ref }}" | ||
repository: "${{ github.event.pull_request.head.repo.full_name }}" | ||
ref: ${{ github.event.pull_request.head.ref }} | ||
repository: ${{ github.event.pull_request.head.repo.full_name }} | ||
fetch-depth: 0 | ||
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5 | ||
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5 | ||
with: | ||
cache: "pip" # caching pip dependencies | ||
cache: pip # caching pip dependencies | ||
- run: pip install commitizen | ||
- name: Check commit messages | ||
run: cz check --rev-range origin/${GITHUB_BASE_REF}.. |
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
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 |
---|---|---|
|
@@ -5,4 +5,4 @@ bin | |
.settings | ||
|
||
.idea | ||
*.iml | ||
*.iml |
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
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
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
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
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
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 |
---|---|---|
|
@@ -239,4 +239,4 @@ private void addAttributes(Modification mod, AttributesImpl attrs) { | |
|
||
} | ||
|
||
} | ||
} |
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
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
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
2 changes: 1 addition & 1 deletion
2
src/test/resources/failed_tests/General/Minimal/26 Attribute change/expected.html
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<html><head><link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/DaisyDiff/DaisyDiff@5f7a3960f531179f59b0abdf6947efb0b72eaaa6/css/diff.css"></link></head> | ||
<p>The product <td width="50%"><span class="diff-html-changed" id="changed-diff-0" changes="<ul class='changelist'><li>Moved out of a <b>cell</b>.</li><li>Moved to a <b>cell</b> with width 50%.</li></ul>" previous="first-diff" changeId="changed-diff-0" next="last-diff">should always</span></td> be given twice a week.</p> | ||
</html> | ||
</html> |
2 changes: 1 addition & 1 deletion
2
src/test/resources/failed_tests/General/Minimal/27 Tag scope/expected.html
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<html><head><link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/DaisyDiff/DaisyDiff@5f7a3960f531179f59b0abdf6947efb0b72eaaa6/css/diff.css"></link></head> | ||
<p>The product <td>should always<span class="diff-html-added" id="added-diff-0" previous="first-diff" changeId="added-diff-0" next="changed-diff-0"></span></td><span class="diff-html-changed" changes="Moved out of a <b>cell</b>." previous="added-diff-0" changeId="changed-diff-0" next="removed-diff-0"> </span><span class="diff-html-changed" id="changed-diff-0" changes="Moved out of a <b>cell</b>." previous="added-diff-0" changeId="changed-diff-0" next="removed-diff-0">be </span><span class="diff-html-removed" id="removed-diff-0" previous="changed-diff-0" changeId="removed-diff-0" next="last-diff"></span> given twice a week.</p> | ||
</html> | ||
</html> |
2 changes: 1 addition & 1 deletion
2
src/test/resources/failed_tests/General/Minimal/28 Attribute scope/expected.html
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<html><head><link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/DaisyDiff/DaisyDiff@5f7a3960f531179f59b0abdf6947efb0b72eaaa6/css/diff.css"></link></head> | ||
<p>The product <td width="50%"><span class="diff-html-changed" id="changed-diff-0" changes="<ul class='changelist'><li>Moved out of a <b>cell</b> with width 30%.</li><li>Moved to a <b>cell</b> with width 50%.</li></ul>" previous="first-diff" changeId="changed-diff-0" next="added-diff-0">should always</span><span class="diff-html-added" id="added-diff-0" previous="changed-diff-0" changeId="added-diff-0" next="changed-diff-1"></span></td><span class="diff-html-changed" changes="Moved out of a <b>cell</b> with width 30%." previous="added-diff-0" changeId="changed-diff-1" next="removed-diff-0"> </span><span class="diff-html-changed" id="changed-diff-1" changes="Moved out of a <b>cell</b> with width 30%." previous="added-diff-0" changeId="changed-diff-1" next="removed-diff-0">be </span><span class="diff-html-removed" id="removed-diff-0" previous="changed-diff-1" changeId="removed-diff-0" next="last-diff"></span> given twice a week.</p> | ||
</html> | ||
</html> |
2 changes: 1 addition & 1 deletion
2
src/test/resources/failed_tests/General/Minimal/29 Table attribute add/expected.html
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<html><head><link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/DaisyDiff/DaisyDiff@5f7a3960f531179f59b0abdf6947efb0b72eaaa6/css/diff.css"></link></head> | ||
<p>The product <td width="50%"><span class="diff-html-changed" id="changed-diff-0" changes="<ul class='changelist'><li>Moved out of a <b>cell</b> with width 30%.</li><li>Moved to a <b>cell</b> with width 50%.</li></ul>" previous="first-diff" changeId="changed-diff-0" next="added-diff-0">should </span><span class="diff-html-added" id="added-diff-0" previous="changed-diff-0" changeId="added-diff-0" next="changed-diff-1">always </span><span class="diff-html-changed" id="changed-diff-1" changes="<ul class='changelist'><li>Moved out of a <b>cell</b> with width 30%.</li><li>Moved to a <b>cell</b> with width 50%.</li></ul>" previous="added-diff-0" changeId="changed-diff-1" next="last-diff">be</span></td> given twice a week.</p> | ||
</html> | ||
</html> |
2 changes: 1 addition & 1 deletion
2
src/test/resources/testdata/General/Minimal/01 add last Word/expected.html
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<html><head><link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/DaisyDiff/DaisyDiff@5f7a3960f531179f59b0abdf6947efb0b72eaaa6/css/diff.css"></link></head> | ||
<p>This is a sample <b>sentence</b> with a last word <span class="diff-html-added" id="added-diff-0" previous="first-diff" changeId="added-diff-0" next="last-diff">change</span>.</p> | ||
</html> | ||
</html> |
2 changes: 1 addition & 1 deletion
2
src/test/resources/testdata/General/Minimal/02 remove last Word/expected.html
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<html><head><link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/DaisyDiff/DaisyDiff@5f7a3960f531179f59b0abdf6947efb0b72eaaa6/css/diff.css"></link></head> | ||
<p>This is a sample <b>sentence</b> with patients<span class="diff-html-removed" previous="first-diff" changeId="removed-diff-0" next="last-diff"> </span><span class="diff-html-removed" id="removed-diff-0" previous="first-diff" changeId="removed-diff-0" next="last-diff">(CDC stage A)</span>.</p> | ||
</html> | ||
</html> |
2 changes: 1 addition & 1 deletion
2
src/test/resources/testdata/General/Minimal/03 dot/expected.html
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<html><head><link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/DaisyDiff/DaisyDiff@5f7a3960f531179f59b0abdf6947efb0b72eaaa6/css/diff.css"></link></head> | ||
<p>This is a sample <b>sentence</b> with a full stop<span class="diff-html-removed" id="removed-diff-0" previous="first-diff" changeId="removed-diff-0" next="last-diff">.</span> | ||
</p> | ||
</html> | ||
</html> |
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 |
---|---|---|
|
@@ -7,8 +7,8 @@ | |
<ul> | ||
<li>BA</li> | ||
</ul> | ||
</li> | ||
<li>This is a ship</li> | ||
</li> | ||
<li>This is a ship</li> | ||
</ul> | ||
|
||
</body> | ||
|
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 |
---|---|---|
|
@@ -7,8 +7,8 @@ | |
<ul> | ||
<li>BA</li> | ||
</ul> | ||
</li> | ||
<li>This is a ship</li> | ||
</li> | ||
<li>This is a ship</li> | ||
</ul> | ||
|
||
</body> | ||
|
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
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
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
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
2 changes: 1 addition & 1 deletion
2
src/test/resources/testdata/General/Minimal/13 HTML entities/a.html
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<html> | ||
<body> | ||
<p> This & is a < test</p> | ||
<p> This & is a < test</p> | ||
</body> | ||
</html> |
2 changes: 1 addition & 1 deletion
2
src/test/resources/testdata/General/Minimal/13 HTML entities/a.xml
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<html> | ||
<body> | ||
<p> This & is a < test</p> | ||
<p> This & is a < test</p> | ||
</body> | ||
</html> |
2 changes: 1 addition & 1 deletion
2
src/test/resources/testdata/General/Minimal/13 HTML entities/b.html
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<html> | ||
<body> | ||
<p> This & is a < test < more</p> | ||
<p> This & is a < test < more</p> | ||
</body> | ||
</html> |
2 changes: 1 addition & 1 deletion
2
src/test/resources/testdata/General/Minimal/13 HTML entities/b.xml
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<html> | ||
<body> | ||
<p> This & is a < test < more</p> | ||
<p> This & is a < test < more</p> | ||
</body> | ||
</html> |
2 changes: 1 addition & 1 deletion
2
src/test/resources/testdata/General/Minimal/13 HTML entities/expected.html
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<html><head><link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/DaisyDiff/DaisyDiff@5f7a3960f531179f59b0abdf6947efb0b72eaaa6/css/diff.css"></link></head> | ||
<p> This & is a < test <span class="diff-html-added" id="added-diff-0" previous="first-diff" changeId="added-diff-0" next="last-diff">< more</span> | ||
</p> | ||
</html> | ||
</html> |
2 changes: 1 addition & 1 deletion
2
src/test/resources/testdata/General/Minimal/14 greek entities/a.html
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<html> | ||
<body> | ||
<p> ΓΘΞ</p> | ||
<p> ΓΘΞ</p> | ||
</body> | ||
</html> |
2 changes: 1 addition & 1 deletion
2
src/test/resources/testdata/General/Minimal/14 greek entities/a.xml
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<html> | ||
<body> | ||
<p> ΓΘΞ</p> | ||
<p> ΓΘΞ</p> | ||
</body> | ||
</html> |
2 changes: 1 addition & 1 deletion
2
src/test/resources/testdata/General/Minimal/14 greek entities/b.html
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<html> | ||
<body> | ||
<p> ΓΘΞΣ</p> | ||
<p> ΓΘΞΣ</p> | ||
</body> | ||
</html> |
2 changes: 1 addition & 1 deletion
2
src/test/resources/testdata/General/Minimal/14 greek entities/b.xml
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<html> | ||
<body> | ||
<p> ΓΘΞΣ</p> | ||
<p> ΓΘΞΣ</p> | ||
</body> | ||
</html> |
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
2 changes: 1 addition & 1 deletion
2
src/test/resources/testdata/General/Minimal/15 greek chars/a.html
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<html> | ||
<body> | ||
<p> Ελληνική λέξη</p> | ||
<p> Ελληνική λέξη</p> | ||
</body> | ||
</html> |
2 changes: 1 addition & 1 deletion
2
src/test/resources/testdata/General/Minimal/15 greek chars/a.xml
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<html> | ||
<body> | ||
<p> Ελληνική λέξη</p> | ||
<p> Ελληνική λέξη</p> | ||
</body> | ||
</html> |
2 changes: 1 addition & 1 deletion
2
src/test/resources/testdata/General/Minimal/15 greek chars/b.html
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<html> | ||
<body> | ||
<p> Ελληνική λέξης</p> | ||
<p> Ελληνική λέξης</p> | ||
</body> | ||
</html> |
Oops, something went wrong.