Title: add new forbid-empty-files hook by antonag32 · Pull Request #836 · pre-commit/pre-commit-hooks · GitHub
Open Graph Title: add new forbid-empty-files hook by antonag32 · Pull Request #836 · pre-commit/pre-commit-hooks
X Title: add new forbid-empty-files hook by antonag32 · Pull Request #836 · pre-commit/pre-commit-hooks
Description: Some out-of-the-box hooks for pre-commit. Contribute to pre-commit/pre-commit-hooks development by creating an account on GitHub.
Open Graph Description: As previously discussed in #834, this hook prevents empty files from being committed. It works out of the box and is compatible with python projects since __init__.py are excluded by default.
X Description: As previously discussed in #834, this hook prevents empty files from being committed. It works out of the box and is compatible with python projects since __init__.py are excluded by default.
Opengraph URL: https://github.com/pre-commit/pre-commit-hooks/pull/836
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:12a2dfcb-d58c-7df8-9ec4-cfe89755ab21 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AB08:37AB26:A43301:E0F356:6A5399D9 |
| html-safe-nonce | 5ef124c16e468d9174e1a275e89c709034640df40f05743be8997e546d7d5b61 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjA4OjM3QUIyNjpBNDMzMDE6RTBGMzU2OjZBNTM5OUQ5IiwidmlzaXRvcl9pZCI6IjU4MDMzNDg0OTQ5MDAyMzg4MTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3d501138ca77099006f4b7c2ad9e385fc5771971314be610c3d15a35c7ddaab9 |
| hovercard-subject-tag | pull_request:1118381147 |
| github-keyboard-shortcuts | repository,commits,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/pre-commit/pre-commit-hooks/836/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/7d8c4d2356a2d3bd0e583f4605f6fc6032428b7cdda450543ceb3611f0c0e567/pre-commit/pre-commit-hooks/pull/836 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7d8c4d2356a2d3bd0e583f4605f6fc6032428b7cdda450543ceb3611f0c0e567/pre-commit/pre-commit-hooks/pull/836 |
| og:image:alt | As previously discussed in #834, this hook prevents empty files from being committed. It works out of the box and is compatible with python projects since __init__.py are excluded by default. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | antonag32 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-cache |
| go-import | github.com/pre-commit/pre-commit-hooks git https://github.com/pre-commit/pre-commit-hooks.git |
| octolytics-dimension-user_id | 6943086 |
| octolytics-dimension-user_login | pre-commit |
| octolytics-dimension-repository_id | 17714713 |
| octolytics-dimension-repository_nwo | pre-commit/pre-commit-hooks |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 17714713 |
| octolytics-dimension-repository_network_root_nwo | pre-commit/pre-commit-hooks |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width