Title: Format tests with black and auto-exclude untracked paths by EliahKagan · Pull Request #1668 · gitpython-developers/GitPython · GitHub
Open Graph Title: Format tests with black and auto-exclude untracked paths by EliahKagan · Pull Request #1668 · gitpython-developers/GitPython
X Title: Format tests with black and auto-exclude untracked paths by EliahKagan · Pull Request #1668 · gitpython-developers/GitPython
Description: This expands the use of black to cover the whole codebase (still excluding submodules). Replaced exclude with extend-exclude so black's default exclusions, which include anything specified in .gitignore, remain in effect as well as the specific path(s) specified to be excluded. This allows black . to be run to format everything that should be formatted and nothing that shouldn't. Made a few manual formatting adjustments that lead to more readable code in a few places once formatted with black. (This does not have to be redone; the idea is to be in the common subset of what was intended and what black considers its style.) Changed black git to black . in the instructions in README.md and in the command in tox.ini that runs via tox or tox -e black. Actually ran black ., formatting the tests in black style.
Open Graph Description: This expands the use of black to cover the whole codebase (still excluding submodules). Replaced exclude with extend-exclude so black's default exclusions, which include anything specified in ...
X Description: This expands the use of black to cover the whole codebase (still excluding submodules). Replaced exclude with extend-exclude so black's default exclusions, which include anything specified...
Opengraph URL: https://github.com/gitpython-developers/GitPython/pull/1668
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:51785d82-08a9-5012-0933-8fba1acd60a5 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | B9E0:1A09CE:7B0916:A54AAD:69686624 |
| html-safe-nonce | f30f6bb3321f0da0f29e825d7feb9acc4a8281652509311affeda8e1980508ad |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUUwOjFBMDlDRTo3QjA5MTY6QTU0QUFEOjY5Njg2NjI0IiwidmlzaXRvcl9pZCI6IjIyNzA0NjIxNDg0MzQ0ODY4MjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1a33af5569f71e5ec85341f8e61ac75d7a77c26ceb49a5519a03b6cdad0bc32e |
| hovercard-subject-tag | pull_request:1521452744 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/gitpython-developers/GitPython/pull/1668/checks |
| twitter:image | https://avatars.githubusercontent.com/u/1771172?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1771172?s=400&v=4 |
| og:image:alt | This expands the use of black to cover the whole codebase (still excluding submodules). Replaced exclude with extend-exclude so black's default exclusions, which include anything specified in ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 50f46dc2d6192249fd8ebf20e76c800f4f2596d4a5f3ab63dd63a754df154f54 |
| turbo-cache-control | no-preview |
| go-import | github.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git |
| octolytics-dimension-user_id | 503709 |
| octolytics-dimension-user_login | gitpython-developers |
| octolytics-dimension-repository_id | 1126087 |
| octolytics-dimension-repository_nwo | gitpython-developers/GitPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1126087 |
| octolytics-dimension-repository_network_root_nwo | gitpython-developers/GitPython |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | fef287f17234b4529a4b112a3d47fe8551e32ddd |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width