Skip to content

Commit 7c5e995

Browse files
authored
Update pyproject (#392)
* feat: update changelog with prose processing * chore: update pyproject and precommit * chore: update pyproject and precommit * fix: move customize to install * chore: update pyproject and precommit * chore update pyproject and precommit * chore: update pyproject and precommit * chore: update pyproject and precommit, note flase positive on duplication * chore: switch to AT print format diff
1 parent 30e6dd7 commit 7c5e995

File tree

6 files changed

+20
-179
lines changed

6 files changed

+20
-179
lines changed

.github/validate_customizations.py

Lines changed: 0 additions & 166 deletions
This file was deleted.
Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Print Format Diff
1+
name: Diff Print Formats
22

33
on:
44
pull_request:
@@ -9,14 +9,9 @@ on:
99
jobs:
1010
diff_print_format:
1111
runs-on: ubuntu-latest
12-
name: Print Format Diff
12+
name: Diff Print Formats
1313
steps:
14-
- name: Checkout the code
15-
uses: actions/checkout@v3
14+
- name: Diff Print Formats
15+
uses: agritheory/test_utils/actions/diff_print_format@main
1616
with:
17-
fetch-depth: 0
18-
19-
- name: Print Format Diff
20-
uses: diamorafaela/diff-print-format@main
21-
with:
22-
github-token: ${{ secrets.GITHUB_TOKEN }}
17+
github-token: ${{ secrets.GITHUB_TOKEN }}

.pre-commit-config.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ fail_fast: false
44

55
repos:
66
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: v5.0.0
7+
rev: v6.0.0
88
hooks:
99
- id: trailing-whitespace
1010
files: 'check_run.*'
@@ -45,7 +45,7 @@ repos:
4545
additional_dependencies: ['flake8-bugbear']
4646

4747
- repo: https://github.com/agritheory/test_utils
48-
rev: v1.15.4
48+
rev: v1.16.0
4949
hooks:
5050
- id: update_pre_commit_config
5151
- id: validate_frappe_project
@@ -61,6 +61,8 @@ repos:
6161
args: ['--app', 'check_run']
6262
- id: track_overrides
6363
args: ['--directory', '.', '--app', 'check_run', '--base-branch', 'version-15']
64+
- id: check_code_duplication
65+
args: ['--max-clones', '60', '--max-percentage', '5.0']
6466

6567
- repo: https://github.com/pre-commit/mirrors-prettier
6668
rev: v3.1.0

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1465,3 +1465,7 @@ Co-authored-by: fproldan <fproldan@users.noreply.github.com> ([`a698431`](
14651465
* look up party on PE submission to avoid renaming problems ([#67](https://github.com/agritheory/check_run/issues/67)) ([4cdf7de](https://github.com/agritheory/check_run/commit/4cdf7de5d648bcd37cb19ce67d899804f7107ad3))
14661466
* split checks by address ([f091550](https://github.com/agritheory/check_run/commit/f09155050ea8a64ee7fdb3ba8f3596eb936fd871))
14671467
* validate docstatus of selected invoices in Check Run still saved/submitted ([9bf5605](https://github.com/agritheory/check_run/commit/9bf56054041c341fc23c4cdf0a9449ca32ef8ba5))
1468+
1469+
1470+
1471+

check_run/public/js/check_run/check_run_quick_entry.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ frappe.provide('check_run')
55
frappe.provide('frappe.ui.form')
66

77
frappe.ui.form.CheckRunQuickEntryForm = class CheckRunQuickEntryForm extends frappe.ui.form.QuickEntryForm {
8+
/* jscpd:ignore-start */
89
constructor(doctype, after_insert, init_callback, doc, force) {
910
super(doctype, after_insert, init_callback, doc, force)
1011
}
@@ -75,6 +76,7 @@ frappe.ui.form.CheckRunQuickEntryForm = class CheckRunQuickEntryForm extends fra
7576
})
7677
}
7778
}
79+
/* jscpd:ignore-end */
7880
register_primary_action() {
7981
const me = this
8082
this.dialog.set_primary_action(__('Start Check Run'), () => {

check_run/public/js/check_run/check_run_settings_quick_entry.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
frappe.provide('check_run')
55
frappe.provide('frappe.ui.form')
66

7-
frappe.ui.form.CheckRunSettingsQuickEntryForm = class CheckRunQuickEntryForm extends frappe.ui.form.QuickEntryForm {
7+
frappe.ui.form.CheckRunSettingsQuickEntryForm = class CheckRunSettingsQuickEntryForm extends (
8+
frappe.ui.form.QuickEntryForm
9+
) {
10+
/* jscpd:ignore-start */
811
constructor(doctype, after_insert, init_callback, doc, force) {
912
super(doctype, after_insert, init_callback, doc, force)
1013
}
@@ -75,4 +78,5 @@ frappe.ui.form.CheckRunSettingsQuickEntryForm = class CheckRunQuickEntryForm ext
7578
})
7679
}
7780
}
81+
/* jscpd:ignore-end */
7882
}

0 commit comments

Comments
 (0)