Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
6806db9
feat: pyansys-quality-report hook
Revathyvenugopal162 Sep 1, 2026
d331259
feat: migrate the checks
Revathyvenugopal162 Sep 1, 2026
9edff47
feat: migrate the checks
Revathyvenugopal162 Sep 1, 2026
118166b
feat: show all checks args
Revathyvenugopal162 Sep 1, 2026
f16d9a5
chore: adding changelog file 486.added.md [dependabot-skip]
pyansys-ci-bot Sep 1, 2026
48e39dc
feat: keep checks in seperate modules
Revathyvenugopal162 Sep 2, 2026
4d58454
Merge branch 'feat/pyansys-quality-report' of https://github.com/ansy…
Revathyvenugopal162 Sep 2, 2026
e3f1f1c
chore: auto fixes from pre-commit hooks
pre-commit-ci[bot] Sep 2, 2026
36d2ef3
fix: add subpackage
Revathyvenugopal162 Sep 2, 2026
9ef11ee
fix: add subpackage
Revathyvenugopal162 Sep 2, 2026
aee0f08
Merge branch 'feat/pyansys-quality-report' of https://github.com/ansy…
Revathyvenugopal162 Sep 2, 2026
36e0c3b
chore: auto fixes from pre-commit hooks
pre-commit-ci[bot] Sep 2, 2026
d370d11
Merge branch 'main' into feat/pyansys-quality-report
Revathyvenugopal162 Sep 2, 2026
662f1c5
fix: merge the old tech review for bootsrap mode
Revathyvenugopal162 Sep 2, 2026
613748b
Merge branch 'feat/pyansys-quality-report' of https://github.com/ansy…
Revathyvenugopal162 Sep 2, 2026
2ab095d
chore: auto fixes from pre-commit hooks
pre-commit-ci[bot] Sep 2, 2026
29fd50c
fix: merge the old tech review for bootsrap mode
Revathyvenugopal162 Sep 2, 2026
0735f48
Merge branch 'feat/pyansys-quality-report' of https://github.com/ansy…
Revathyvenugopal162 Sep 2, 2026
4e941ab
fix: pre-commit
Revathyvenugopal162 Sep 2, 2026
8e1545b
fix: merge old tech review
Revathyvenugopal162 Sep 2, 2026
6a4e202
fix: merge old tech review
Revathyvenugopal162 Sep 2, 2026
a5fe847
chore: auto fixes from pre-commit hooks
pre-commit-ci[bot] Sep 2, 2026
a15c09c
fix: codestyle
Revathyvenugopal162 Sep 2, 2026
1769bf9
Merge branch 'feat/pyansys-quality-report' of https://github.com/ansy…
Revathyvenugopal162 Sep 2, 2026
b114f14
fix: codes
Revathyvenugopal162 Sep 2, 2026
fb800d8
chore: auto fixes from pre-commit hooks
pre-commit-ci[bot] Sep 2, 2026
a8344e7
fix: codestylee
Revathyvenugopal162 Sep 2, 2026
7d4157d
Merge branch 'feat/pyansys-quality-report' of https://github.com/ansy…
Revathyvenugopal162 Sep 2, 2026
9890fc3
fix: codestylee
Revathyvenugopal162 Sep 2, 2026
507c0ed
fix: updatedoc-build errpr
Revathyvenugopal162 Sep 2, 2026
da5b0b7
fix: update license
Revathyvenugopal162 Sep 2, 2026
cfb7b11
fix: update license
Revathyvenugopal162 Sep 2, 2026
1a34264
fix: update packages
Revathyvenugopal162 Sep 2, 2026
0cfb897
chore: auto fixes from pre-commit hooks
pre-commit-ci[bot] Sep 2, 2026
2feea01
fix: update packages
Revathyvenugopal162 Sep 2, 2026
962478e
Merge branch 'feat/pyansys-quality-report' of https://github.com/ansy…
Revathyvenugopal162 Sep 2, 2026
85177d1
fix: build backend module
Revathyvenugopal162 Sep 3, 2026
e1128da
fix: ci_cd files modules
Revathyvenugopal162 Sep 3, 2026
4ed5b30
fix: cicd module and sematic versioning
Revathyvenugopal162 Sep 3, 2026
ca4a453
fix: common module
Revathyvenugopal162 Sep 3, 2026
a1804e9
fix: dependabot module
Revathyvenugopal162 Sep 3, 2026
f844b64
fix: documentation module
Revathyvenugopal162 Sep 3, 2026
cf47ad1
fix: pre-commit and labeler
Revathyvenugopal162 Sep 3, 2026
7dacc8a
fix: project metadata module
Revathyvenugopal162 Sep 3, 2026
5791a2b
fix: readme module
Revathyvenugopal162 Sep 3, 2026
05a8c21
fix: security module and also all the docstrings
Revathyvenugopal162 Sep 3, 2026
61447b8
fix: vale module
Revathyvenugopal162 Sep 3, 2026
78cb6f8
feat: add additional tests
Revathyvenugopal162 Sep 3, 2026
fe736c9
feat: add additional metadata
Revathyvenugopal162 Sep 4, 2026
f911449
feat: add additional metadata tests
Revathyvenugopal162 Sep 4, 2026
606ba93
feat: add configuration
Revathyvenugopal162 Sep 4, 2026
8712228
fix: suggestions by @jorgepiloto
Revathyvenugopal162 Sep 4, 2026
e48c33b
fix: suggestions by @jorgepiloto
Revathyvenugopal162 Sep 4, 2026
ed1e8c1
fix: suggestions by @jorgepiloto
Revathyvenugopal162 Sep 4, 2026
9c5d29b
fix: revert tech-review precommit
Revathyvenugopal162 Sep 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,9 @@ repos:
args:
- --product=pre_commit_hooks
- --non_compliant_name

