Commit Graph

67 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
28a5bcdf8e [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black-pre-commit-mirror: fe95161893684893d68b1225356702ca71f8d388 → 2892f1f81088477370d4fbc56545c05d33d2493f](fe95161893...2892f1f810)
- [github.com/pre-commit/mirrors-clang-format: 719856d56a62953b8d2839fb9e851f25c3cfeef8 → 317810f3c6a0ad3572367dc86cb6e41863e16e08](719856d56a...317810f3c6)
2025-11-11 09:47:59 +01:00
marcuspollio
50e4864efb Add Draft workbench to .pre-commit-config (#24664)
* Add Draft workbench to .pre-commit-config

* [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>
2025-10-15 11:21:09 +02:00
Furgo
b23d580941 Add BIM workbench to .pre-commit-config.yaml (#21591)
* Add BIM workbench to .pre-commit-config.yaml

* pre-commit: ignore translations

* pre-commit: add additional ignore pattern

* [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>
2025-10-13 13:07:48 +02:00
Chris Hennes
5cc7d1a869 Change black repo to black-pre-commit-mirror
Updated the pre-commit configuration to use the black-pre-commit-mirror repository instead of the original black repository. Also omit scanning the Fem examples directory.
2025-10-01 20:58:39 -05:00
pre-commit-ci[bot]
65b7b5d4bd [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 8a737e727ac5ab2f1d4cf5876720ed276dc8dc4b → af0ba72a73598c76189d6dd1b21d8532255d5942](8a737e727a...af0ba72a73)
- [github.com/pre-commit/mirrors-clang-format: 86fdcc9bd34d6afbbd29358b97436c8ffe3aa3b2 → 719856d56a62953b8d2839fb9e851f25c3cfeef8](86fdcc9bd3...719856d56a)
2025-09-29 19:31:32 -05:00
pre-commit-ci[bot]
d59babd8d3 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-clang-format: 182152eb8c5ce1cf5299b956b04392c86bd8a126 → 86fdcc9bd34d6afbbd29358b97436c8ffe3aa3b2](182152eb8c...86fdcc9bd3)
2025-09-03 22:14:55 -05:00
pre-commit-ci[bot]
fc3ae475e6 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/pre-commit-hooks: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b → 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c](cef0300fd0...3e8a870326)
2025-08-11 20:00:21 -05:00
pre-commit-ci[bot]
692ddf3a30 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-clang-format: 6b9072cd80691b1b48d80046d884409fb1d962d1 → 182152eb8c5ce1cf5299b956b04392c86bd8a126](6b9072cd80...182152eb8c)
2025-07-16 21:39:56 -05:00
pre-commit-ci[bot]
d2a4f8994f [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-clang-format: 64827eb3528d4dc019b01153e9fb79107241405f → 6b9072cd80691b1b48d80046d884409fb1d962d1](64827eb352...6b9072cd80)
2025-07-07 18:45:59 +02:00
pre-commit-ci[bot]
6b28644ed7 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-clang-format: c8ab0f80399e63a4fabbf5313c0606831f09742e → 64827eb3528d4dc019b01153e9fb79107241405f](c8ab0f8039...64827eb352)
2025-06-16 18:55:48 -05:00
pre-commit-ci[bot]
0691a2d863 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-clang-format: 300fa4c170bf0887bb5585d17ec50901ad2625fb → c8ab0f80399e63a4fabbf5313c0606831f09742e](300fa4c170...c8ab0f8039)
2025-05-29 00:14:40 +02:00
pre-commit-ci[bot]
0aefde35ca [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-clang-format: 7ec07eeb4135dc6ecf410d24ac4ead986a5d413d → 300fa4c170bf0887bb5585d17ec50901ad2625fb](7ec07eeb41...300fa4c170)
2025-05-15 08:55:15 -05:00
mosfet80
7f3398f320 [Mod] Drawing remove (#20419)
* [Mod] Draw remove

removed deprecated drawing module

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

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

* [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>
2025-05-12 17:43:25 +02:00
pre-commit-ci[bot]
261ce705a9 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-clang-format: 458d954d175f16d216d7d04d5c182e3b10ddfbb4 → 7ec07eeb4135dc6ecf410d24ac4ead986a5d413d](458d954d17...7ec07eeb41)
2025-05-06 05:23:37 +02:00
Chris Hennes
fc782a6c8d Addon Manager: Move to git submodule (#20672) 2025-04-08 16:40:31 +02:00
pre-commit-ci[bot]
0b077fc914 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-clang-format: f9a52e87b6cdcb01b0a62b8611d9ba9f2dad0067 → 458d954d175f16d216d7d04d5c182e3b10ddfbb4](f9a52e87b6...458d954d17)
2025-03-22 11:38:48 -05:00
Chris Hennes
323f463f28 GitHub: Add to pre-commit 2025-03-05 21:04:23 -06:00
pre-commit-ci[bot]
f192259824 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 1b2427a2b785cc4aac97c19bb4b9a0de063f9547 → 8a737e727ac5ab2f1d4cf5876720ed276dc8dc4b](1b2427a2b7...8a737e727a)
2025-02-03 22:48:06 +00:00
pre-commit-ci[bot]
433a51b4b9 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-clang-format: 57e96cfddb3b0e0e11df353f5124cfd8e930a802 → f9a52e87b6cdcb01b0a62b8611d9ba9f2dad0067](57e96cfddb...f9a52e87b6)
2025-01-22 06:21:55 -06:00
pre-commit-ci[bot]
b108a2a830 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-clang-format: fed9a1f62c22af0bc846a260ebfeb0844368fd93 → 57e96cfddb3b0e0e11df353f5124cfd8e930a802](fed9a1f62c...57e96cfddb)
2025-01-20 11:33:17 -05:00
pre-commit-ci[bot]
b0b843e34b [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
4e4446c816 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
a435720363 pre-commit: Exclude 3rd party code from auto-formatting 2024-11-29 07:38:02 +01:00
sliptonic
90e24232a0 added CAM to precommit 2024-09-03 14:53:14 -04:00
Chris Hennes
f355b62cb7 Merge pull request #16045 from wwmayer/format_measure
Measure: Prepare for clang-format
2024-08-26 10:57:13 -05:00
wmayer
16e56d6694 Measure: Prepare for clang-format 2024-08-25 13:39:38 +02:00
mosfet80
2ab1df8c3e 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
5c83297e80 Merge pull request #14793 from lyphrowny/reformat_fem_src
FEM: Reformat fem .py sources
2024-07-01 11:19:29 -05:00
Jookia
7aa7b741ea pre-commit: Pin versions 2024-06-24 19:43:55 -05:00
lyphrowny
4e439b8992 FEM: include fem .py sources in pre-commit 2024-06-23 16:27:19 +03:00
wmayer
6fb7c51c18 App: Prepare for clang-format 2024-06-03 12:52:30 +02:00
wmayer
fd7f6039b6 Main: Apply clang-format 2024-06-03 12:51:36 +02:00
mosfet80
9510029234 Precommit: Fix black CVE-2024-21503 vulnerability 2024-04-04 23:17:13 -05:00
mosfet80
ac67cd225d 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
41528339e4 Base: Add to pre-commit hooks 2023-11-13 12:01:26 -05:00
Yorik van Havre
1c18768634 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
800006a505 Fem: Add to pre-commit hooks 2023-09-25 14:50:43 +02:00
wmayer
14cbc5f1e5 Mesh: Add to pre-commit hooks 2023-09-23 14:03:11 +02:00
wmayer
2b7d9b5541 Robot: Add to pre-commit hooks 2023-09-11 15:58:24 +02:00
wmayer
3fa218c7a6 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
c9b33ea8eb Import: Add to pre-commit hooks 2023-09-10 19:23:47 +02:00
wmayer
4e8e22b141 Sheet: Add to pre-commit hooks 2023-09-10 16:01:37 +02:00
wmayer
ebcd846d09 Drawing: Add to pre-commit hooks 2023-09-10 12:37:47 +02:00
wmayer
546e84d23d Show: Add to pre-commit hooks 2023-09-10 12:20:59 +02:00
wmayer
7484887829 Plot: Add to pre-commit hooks 2023-09-10 11:31:36 +02:00
wmayer
e506c5fc42 JtReader: Add to pre-commit hooks 2023-09-10 11:25:51 +02:00
wmayer
ae7727bd66 Cloud: Add to pre-commit hooks 2023-09-10 11:10:12 +02:00
wmayer
dda8166119 Tux: apply clang format 2023-09-08 18:06:03 +02:00
wmayer
bc2cecb6c8 Test: add to pre-commit hooks 2023-09-04 07:22:09 -05:00
wmayer
ecc21af1f1 Surface: add to pre-commit hooks 2023-09-04 07:21:32 -05:00