Commit Graph

47 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
dfd31a8f5b [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-clang-format: 7d85583be209cb547946c82fbe51f4bc5dd1d017 → fed9a1f62c22af0bc846a260ebfeb0844368fd93](7d85583be2...fed9a1f62c)
2024-12-09 17:29:33 -05:00
mosfet80
8d06f768c6 Update libs into .pre-commit-config.yaml
https://github.com/psf/black/releases/tag/24.10.0
https://github.com/pre-commit/pre-commit-hooks/releases/tag/v5.0.0
2024-12-08 15:25:23 -05:00
wmayer
abbf0b1a05 pre-commit: Exclude 3rd party code from auto-formatting 2024-11-29 07:38:02 +01:00
sliptonic
cd6c1d9aa2 added CAM to precommit 2024-09-03 14:53:14 -04:00
Chris Hennes
1e0ac05c7b Merge pull request #16045 from wwmayer/format_measure
Measure: Prepare for clang-format
2024-08-26 10:57:13 -05:00
wmayer
7cf6c4f5df Measure: Prepare for clang-format 2024-08-25 13:39:38 +02:00
mosfet80
97b58f855f Update libs into .pre-commit-config.yaml
Updated libs to last  version
https://github.com/psf/black/tags
https://github.com/pre-commit/pre-commit-hooks/tags
https://github.com/pre-commit/mirrors-clang-format/tags
2024-08-25 09:26:39 +02:00
Chris Hennes
e38259c307 Merge pull request #14793 from lyphrowny/reformat_fem_src
FEM: Reformat fem .py sources
2024-07-01 11:19:29 -05:00
Jookia
01d1b29cc7 pre-commit: Pin versions 2024-06-24 19:43:55 -05:00
lyphrowny
7ff379d60c FEM: include fem .py sources in pre-commit 2024-06-23 16:27:19 +03:00
wmayer
effbe1e873 App: Prepare for clang-format 2024-06-03 12:52:30 +02:00
wmayer
0e21776494 Main: Apply clang-format 2024-06-03 12:51:36 +02:00
mosfet80
d429c2f512 Precommit: Fix black CVE-2024-21503 vulnerability 2024-04-04 23:17:13 -05:00
mosfet80
ca49337425 Update .pre-commit-config.yaml
4.5.0 - 2023-10-07
Features
requirements-txt-fixer: also sort constraints.txt by default.
#857 PR by @lev-blit.
#830 issue by @PLPeeters.
debug-statements: add bpdb debugger.
#942 PR by @mwip.
#941 issue by @mwip.
Fixes
file-contents-sorter: fix sorting an empty file.
#944 PR by @RoelAdriaans.
#935 issue by @paduszyk.
double-quote-string-fixer: don't rewrite inside f-strings in 3.12+.
#973 PR by @asottile.
#971 issue by @XuehaiPan.
Migrating
now requires python >= 3.8.
#926 PR by @asottile.
#927 PR by @asottile.
4.4.0 - 2022-11-23
Features
forbid-submodules: new hook which outright bans submodules.
#815 PR by @asottile.
#707 issue by @ChiefGokhlayeh.
4.3.0 - 2022-06-07
Features
check-executables-have-shebangs: use git config core.fileMode to determine if it should query git.
#730 PR by @Kurt-von-Laven.
name-tests-test: add --pytest-test-first test convention.
#779 PR by @asottile.
Fixes
check-shebang-scripts-are-executable: update windows instructions.
#774 PR by @mdeweerd.
#770 issue by @mdeweerd.
check-toml: use stdlib tomllib when available.
#771 PR by @DanielNoord.
#755 issue by @sognetic.
check-added-large-files: don't run on non-file stages.
#778 PR by @asottile.
#777 issue by @skyj.
4.2.0 - 2022-04-06
Features
name-tests-test: updated display text.
#713 PR by @asottile.
check-docstring-first: make output more parsable.
#748 PR by @asottile.
check-merge-conflict: make output more parsable.
#748 PR by @asottile.
debug-statements: make output more parsable.
#748 PR by @asottile.
Fixes
check-merge-conflict: fix detection of ====== conflict marker on windows.
#748 PR by @asottile.
Updating
Drop python<3.7.
#719 PR by @asottile.
Changed default branch from master to main.
#744 PR by @asottile.
4.1.0 - 2021-12-22
Features
debug-statements: add pdbr debugger.
#614 PR by @cansarigol.
detect-private-key: add detection for additional key types.
#658 PR by @ljmf00.
check-executables-have-shebangs: improve messaging on windows.
#689 PR by @pujitm.
#686 issue by @jmerdich.
check-added-large-files: support --enforce-all with git-lfs.
#674 PR by @amartani.
#560 issue by @jeremy-coulon.
Fixes
check-case-conflict: improve performance.
#626 PR by @guykisel.
#625 issue by @guykisel.
forbid-new-submodules: fix false-negatives for pre-push.
#619 PR by @m-khvoinitsky.
#609 issue by @m-khvoinitsky.
check-merge-conflict: fix execution in git worktrees.
#662 PR by @errsyn.
#638 issue by @daschuer.
Misc.
Normalize case of hook names and descriptions.
#671 PR by @dennisroche.
#673 PR by @revolter.
4.0.1 - 2021-05-16
Fixes
check-shebang-scripts-are-executable fix entry point.
#602 issue by @Person-93.
#603 PR by @scop.
4.0.0 - 2021-05-14
Features
check-json: report duplicate keys.
#558 PR by @AdityaKhursale.
#554 issue by @adamchainz.
no-commit-to-branch: add main to default blocked branches.
#565 PR by @ndevenish.
check-case-conflict: check conflicts in directory names as well.
#575 PR by @slsyy.
#70 issue by @andyjack.
check-vcs-permalinks: forbid other branch names.
#582 PR by @jack1142.
#581 issue by @jack1142.
check-shebang-scripts-are-executable: new hook which ensures shebang'd scripts are executable.
#545 PR by @scop.
Fixes
check-executables-have-shebangs: Short circuit shebang lookup on windows.
#544 PR by @scop.
requirements-txt-fixer: Fix comments which have indentation
#549 PR by @greshilov.
#548 issue by @greshilov.
pretty-format-json: write to stdout using UTF-8 encoding.
#571 PR by @jack1142.
#570 issue by @jack1142.
Use more inclusive language.
#599 PR by @asottile.
Breaking changes
Remove deprecated hooks: flake8, pyflakes, autopep8-wrapper.
#597 PR by @asottile.
2023-12-18 10:42:59 -06:00
wmayer
bb333d9a74 Base: Add to pre-commit hooks 2023-11-13 12:01:26 -05:00
Yorik van Havre
31b0896cf0 Merging the Help module (#11008)
* Adding the Help module - fixes 10527, fixes #10512

* Aded Help to pre-commit

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-10-16 11:17:06 -05:00
wmayer
0b0e6b5799 Fem: Add to pre-commit hooks 2023-09-25 14:50:43 +02:00
wmayer
70ba930230 Mesh: Add to pre-commit hooks 2023-09-23 14:03:11 +02:00
wmayer
c2dd436325 Robot: Add to pre-commit hooks 2023-09-11 15:58:24 +02:00
wmayer
9d2775eda3 Import: move several .py files that black fails to re-format to a new directory and exclude it 2023-09-11 00:48:18 +02:00
wmayer
4078bf4029 Import: Add to pre-commit hooks 2023-09-10 19:23:47 +02:00
wmayer
76656ea3b3 Sheet: Add to pre-commit hooks 2023-09-10 16:01:37 +02:00
wmayer
e694a4f381 Drawing: Add to pre-commit hooks 2023-09-10 12:37:47 +02:00
wmayer
aaaddb6186 Show: Add to pre-commit hooks 2023-09-10 12:20:59 +02:00
wmayer
f3143c022e Plot: Add to pre-commit hooks 2023-09-10 11:31:36 +02:00
wmayer
ac020f6ea9 JtReader: Add to pre-commit hooks 2023-09-10 11:25:51 +02:00
wmayer
81a1498dc9 Cloud: Add to pre-commit hooks 2023-09-10 11:10:12 +02:00
wmayer
f1ef5c4729 Tux: apply clang format 2023-09-08 18:06:03 +02:00
wmayer
19a1204a5a Test: add to pre-commit hooks 2023-09-04 07:22:09 -05:00
wmayer
016a3de360 Surface: add to pre-commit hooks 2023-09-04 07:21:32 -05:00
wmayer
c6bb13a118 Web: add to pre-commit hooks 2023-09-03 17:22:44 +02:00
wmayer
89f5f07ff7 Start: add to pre-commit hooks 2023-09-03 14:21:53 +02:00
wmayer
26b1e2bb7f RE: add to pre-commit hooks 2023-09-02 16:24:25 +02:00
wmayer
8e80667747 MeshPart: add to pre-commit hooks 2023-09-02 11:30:04 +02:00
wmayer
c1de0c6b69 Inspection: add to pre-commit hooks 2023-09-02 00:59:42 +02:00
wmayer
047c39cb4c Points: Add to pre-commit hooks 2023-09-01 20:07:54 +02:00
Chris Hennes
031980a10d Assembly: Add to pre-commit hooks 2023-08-31 12:44:08 -05:00
Abdullah Tahiri
d216814b10 Sketcher: Full WB to pre-commit
===============================

The hook file applies to subdirectories recursively.
2023-05-25 17:08:03 +02:00
Abdullah Tahiri
270b0cbdc8 Sketcher: SketcherTests - format black 2023-05-25 17:08:03 +02:00
Abdullah Tahiri
b9ba0784d6 Sketcher: Add gui directory to pre-commit 2023-05-25 17:08:03 +02:00
Abdullah Tahiri
9dfbd6d24b Sketcher: Add App directory to pre-commit 2023-05-20 07:55:05 +02:00
Abdullah Tahiri
b34651e88e Sketcher: Add planeGCS directory to pre-commit 2023-05-20 07:55:05 +02:00
mosfet80
8fc79d29b8 Update .pre-commit-config.yaml
update pre-commit external libraries
Update .pre-commit-config.yaml
2023-05-08 21:08:34 +02:00
Chris Hennes
99cd277a93 Tools: Apply pre-commit autoformatting 2023-04-22 13:07:06 -05:00
Chris Hennes
1a93e3efbe Precommit: Enable in tests/src [skip ci] 2023-04-06 09:41:29 -05:00
Chris Hennes
5382509831 Precommit: Add mixed-line-ending
Converts all line endings to Linux linefeed standard.
2023-04-02 13:00:17 -05:00
Chris Hennes
17ad4a20f3 Git: Add pre-commit configuration 2023-03-31 13:35:45 -05:00