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/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:295cf31c-186c-4c00-17b2-19310a17473e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E79A:2B0D32:5B3F67:7F8947:6968CCB3 |
| html-safe-nonce | 9b085a2a8b154a393a784e425e23b1704518c6a08a4f6aab59fb0d2e04bff2bb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzlBOjJCMEQzMjo1QjNGNjc6N0Y4OTQ3OjY5NjhDQ0IzIiwidmlzaXRvcl9pZCI6IjI3NDE4ODc4NjkxOTY0ODc4NjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5cc4d501cef5c33ad4decbdf319c5d8f749d4a81b25b23087571d40e1bb5ecfc |
| hovercard-subject-tag | pull_request:1521452744 |
| 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/gitpython-developers/GitPython/pull/1668/files |
| 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 | af2d7af0cc84117fa10bf36808605ef68a335c9d8a804b9cdac55f8d77230b00 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cc844ab6ee0198cc2e2c142dcb8a5c2a61d48743 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width