# - repo: https://github.com/ansys/pre-commit-hooks
# rev: f911449
# hooks:
# - id: pyansys-quality-report
# args: [--repo-root, ., --all, --fix-missing]
13 changes: 10 additions & 3 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,16 @@
language: python
files: '(src|examples|tests)/.*\.(py)|\.(proto)'
require_serial: true
- id: "pyansys-quality-report"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: this replaces the tech-review hook id instead of adding pyansys-quality-report alongside it. setup.py drops the tech-review console script too. Any config pinned to id: tech-review breaks, including this repo's own .pre-commit-config.yaml:62. Keep the old id/script (deprecated is fine) or treat this as an intentional breaking change and update the config.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now It is using V8 of pre-commit hook. I have to reformat to local, to replace this new hook. i will do that.

name: "PyAnsys Quality Report"
description: "Generate a PyAnsys repository quality summary"
entry: pyansys-quality-report
language: python
pass_filenames: false

- id: "tech-review"
name: "Ansys Technical Review"
description: "Perform initial technical review on a repository"
entry: tech-review
name: "PyAnsys Quality Report (deprecated alias)"
description: "Deprecated compatibility alias for pyansys-quality-report"
entry: pyansys-quality-report
language: python
pass_filenames: false
1 change: 1 addition & 0 deletions doc/changelog.d/486.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add \`pyansys-quality-check\` hook
4 changes: 4 additions & 0 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@
},
}

# Keep the legacy compatibility module out of the canonical API docs.
# It remains intentionally excluded while the newer quality-report entry point is preferred.
autoapi_ignore = ["**/tech_review.py"]

# Sphinx extensions
extensions = [
"ansys_sphinx_theme.extension.autoapi",
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@
entry_points={
"console_scripts": [
"add-license-headers=ansys.pre_commit_hooks.add_license_headers:main",
"tech-review=ansys.pre_commit_hooks.tech_review:main",
"pyansys-quality-report=ansys.pre_commit_hooks.pyansys_quality_report:main",
"tech-review=ansys.pre_commit_hooks.pyansys_quality_report:main",
],
},
)
Loading
Loading