Title: chore(deps): update dependency black to v26 by renovate[bot] · Pull Request #3327 · python-gitlab/python-gitlab · GitHub
Open Graph Title: chore(deps): update dependency black to v26 by renovate[bot] · Pull Request #3327 · python-gitlab/python-gitlab
X Title: chore(deps): update dependency black to v26 by renovate[bot] · Pull Request #3327 · python-gitlab/python-gitlab
Description: This PR contains the following updates: Package Change Age Confidence black (changelog) ==25.12.0 → ==26.1.0 Release Notes psf/black (black) v26.1.0 Compare Source Highlights Introduces the 2026 stable style (#4892), stabilizing the following changes: always_one_newline_after_import: Always force one blank line after import statements, except when the line after the import is a comment or an import statement (#4489) fix_fmt_skip_in_one_liners: Fix # fmt: skip behavior on one-liner declarations, such as def foo(): return "mock" # fmt: skip, where previously the declaration would have been incorrectly collapsed (#4800) fix_module_docstring_detection: Fix module docstrings being treated as normal strings if preceded by comments (#4764) fix_type_expansion_split: Fix type expansions split in generic functions (#4777) multiline_string_handling: Make expressions involving multiline strings more compact (#1879) normalize_cr_newlines: Add \r style newlines to the potential newlines to normalize file newlines both from and to (#4710) remove_parens_around_except_types: Remove parentheses around multiple exception types in except and except* without as (#4720) remove_parens_from_assignment_lhs: Remove unnecessary parentheses from the left-hand side of assignments while preserving magic trailing commas and intentional multiline formatting (#4865) standardize_type_comments: Format type comments which have zero or more spaces between # and type: or between type: and value to # type: (value) (#4645) The following change was not in any previous stable release: Regenerated the _width_table.py and added tests for the Khmer language (#4253) This release alo bumps pathspec to v1 and fixes inconsistencies with Git's .gitignore logic (#4958). Now, files will be ignored if a pattern matches them, even if the parent directory is directly unignored. For example, Black would previously format exclude/not_this/foo.py with this .gitignore: exclude/ !exclude/not_this/ Now, exclude/not_this/foo.py will remain ignored. To ensure exclude/not_this/ and all of it's children are included in formatting (and in Git), use this .gitignore: */exclude/* !*/exclude/not_this/ This new behavior matches Git. The leading */ are only necessary if you wish to ignore matching subdirectories (like the previous behavior did), and not just matching root directories. Output Explicitly shutdown the multiprocessing manager when run in diff mode too (#4952) Integrations Upgraded PyPI upload workflow to use Trusted Publishing (#4611) Configuration 📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined). 🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied. ♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 Ignore: Close this PR and you won't be reminded about this update again. If you want to rebase/retry this PR, check this box This PR was generated by Mend Renovate. View the repository job log.
Open Graph Description: This PR contains the following updates: Package Change Age Confidence black (changelog) ==25.12.0 → ==26.1.0 Release Notes psf/black (black) v26.1.0 Compare Source Highlights Introduc...
X Description: This PR contains the following updates: Package Change Age Confidence black (changelog) ==25.12.0 → ==26.1.0 Release Notes psf/black (black) v26.1.0 Compare Source Highlights Introduc...
Opengraph URL: https://github.com/python-gitlab/python-gitlab/pull/3327
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:3669f92e-be09-aac7-d15b-499a580ad6a0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A420:32C90A:177EFC:1F65BB:6971528A |
| html-safe-nonce | 706a0f2aaebe1fa34a15e5e949ee5acc9c6c43456ed941f004a9a0a19bd28116 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDIwOjMyQzkwQToxNzdFRkM6MUY2NUJCOjY5NzE1MjhBIiwidmlzaXRvcl9pZCI6IjYxNDM1NTQyNTAyNjU5NDA2MTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d8e171e5b71e171f62433aac9e234c405512647750001e28b41615fd10e6ac57 |
| hovercard-subject-tag | pull_request:3186131668 |
| 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/python-gitlab/python-gitlab/pull/3327/files |
| twitter:image | https://avatars.githubusercontent.com/in/2740?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/2740?s=400&v=4 |
| og:image:alt | This PR contains the following updates: Package Change Age Confidence black (changelog) ==25.12.0 → ==26.1.0 Release Notes psf/black (black) v26.1.0 Compare Source Highlights Introduc... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | da7cbccf7f40bcd9540003423d9bef63b2fe7bb0b73fc59d91b5ae5b46000c90 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python-gitlab/python-gitlab git https://github.com/python-gitlab/python-gitlab.git |
| octolytics-dimension-user_id | 28886265 |
| octolytics-dimension-user_login | python-gitlab |
| octolytics-dimension-repository_id | 8077625 |
| octolytics-dimension-repository_nwo | python-gitlab/python-gitlab |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 8077625 |
| octolytics-dimension-repository_network_root_nwo | python-gitlab/python-gitlab |
| 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 | c9e6c71b091ca750658a3b2e3c82b0b85555f788 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width