John Bampton
fd1c67f473
Standardize and auto add license headers to properties files ( #12231 )
2026-01-08 15:56:40 +05:30
John Bampton
1919dcfb7c
pre-commit trailing-whitespace cleanup LICENSE/NOTICE ( #12242 )
2025-12-15 10:09:11 +01:00
John Bampton
cfe96026dc
Standardize and auto add license headers to all Vue files with pre-commit ( #12081 )
2025-12-10 16:21:41 +01:00
John Bampton
39126a4339
Standardize and auto add license headers for Shell files with pre-commit ( #12070 )
...
* Add shebang to shell scripts
2025-11-14 14:23:41 +01:00
John Bampton
aa18188d30
pre-commit: auto add license headers for all YAML files ( #12069 )
...
Fix and standardize one license header
2025-11-14 14:23:03 +01:00
John Bampton
4ed86a2627
pre-commit upgrade codespell; fix spelling; ( #10144 )
2025-11-14 14:17:10 +01:00
John Bampton
86ae1fee7f
Standardize and auto add license headers for SQL files with pre-commit ( #12071 )
2025-11-14 11:47:27 +01:00
John Bampton
a5b455ff3a
pre-commit: auto add table of contents with `doctoc` ( #11679 )
...
https://github.com/thlorenz/doctoc?tab=readme-ov-file#usage-as-a-git-hook
https://github.com/thlorenz/doctoc/releases/tag/v2.2.0
Generates table of contents for Markdown files inside local git repository.
Links are compatible with anchors generated by github or other sites.
Added TOC to 3 Markdown files.
Never have to create a TOC again just run: `pre-commit run doctoc --all-files`
- CONTRIBUTING.md
- INSTALL.md
- README.md
So both Apache Airflow and Apache Sedona use `doctoc`:
eb4a8bc03c/.pre-commit-config.yaml (L32)
b0d86fda01/.pre-commit-config.yaml (L34)
2025-11-13 11:13:19 +01:00
dahn
5f9e131198
Svgs ( #12051 )
2025-11-12 14:31:36 +05:30
John Bampton
941227ec8c
pre-commit add `chmod 644` manual hook for Markdown ( #11651 )
2025-10-24 16:05:52 +05:30
John Bampton
e7b8326058
pre-commit auto add license for all Markdown files ( #11870 )
2025-10-24 16:04:22 +05:30
John Bampton
024f89dc7d
pre-commit: add oxipng a lossless PNG compression optimizer ( #11065 )
...
* pre-commit: add oxipng a lossless PNG compression optimizer
"Lossless compression is a data compression technique where the original data can be perfectly
reconstructed from the compressed data. In essence, no information is lost during compression
and decompression, making it ideal for situations where data integrity is critical"
https://en.wikipedia.org/wiki/Lossless_compression
https://github.com/oxipng/oxipng
https://github.com/oxipng/oxipng?tab=readme-ov-file#git-integration-via-pre-commit
Ran pre-commit here locally and it compressed the images on first run.
So we have less data for some images with the same quality.
Less data means less to download etc and saves bandwidth.
* Fix up from code review
2025-10-24 15:18:45 +05:30
John Bampton
cdb0604e7b
pre-commit: enforce mixed-line-ending for all files ( #11667 )
2025-10-13 16:26:15 +05:30
John Bampton
a5a934dac1
pre-commit: add hooks `check-illegal-windows-names` and `file-contents-sorter` ( #11662 )
2025-10-13 13:59:42 +05:30
vanzan01
e6c7a71d40
Add yamllint pre-commit hook for YAML file standardization ( #11017 )
...
* Add yamllint pre-commit hook for YAML file standardization
Add yamllint hook to .pre-commit-config.yaml to standardize YAML files
across the project. Created .yamllint.yml configuration with relaxed
rules to accommodate existing files. Fixed colon spacing in .asf.yaml
to pass yamllint checks.
Closes #10974
Signed-off-by: vanzan01 <vanzan.1250@gmail.com>
* Add extra eol to .yamllint.yml
Address review comment from DaanHoogland
Signed-off-by: vanzan01 <vanzan.1250@gmail.com>
* Move .yamllint.yml to .github/linters/ and improve file pattern
- Move .yamllint.yml to .github/linters/ directory for better organization
- Update pre-commit config to point to new location
- Change file pattern to \.ya?ml$ as suggested
Address review feedback from jbampton
Signed-off-by: vanzan01 <vanzan.1250@gmail.com>
* Update .pre-commit-config.yaml
Co-authored-by: John Bampton <jbampton@users.noreply.github.com>
* Make yamllint more forgiving and exclude only k8s templates
- Remove extensive file exclusions, keep only k8s templates
- Increase line length limit to 400 chars (GitHub Actions friendly)
- Allow flexible colon spacing (max-spaces-after: -1)
- Disable document-start requirement
This provides linting value while handling infrastructure patterns.
Signed-off-by: vanzan01 <vanzan.1250@gmail.com>
* Update .pre-commit-config.yaml
Co-authored-by: John Bampton <jbampton@users.noreply.github.com>
---------
Signed-off-by: vanzan01 <vanzan.1250@gmail.com>
Co-authored-by: John Bampton <jbampton@users.noreply.github.com>
2025-09-20 03:16:00 +10:00
John Bampton
33cfedee46
pre-commit add hook `check-shebang-scripts-are-executable` for Shell ( #10150 )
2025-09-17 14:22:28 +02:00
John Bampton
f9a72de500
misc: pre-commit auto remove unneeded trailing whitespace ( #11289 )
2025-09-17 14:21:56 +02:00
John Bampton
57309314a1
pre-commit: clean up Python flake8 excludes with black ( #9793 )
2025-09-17 12:40:56 +02:00
Wei Zhou
b46e29dc67
Improvement: SSL offloading with Virtual Router ( #11468 )
...
* SSL offloading with Virtual Router
* PR11468: fix pre-commit errors
* PR11468: api->getAPI/postAPI in UI
* SSL: add smoke tests for VPC in user project
* PR11468: address Daan's comments
* Fix test/integration/smoke/test_ssl_offloading.py
* SSL: remove ssl certificates when clean up account
* SSL offloading: add unit tests
* SSL offloading: UI fixes part 1
* SSL offloading: UI changes part 2
* SSL offloading: add more unit tests
* SSL offloading: more unit tests 3
* SSL offloading: wrong check
* SSL offloading: more and more unit tests
* SSL offloading: add testUpdateLoadBalancerRule5
2025-09-11 16:37:18 +05:30
Vishesh
f2bda46419
Upgrade noVNC from 1.4.0 to 1.6.0 ( #11119 )
2025-07-29 15:17:37 +02:00
John Bampton
074f75838e
Fix pre-commit warnings for deprecated stage names ( #11276 )
2025-07-25 09:23:52 +02:00
John Bampton
1fbe1d7682
pre-commit: add gitleaks to detect hardcoded secrets ( #11064 )
2025-07-23 11:29:41 -04:00
John Bampton
fb3bb3fd56
pre-commit: upgrade markdownlint to the latest version ( #11066 )
2025-07-23 17:23:20 +02:00
dahn
d1cf45365a
Revert "pre-commit: add hook `check-yaml` ( #9133 )" ( #10161 )
...
This reverts commit 57867dc6b0 .
2025-01-06 12:21:26 +01:00
John Bampton
5bae1188ff
pre-commit fix mixed line endings in XML files ( #10148 )
...
https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#mixed-line-ending
2025-01-03 09:42:09 +01:00
John Bampton
0f3ea8ceb2
Add pre-commit hook `fix-byte-order-marker` ( #10147 )
...
https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#fix-byte-order-marker
2025-01-03 09:40:43 +01:00
John Bampton
2b070880c1
pre-commit check `.cfg` files with the trailing whitespace hook ( #10151 )
...
https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#trailing-whitespace
This hook auto trims trailing whitespace
2025-01-03 09:39:16 +01:00
John Bampton
fd24509ba7
pre-commit: fix `.cs` files with the `trailing-whitespace` hook ( #9794 )
...
Co-authored-by: Vishesh <vishesh92@gmail.com>
2024-12-31 13:17:10 +01:00
John Bampton
0128046429
pre-commit update markdownlint; enable rules MD009,MD019; fix license header ( #10145 )
...
https://github.com/DavidAnson/markdownlint/blob/main/doc/md009.md
https://github.com/DavidAnson/markdownlint/blob/main/doc/md019.md
2024-12-31 13:02:16 +01:00
John Bampton
0b66f5a86a
pre-commit: remove trailing-whitespace from more file types ( #10131 )
2024-12-31 14:55:24 +05:30
John Bampton
57867dc6b0
pre-commit: add hook `check-yaml` ( #9133 )
...
https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#check-yaml
2024-12-31 09:32:32 +01:00
John Bampton
2919cac643
pre-commit: add `codespell` to check spelling ( #8197 )
2024-07-12 09:44:14 +02:00
John Bampton
c923e673cf
pre-commit: add `XML` files to the `trailing-whitespace` check ( #9131 )
2024-07-12 09:42:54 +02:00
John Bampton
9f1577d2a8
pre-commit: check more file types for trailing whitespace ( #9352 )
2024-07-10 09:22:02 +02:00
John Bampton
28e8e2d009
pre-commit: add hook to trim trailing whitespace ( #8205 )
2024-05-28 09:01:30 +02:00
John Bampton
e159a593f1
Add `markdownlint` with `pre-commit` ( #9078 )
...
https://github.com/DavidAnson/markdownlint/tree/main?tab=readme-ov-file#rules--aliases
https://github.com/igorshubovych/markdownlint-cli?tab=readme-ov-file#use-with-pre-commit
2024-05-28 07:40:52 +02:00
John Bampton
c563fda081
Add two more `pre-commit` hooks ( #9077 )
...
https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#detect-aws-credentials
https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#forbid-submodules
2024-05-28 07:40:15 +02:00
John Bampton
6c24ff9098
pre-commit autoupdate ( #8867 )
2024-04-23 13:28:45 +02:00
John Bampton
7b31a5196d
Update requirements file and fix minimum pre-commit version ( #7901 )
2023-11-10 12:31:13 +01:00
John Bampton
b2b707b90e
Add pre-commit hooks: check-symlinks and destroyed-symlinks ( #8071 )
...
https://github.com/pre-commit/pre-commit-hooks#check-symlinks
https://github.com/pre-commit/pre-commit-hooks#destroyed-symlinks
2023-11-02 09:07:50 +01:00
John Bampton
9834d5168f
pre-commit: standardize more line endings to `lf` ( #7804 )
...
https://github.com/pre-commit/pre-commit-hooks#mixed-line-ending
2023-10-18 11:25:00 +02:00
John Bampton
7e998f9228
pre-commit: add hook `check-merge-conflict` ( #7883 )
2023-10-10 08:33:51 +02:00
John Bampton
0b4afedb5b
pre-commit: add hook to check for the existence of private keys ( #7805 )
2023-08-20 15:49:07 +02:00
John Bampton
b0ae701ca4
Remove Super-Linter action and move `flake8` to pre-commit ( #7861 )
2023-08-17 09:37:10 +02:00
John Bampton
6f4503488b
pre-commit: apply `end-of-file-fixer` to all files ( #7551 )
2023-08-02 13:47:21 +02:00
John Bampton
c2e17310d6
Add three more `pre-commit` checks ( #7083 )
...
Co-authored-by: dahn <daan@onecht.net>
2023-03-27 13:28:55 +02:00
John Bampton
00426ede46
Add `pre-commit` workflow with 3 Git hooks ( #6273 )
...
Co-authored-by: dahn <daan@onecht.net>
2023-01-11 12:25:31 +01:00