Title: Add pre-commit config and dev instructions by ianhi · Pull Request #21583 · matplotlib/matplotlib · GitHub
Open Graph Title: Add pre-commit config and dev instructions by ianhi · Pull Request #21583 · matplotlib/matplotlib
X Title: Add pre-commit config and dev instructions by ianhi · Pull Request #21583 · matplotlib/matplotlib
Description: PR Summary Add a .pre-commit-config.yaml file for use with pre-commit as well as add instructions for setting it up. When installed this should shorten the feedback loop for catching flake8 errors as it will run every time you attempt to git commit - it also is smart about running only on files staged for commit. I find this to be very convenient and think it would be nice to include as an option for those who want to use it. But this is certainly something that would be up for discussion. PR Checklist [NA] Has pytest style unit tests (and pytest passes). Is Flake 8 compliant (run flake8 on changed files to check). I know it is because of pre-commit! New features are documented, with examples if plot related. [i hope.. ] Documentation is sphinx and numpydoc compliant (the docs should build without error). Conforms to Matplotlib style conventions (install flake8-docstrings and run flake8 --docstring-convention=all).
Open Graph Description: PR Summary Add a .pre-commit-config.yaml file for use with pre-commit as well as add instructions for setting it up. When installed this should shorten the feedback loop for catching flake8 errors ...
X Description: PR Summary Add a .pre-commit-config.yaml file for use with pre-commit as well as add instructions for setting it up. When installed this should shorten the feedback loop for catching flake8 errors ...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/21583
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:32913898-3d62-409d-f2f7-431afbcf8e8f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9CAA:1F6F34:40C076:55CCDB:6A5192F3 |
| html-safe-nonce | 44e3bbb6ebbb0a77792630644c609eaff6b01466155c59b8fc19d0876ecdc1df |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Q0FBOjFGNkYzNDo0MEMwNzY6NTVDQ0RCOjZBNTE5MkYzIiwidmlzaXRvcl9pZCI6IjI3MTE2Njk0NDEzODk3NjEyNjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a63b42e9b495e30252be8f8b74e80cb5a80e0d13c35da644fc3e80408184291b |
| hovercard-subject-tag | pull_request:777804517 |
| github-keyboard-shortcuts | repository,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/matplotlib/matplotlib/pull/21583/files |
| twitter:image | https://avatars.githubusercontent.com/u/10111092?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/10111092?s=400&v=4 |
| og:image:alt | PR Summary Add a .pre-commit-config.yaml file for use with pre-commit as well as add instructions for setting it up. When installed this should shorten the feedback loop for catching flake8 errors ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width