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: redirect.github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:bbec1828-8c0e-61bc-c343-d0b06e6f897d |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | D432:8F24B:25F87AF:3546A22:6970F818 |
| html-safe-nonce | cbdf1972d2f78f2f6851cf3cbbc8370e81e51b798a09a21f2859cd4d1a1df03f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDMyOjhGMjRCOjI1Rjg3QUY6MzU0NkEyMjo2OTcwRjgxOCIsInZpc2l0b3JfaWQiOiI0OTk4OTg5ODAyODI5MzE0MDcyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0227b5f833f5fc65e547c913cbf6db8a780be2fcc5a6e10551f4d8faf4fd2fb2 |
| 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 | 1b239ebed690c3053869ff31a3b7597834c25673659d63e7b6fd6a9b5d7853de |
| 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 | aeacfd55297f3de5395c83f200ac35d1f474115e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width