-
Notifications
You must be signed in to change notification settings - Fork 17
Maintenance pre-commit and picture #108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
UlysseDurand
wants to merge
13
commits into
Kitware:master
Choose a base branch
from
UlysseDurand:maintenance
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
d25490d
docs: maintaining, added image and pre-commit checks
UlysseDurand f03312b
ci(pre-commit): copy from cookiecutter
UlysseDurand 895c173
ci(pre-commit): change pre-commit as in trame-cookiecutter
UlysseDurand a245a7c
Merge branch 'Kitware:master' into maintenance
UlysseDurand 146b233
ci(pre-commit): corrected most of the pre-commit errors
UlysseDurand 86f4a5d
ci(pre-commit): revert `CHANGELOG.md` and make prettier ignore it
UlysseDurand 42d2a9a
ci(pre-commit): correct pre-commit changes
UlysseDurand f33c5fd
ci(pre-commit): put right import order back
UlysseDurand 76b00f2
ci(pre-commit): bump vtk and pyvista for tests
UlysseDurand 7e873ea
ci(pre-commit): make volume render test work with newer pyvista and vtk
UlysseDurand 77fa173
ci(pre-commit): revert the mistake of changing `show_axis` to `_depth`
UlysseDurand b6ebad5
ci(pre-commit): Change variable name, handle None, change import order
UlysseDurand 073f37e
Merge branch 'master' of github.com:Kitware/trame-vtk into maintenance
UlysseDurand File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,3 @@ | ||
| module.exports = { | ||
| extends: ["@commitlint/config-conventional"], | ||
| }; |
This file contains hidden or 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,11 +1,96 @@ | ||
| ci: | ||
| autoupdate_commit_msg: "chore: update pre-commit hooks" | ||
| autofix_commit_msg: "style: pre-commit fixes" | ||
|
|
||
| exclude: ^.cruft.json|.copier-answers.yml$ | ||
|
|
||
| repos: | ||
| - repo: https://github.com/codespell-project/codespell | ||
| rev: v2.1.0 | ||
| - repo: https://github.com/adamchainz/blacken-docs | ||
| rev: "1.19.1" | ||
| hooks: | ||
| - id: codespell | ||
| - id: blacken-docs | ||
| additional_dependencies: [black==24.*] | ||
|
|
||
| - repo: https://github.com/pre-commit/pre-commit-hooks | ||
| rev: "v5.0.0" | ||
| hooks: | ||
| - id: check-added-large-files | ||
| - id: check-case-conflict | ||
| - id: check-merge-conflict | ||
| - id: check-symlinks | ||
| - id: check-yaml | ||
| - id: debug-statements | ||
| - id: end-of-file-fixer | ||
| - id: mixed-line-ending | ||
| - id: name-tests-test | ||
| args: ["--pytest-test-first"] | ||
| - id: requirements-txt-fixer | ||
| - id: trailing-whitespace | ||
|
|
||
| - repo: https://github.com/pre-commit/pygrep-hooks | ||
| rev: "v1.10.0" | ||
| hooks: | ||
| - id: rst-backticks | ||
| - id: rst-directive-colons | ||
| - id: rst-inline-touching-normal | ||
|
|
||
| - repo: https://github.com/rbubley/mirrors-prettier | ||
| rev: "v3.4.2" | ||
| hooks: | ||
| - id: prettier | ||
| types_or: [yaml, markdown, html, css, scss, javascript, json] | ||
| args: [--prose-wrap=always] | ||
|
|
||
| - repo: https://github.com/astral-sh/ruff-pre-commit | ||
| rev: v0.8.4 | ||
| rev: "v0.9.1" | ||
| hooks: | ||
| - id: ruff | ||
| - id: ruff-format | ||
| args: ["--fix", "--show-fixes"] | ||
| - id: ruff-format | ||
|
|
||
| # - repo: https://github.com/pre-commit/mirrors-mypy | ||
| # rev: "v1.14.1" | ||
| # hooks: | ||
| # - id: mypy | ||
| # files: src|tests | ||
| # args: [] | ||
| # additional_dependencies: | ||
| # - pytest | ||
|
|
||
| - repo: https://github.com/codespell-project/codespell | ||
| rev: "v2.3.0" | ||
| hooks: | ||
| - id: codespell | ||
|
|
||
| - repo: https://github.com/shellcheck-py/shellcheck-py | ||
| rev: "v0.10.0.1" | ||
| hooks: | ||
| - id: shellcheck | ||
|
|
||
| - repo: local | ||
| hooks: | ||
| - id: disallow-caps | ||
| name: Disallow improper capitalization | ||
| language: pygrep | ||
| entry: PyBind|Numpy|Cmake|CCache|Github|PyTest | ||
| exclude: .pre-commit-config.yaml | ||
|
|
||
| - repo: https://github.com/abravalheri/validate-pyproject | ||
|
jourdain marked this conversation as resolved.
|
||
| rev: "v0.23" | ||
| hooks: | ||
| - id: validate-pyproject | ||
| additional_dependencies: ["validate-pyproject-schema-store[all]"] | ||
|
|
||
| - repo: https://github.com/python-jsonschema/check-jsonschema | ||
| rev: "0.31.0" | ||
| hooks: | ||
| - id: check-dependabot | ||
| - id: check-github-workflows | ||
| - id: check-readthedocs | ||
|
|
||
| - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook | ||
| rev: v9.20.0 | ||
| hooks: | ||
| - id: commitlint | ||
| stages: [commit-msg] | ||
| additional_dependencies: ["@commitlint/config-conventional"] | ||
This file contains hidden or 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 hidden or 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.