]>
git.madduck.net Git - etc/vim.git/log
madduck's git repository
Every one of the projects in this repository is available at the canonical
URL git://git.madduck.net/madduck/pub/<projectpath> — see
each project's metadata for the exact URL.
All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@ git. madduck. net .
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
SSH access, as well as push access can be individually
arranged .
If you use my repositories frequently, consider adding the following
snippet to ~/.gitconfig and using the third clone URL listed for each
project:
[url "git://git.madduck.net/madduck/"]
insteadOf = madduck:
Richard Si [Sat, 9 Sep 2023 16:08:28 +0000 (12:08 -0400)]
Bump RTD Python version from 3.8 to 3.11 (#3868)
Recent ReadTheDocs builds have been failing as our documentation dependencies (notably Sphinx) require Python 3.9+.
Shantanu [Sat, 9 Sep 2023 05:16:25 +0000 (22:16 -0700)]
Add classifier for 3.12 (#3866)
Jelle Zijlstra [Sat, 9 Sep 2023 05:16:15 +0000 (22:16 -0700)]
Upgrade mypy (#3864)
Jelle Zijlstra [Sat, 9 Sep 2023 03:24:49 +0000 (20:24 -0700)]
Prepare release 23.9.0 (#3863)
konsti [Sat, 9 Sep 2023 01:51:27 +0000 (03:51 +0200)]
Blank line between nested and function def in stub files. (#3862)
The idea behind this change is that we stop looking into previous body to determine if there should be a blank before a function or class definition.
Input:
```python
import sys
if sys.version_info > (3, 7):
class Nested1:
assignment = 1
def function_definition(self): ...
def f1(self) -> str: ...
class Nested2:
def function_definition(self): ...
assignment = 1
def f2(self) -> str: ...
if sys.version_info > (3, 7):
def nested1():
assignment = 1
def function_definition(self): ...
def f1(self) -> str: ...
def nested2():
def function_definition(self): ...
assignment = 1
def f2(self) -> str: ...
```
Stable style
```python
import sys
if sys.version_info > (3, 7):
class Nested1:
assignment = 1
def function_definition(self): ...
def f1(self) -> str: ...
class Nested2:
def function_definition(self): ...
assignment = 1
def f2(self) -> str: ...
if sys.version_info > (3, 7):
def nested1():
assignment = 1
def function_definition(self): ...
def f1(self) -> str: ...
def nested2():
def function_definition(self): ...
assignment = 1
def f2(self) -> str: ...
```
In the stable formatting, we have a blank line sometimes, not depending on the previous statement on the same level, but on the last (potentially nested) statement in the previous body.
#2783/#3564 fixes this for classes in preview style:
```python
import sys
if sys.version_info > (3, 7):
class Nested1:
assignment = 1
def function_definition(self): ...
def f1(self) -> str: ...
class Nested2:
def function_definition(self): ...
assignment = 1
def f2(self) -> str: ...
if sys.version_info > (3, 7):
def nested1():
assignment = 1
def function_definition(self): ...
def f1(self) -> str: ...
def nested2():
def function_definition(self): ...
assignment = 1
def f2(self) -> str: ...
```
This PR additionally fixes this for function definitions:
```python
if sys.version_info > (3, 7):
if sys.platform == "win32":
assignment = 1
def function_definition(self): ...
def f1(self) -> str: ...
if sys.platform != "win32":
def function_definition(self): ...
assignment = 1
def f2(self) -> str: ...
if sys.version_info > (3, 8):
if sys.platform == "win32":
assignment = 1
def function_definition(self): ...
class F1: ...
if sys.platform != "win32":
def function_definition(self): ...
assignment = 1
class F2: ...
```
You can see the effect of this change on typeshed in https://github.com/konstin/typeshed/pull/1/files. As baseline, the preview mode changes without this PR are at https://github.com/konstin/typeshed/pull/2.
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Charlie Marsh [Fri, 8 Sep 2023 14:37:13 +0000 (16:37 +0200)]
Avoid removing whitespace for walrus operators within subscripts (#3823)
Co-authored-by: hauntsaninja <hauntsaninja@gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Jonas Haag [Fri, 8 Sep 2023 01:35:07 +0000 (03:35 +0200)]
Add Black PyCharm 2023.2 integration instructions (#3839)
KotlinIsland [Thu, 7 Sep 2023 07:11:50 +0000 (17:11 +1000)]
blackd: fix mishandling of single character input (#3558)
Shantanu [Thu, 7 Sep 2023 04:06:07 +0000 (21:06 -0700)]
Apply ignore logic before symlink resolution (#3846)
This means, for instance, that a gitignored symlink cannot affect your
formatting. Fixes #3527, fixes #3826
Johnny.H [Sun, 3 Sep 2023 02:46:23 +0000 (10:46 +0800)]
Move coverage configurations to `pyproject.toml` (#3858)
dependabot[bot] [Sat, 26 Aug 2023 13:44:17 +0000 (08:44 -0500)]
Bump furo from 2023.7.26 to 2023.8.19 in /docs + sphinx to 7.2.3 (#3848)
* Bump furo from 2023.7.26 to 2023.8.19 in /docs
Bumps [furo](https://github.com/pradyunsg/furo) from 2023.7.26 to 2023.8.19.
- [Release notes](https://github.com/pradyunsg/furo/releases)
- [Changelog](https://github.com/pradyunsg/furo/blob/main/docs/changelog.md)
- [Commits](https://github.com/pradyunsg/furo/compare/2023.07.26...2023.08.19)
---
updated-dependencies:
- dependency-name: furo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Move to sphinx 7.2.3 + fix intersphinx_mapping
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Cooper Ry Lees <me@cooperlees.com>
Kjell-Magnus [Tue, 22 Aug 2023 19:40:10 +0000 (21:40 +0200)]
Fix download badge link (#3853)
Shantanu [Sat, 19 Aug 2023 15:13:05 +0000 (08:13 -0700)]
Improve handling of root to get_sources (#3847)
This is a little more type safe and a little cleaner
Marc Mueller [Sat, 19 Aug 2023 15:09:59 +0000 (17:09 +0200)]
Remove tox pin (#3844)
Marc Mueller [Sat, 19 Aug 2023 02:26:36 +0000 (04:26 +0200)]
Improve caching by comparing file hashes as fallback for mtime and size (#3821)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Shantanu [Sat, 19 Aug 2023 01:32:47 +0000 (18:32 -0700)]
Pin tox to fix CI (#3843)
pre-commit-ci[bot] [Wed, 16 Aug 2023 07:01:21 +0000 (00:01 -0700)]
[pre-commit.ci] pre-commit autoupdate (#3837)
Shantanu [Tue, 15 Aug 2023 13:51:26 +0000 (06:51 -0700)]
Make pre-commit do less (#3838)
dependabot[bot] [Mon, 14 Aug 2023 07:30:56 +0000 (00:30 -0700)]
Bump pypa/cibuildwheel from 2.14.1 to 2.15.0 (#3836)
Christian Proud [Tue, 8 Aug 2023 18:12:05 +0000 (02:12 +0800)]
Remove ENV_PATH on Black action completion (#3759)
pre-commit-ci[bot] [Tue, 8 Aug 2023 15:41:39 +0000 (08:41 -0700)]
[pre-commit.ci] pre-commit autoupdate (#3833)
updates:
- [github.com/pre-commit/mirrors-prettier: v3.0.0 → v3.0.1](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.0...v3.0.1)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Shantanu [Fri, 4 Aug 2023 02:11:21 +0000 (19:11 -0700)]
More concise formatting for dummy implementations (#3796)
Shantanu [Fri, 4 Aug 2023 01:46:08 +0000 (18:46 -0700)]
Document pre-commit mirror (#3828)
pre-commit-ci[bot] [Tue, 1 Aug 2023 08:48:21 +0000 (01:48 -0700)]
[pre-commit.ci] pre-commit autoupdate (#3825)
dependabot[bot] [Mon, 31 Jul 2023 15:43:32 +0000 (08:43 -0700)]
Bump furo from 2023.5.20 to 2023.7.26 in /docs (#3824)
Bumps [furo](https://github.com/pradyunsg/furo) from 2023.5.20 to 2023.7.26.
- [Release notes](https://github.com/pradyunsg/furo/releases)
- [Changelog](https://github.com/pradyunsg/furo/blob/main/docs/changelog.md)
- [Commits](https://github.com/pradyunsg/furo/compare/2023.05.20...2023.07.26)
---
updated-dependencies:
- dependency-name: furo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Aneesh Agrawal [Thu, 27 Jul 2023 21:50:51 +0000 (17:50 -0400)]
Add Lyft to organizations using black (#3818)
freddiewanah [Thu, 27 Jul 2023 16:51:28 +0000 (02:51 +1000)]
Rewrite mostly useless assert in test_trans.py (#3810)
This PR updates an assert statement that checks the bounds of a
string-slicing operation. The updated assertion provides more accurate
and informative error handling by specifically checking the relative
values of the indices and the string length.
The original assertion was essentially checking if Python's string
slicing was behaving as expected. However, it wasn't providing any
guarantees or useful information about the bounds i and j themselves.
The updated assertion checks that the indices used for slicing are
within the bounds of the string. It will throw an AssertionError if the
indices are out of bounds or if i > j, providing a more specific and
informative error.
Yury V. Zaytsev [Thu, 27 Jul 2023 14:12:38 +0000 (16:12 +0200)]
Fix typo in `target-version` param wrongly used in plural (#3817)
Pradeep Kumar [Mon, 24 Jul 2023 04:56:19 +0000 (21:56 -0700)]
Fix unintentionally swapped words in index.md (#3809)
Fix unintentionally swapped words in index.md
I think the intent was to say "large changes in formatting", because it doesn't make sense to say "large formatting in changes".
mihazagar [Sat, 22 Jul 2023 18:12:37 +0000 (20:12 +0200)]
Fixing pre-commit using pyyaml with broken version (#3804)
Shantanu [Sat, 22 Jul 2023 15:49:51 +0000 (08:49 -0700)]
Simplify empty line tracker (#3797)
rdrll [Tue, 18 Jul 2023 21:11:24 +0000 (14:11 -0700)]
Improvements to contributing docs (#3753)
Richard Si [Tue, 18 Jul 2023 14:51:16 +0000 (10:51 -0400)]
Fix diff-shades comment missing newlines (#3799)
Preserving newlines is done differently when writing to $GITHUB_OUTPUT
over the deprecated :set-output: command.
dependabot[bot] [Mon, 17 Jul 2023 06:59:36 +0000 (23:59 -0700)]
Bump pypa/cibuildwheel from 2.13.1 to 2.14.1 (#3795)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Shantanu [Mon, 17 Jul 2023 04:33:58 +0000 (21:33 -0700)]
Fix most blib2to3 lint (#3794)
Richard Si [Mon, 17 Jul 2023 01:16:12 +0000 (21:16 -0400)]
Maintainers += Shantanu Jain (hauntsaninja) (#3792)
Clément Robert [Mon, 17 Jul 2023 01:09:26 +0000 (03:09 +0200)]
Avoid importing `IPython` if notebook cells do not contain magics (#3782)
Co-authored-by: hauntsaninja <hauntsaninja@gmail.com>
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Shantanu [Mon, 17 Jul 2023 00:35:19 +0000 (17:35 -0700)]
Continue to avoid Click typing issue (#3791)
rax [Tue, 11 Jul 2023 19:16:43 +0000 (14:16 -0500)]
Document shebang comment behaviour (#3787)
pre-commit-ci[bot] [Tue, 11 Jul 2023 14:50:52 +0000 (07:50 -0700)]
[pre-commit.ci] pre-commit autoupdate (#3780)
updates:
- [github.com/pycqa/flake8: 4.0.1 → 6.0.0](https://github.com/pycqa/flake8/compare/4.0.1...6.0.0)
- [github.com/pre-commit/mirrors-prettier: v2.7.1 → v3.0.0](https://github.com/pre-commit/mirrors-prettier/compare/v2.7.1...v3.0.0)
- [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.3.0...v4.4.0)
Shantanu [Tue, 11 Jul 2023 14:35:41 +0000 (07:35 -0700)]
Fix lint in test_ipynb (#3781)
Unblocks #3780
Alex Waygood [Tue, 11 Jul 2023 14:21:36 +0000 (15:21 +0100)]
Remove unneeded mypy dependencies (#3783)
Nicola Soranzo [Tue, 11 Jul 2023 14:21:15 +0000 (15:21 +0100)]
Remove Python 3.7 from classifiers (#3784)
Follow-up on https://github.com/psf/black/pull/3765
skykasko [Tue, 11 Jul 2023 02:38:01 +0000 (22:38 -0400)]
Fix typo in CITATION.cff (#3779)
Fix tiny typo in CITATION.cff
Jelle Zijlstra [Tue, 11 Jul 2023 00:09:47 +0000 (17:09 -0700)]
Prepare release 23.7.0 (#3776)
Shantanu [Mon, 10 Jul 2023 18:49:40 +0000 (11:49 -0700)]
Unpin pytest-xdist (#3772)
Shantanu [Mon, 10 Jul 2023 15:37:12 +0000 (08:37 -0700)]
Disable coverage on pypy tests (#3777)
The pypy tests are reeeeaaally slow. Maybe this will help.
Shantanu [Mon, 10 Jul 2023 00:04:50 +0000 (17:04 -0700)]
Upgrade to latest mypy (#3775)
Shantanu [Sun, 9 Jul 2023 23:28:26 +0000 (16:28 -0700)]
Fix crash on type comment with trailing space (#3773)
Jelle Zijlstra [Sun, 9 Jul 2023 22:52:41 +0000 (15:52 -0700)]
Fix removed comments in stub files (#3745)
Shantanu [Sun, 9 Jul 2023 22:24:01 +0000 (15:24 -0700)]
Improve performance by skipping unnecessary normalisation (#3751)
This speeds up black by about 40% when the cache is full
Kenneth Schackart [Sun, 9 Jul 2023 22:07:21 +0000 (15:07 -0700)]
Add CITATION.cff file (#3723)
Shantanu [Sun, 9 Jul 2023 22:05:01 +0000 (15:05 -0700)]
Run pyupgrade on blib2to3 and src (#3771)
Shantanu [Sun, 9 Jul 2023 20:29:47 +0000 (13:29 -0700)]
Remove click patch (#3768)
Apparently this was only needed on Python 3.6. We've now dropped support
for 3.6 and 3.7. It's also not needed on new enough click.
Shantanu [Sun, 9 Jul 2023 15:14:38 +0000 (08:14 -0700)]
Fix CI for Click typing issue (#3770)
https://github.com/pallets/click/issues/2558
Shantanu [Wed, 5 Jul 2023 17:08:04 +0000 (10:08 -0700)]
Drop support for Python 3.7 (#3765)
Shantanu [Wed, 5 Jul 2023 05:45:57 +0000 (22:45 -0700)]
Better error message for invalid exclude types (#3764)
Zac Hatfield-Dodds [Tue, 4 Jul 2023 23:38:39 +0000 (16:38 -0700)]
Enable `PYTHONWARNDEFAULTENCODING = 1` in CI (#3763)
rdrll [Fri, 30 Jun 2023 14:07:42 +0000 (07:07 -0700)]
CI Test: Deprecating 'set-output' command (#3757)
rdrll [Wed, 28 Jun 2023 20:45:56 +0000 (13:45 -0700)]
Doc: Developer reference update (#3755)
rdrll [Tue, 27 Jun 2023 14:23:39 +0000 (07:23 -0700)]
Fix a magical comment caused internal error (#3740)
`is_type_comment` now specifically deals with general type comments for a leaf.
`is_type_ignore_comment` now handles type comments contains ignore annotation for a leaf
`is_type_ignore_comment_string` used to determine if a string is an ignore type comment
Shantanu [Tue, 27 Jun 2023 00:47:55 +0000 (17:47 -0700)]
Decrease cost of ipynb code path when unneeded (#3748)
IPython is a very expensive import, like, at least 300ms. I'd also
venture that it's much more common than tokenize-rt, which is like 30ms.
I work in a repo where I use black, have IPython installed and there
happen to be a couple notebooks (that we don't want formatted). I know I
can force exclude ipynb, but this change doesn't really have a cost.
Shantanu [Sun, 25 Jun 2023 13:53:26 +0000 (06:53 -0700)]
Check self format for the whole repo (#3750)
`black .` is changing things in gallery and scripts for me
Shantanu [Sun, 25 Jun 2023 00:27:47 +0000 (17:27 -0700)]
Integrate verbose logging with get_sources (#3749)
Currently the verbose logging for "Sources to be formatted" is a little
suspect in that it is a completely different code path from
`get_sources`.
This can result in bugs like https://github.com/psf/black/pull/3216#issuecomment-
1213557359
and generally limits the value of these logs.
This does change the "when" of this log, but the colours help separate
it from the even more verbose logs.
Shantanu [Sat, 24 Jun 2023 23:06:12 +0000 (16:06 -0700)]
Allow specifying `--workers` via environment variable (#3743)
Stian Jensen [Fri, 23 Jun 2023 04:22:28 +0000 (06:22 +0200)]
Build with mypyc 1.3 (#3697)
Several new versions of mypyc has been released since the last upgrade, and they include some performance improvements which could make the compiled version of Black run faster.
https://mypy-lang.org/news.html
The latest version of hatch-mypyc allows being installed next the 1.x series of mypy.
Renan Santos [Fri, 23 Jun 2023 04:21:49 +0000 (01:21 -0300)]
Fix not honouring pyproject.toml when using stdin and calling black from parent directory (#3719)
Co-authored-by: Renan Rodrigues <renan.rodrigues@appliedbiomath.com>
rdrll [Tue, 20 Jun 2023 14:06:03 +0000 (07:06 -0700)]
Doc: updating url link (#3739)
dependabot[bot] [Mon, 19 Jun 2023 13:58:20 +0000 (06:58 -0700)]
Bump myst-parser from 1.0.0 to 2.0.0 in /docs (#3738)
Bumps [myst-parser](https://github.com/executablebooks/MyST-Parser) from 1.0.0 to 2.0.0.
- [Release notes](https://github.com/executablebooks/MyST-Parser/releases)
- [Changelog](https://github.com/executablebooks/MyST-Parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/executablebooks/MyST-Parser/compare/v1.0.0...v2.0.0)
---
updated-dependencies:
- dependency-name: myst-parser
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Yilei "Dolee" Yang [Fri, 16 Jun 2023 00:08:26 +0000 (17:08 -0700)]
Do not add trailing commas to return type annotations using PEP 604 unions (#3735)
Fix #3638: Do not add trailing commas to return type annotations using PEP 604 unions.
Alwyn Kik [Mon, 12 Jun 2023 19:20:31 +0000 (21:20 +0200)]
Max line length with bugbear (#3731)
* Make phrasing for flake8 users more concise
max-line-length should be 80 with flake8-bugbear
Fixes #3716
* Re-add rationale and an explanation for
disabling E203
* Run pre-commit
dependabot[bot] [Mon, 12 Jun 2023 17:08:45 +0000 (10:08 -0700)]
Bump peter-evans/create-or-update-comment from 3.0.1 to 3.0.2 (#3730)
Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
- [Commits](https://github.com/peter-evans/create-or-update-comment/compare/
ca08ebd5dc95aa0cd97021e9708fcd6b87138c9b ...
c6c9a1a66007646a28c153e2a8580a5bad27bcfa )
---
updated-dependencies:
- dependency-name: peter-evans/create-or-update-comment
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 12 Jun 2023 17:05:49 +0000 (10:05 -0700)]
Bump pypa/cibuildwheel from 2.13.0 to 2.13.1 (#3729)
Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from 2.13.0 to 2.13.1.
- [Release notes](https://github.com/pypa/cibuildwheel/releases)
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
- [Commits](https://github.com/pypa/cibuildwheel/compare/v2.13.0...v2.13.1)
---
updated-dependencies:
- dependency-name: pypa/cibuildwheel
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Ville Skyttä [Sat, 10 Jun 2023 16:54:21 +0000 (19:54 +0300)]
Use aware datetimes to represent UTC (#3728)
Avoids a Python 3.12 deprecation warning.
Subtle difference: previously, timestamps in diff filenames had the
`+0000` separated from the timestamp by space. With this, the space is
there no more, and there is a colon, as in `+00:00`.
Jelle Zijlstra [Fri, 2 Jun 2023 01:37:08 +0000 (18:37 -0700)]
Add support for PEP 695 syntax (#3703)
jmcb [Wed, 31 May 2023 21:29:31 +0000 (22:29 +0100)]
blackd: show default values for options (#3712)
* blackd: show default values for options
Reference: https://click.palletsprojects.com/en/8.1.x/api/#click.Option
* Fix spacing in CHANGES.md
dependabot[bot] [Mon, 29 May 2023 13:33:41 +0000 (06:33 -0700)]
Bump pypa/cibuildwheel from 2.12.3 to 2.13.0 (#3710)
Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from 2.12.3 to 2.13.0.
- [Release notes](https://github.com/pypa/cibuildwheel/releases)
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
- [Commits](https://github.com/pypa/cibuildwheel/compare/v2.12.3...v2.13.0)
---
updated-dependencies:
- dependency-name: pypa/cibuildwheel
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Jelle Zijlstra [Thu, 25 May 2023 04:06:08 +0000 (21:06 -0700)]
Fix docs formatting (#3704)
Jelle Zijlstra [Thu, 25 May 2023 02:55:12 +0000 (19:55 -0700)]
Document each configuration option in more detail (#2839)
Stefaan Lippens [Thu, 25 May 2023 02:53:27 +0000 (04:53 +0200)]
docs: update note on GitHub .git-blame-ignore-revs support (#3655)
Deepyaman Datta [Thu, 25 May 2023 02:52:59 +0000 (22:52 -0400)]
Change example from `%%writeline` to `%%writefile` (#3673)
dependabot[bot] [Mon, 22 May 2023 15:47:58 +0000 (11:47 -0400)]
Bump furo from 2023.3.27 to 2023.5.20 in /docs (#3698)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Jason R. Coombs [Fri, 19 May 2023 17:00:29 +0000 (13:00 -0400)]
Avoid EncodingWarning in blib2to3 (#3696)
Jonathan Berthias [Thu, 18 May 2023 23:57:17 +0000 (01:57 +0200)]
Remove blank lines before class docstring (#3692)
Ray Bell [Wed, 17 May 2023 02:47:45 +0000 (22:47 -0400)]
Sort DEFAULT_EXCLUDES and add .vscode, .pytest_cache and .ruff_cache (#3691)
Co-authored-by: Ray Bell <ray.bell@dtn.com>
dependabot[bot] [Mon, 15 May 2023 22:41:35 +0000 (15:41 -0700)]
Bump peter-evans/find-comment from 2.3.0 to 2.4.0 (#3670)
Bumps [peter-evans/find-comment](https://github.com/peter-evans/find-comment) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/peter-evans/find-comment/releases)
- [Commits](https://github.com/peter-evans/find-comment/compare/
034abe94d3191f9c89d870519735beae326f2bdb ...
a54c31d7fa095754bfef525c0c8e5e5674c4b4b1 )
---
updated-dependencies:
- dependency-name: peter-evans/find-comment
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Cooper Lees <me@cooperlees.com>
Matthieu Simon [Mon, 15 May 2023 21:35:39 +0000 (23:35 +0200)]
[github action] display black result in job summary (#3688)
* send output to $GITHUB_STEP_SUMMARY
* update CHANGES.md
* update CHANGES.md with PR number
* implement PR feedback
* fix pre-commit issues (prettier/trailing whitespace)
dependabot[bot] [Mon, 8 May 2023 13:36:24 +0000 (06:36 -0700)]
Bump peter-evans/create-or-update-comment from 2.1.1 to 3.0.1 (#3683)
Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 2.1.1 to 3.0.1.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
- [Commits](https://github.com/peter-evans/create-or-update-comment/compare/
67dcc547d311b736a8e6c5c236542148a47adc3d ...
ca08ebd5dc95aa0cd97021e9708fcd6b87138c9b )
---
updated-dependencies:
- dependency-name: peter-evans/create-or-update-comment
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Jelle Zijlstra [Wed, 3 May 2023 17:26:57 +0000 (10:26 -0700)]
blib2to3: add a few annotations (#3675)
Jelle Zijlstra [Wed, 3 May 2023 15:43:20 +0000 (08:43 -0700)]
Fix new mypy error in blib2to3 (#3674)
See python/mypy#15174
Yilei "Dolee" Yang [Fri, 28 Apr 2023 18:10:01 +0000 (11:10 -0700)]
Do not wrap implicitly concatenated strings used as func args in parens (#3640)
dependabot[bot] [Mon, 24 Apr 2023 11:46:34 +0000 (04:46 -0700)]
Bump pypa/cibuildwheel from 2.12.1 to 2.12.3 (#3657)
Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from 2.12.1 to 2.12.3.
- [Release notes](https://github.com/pypa/cibuildwheel/releases)
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
- [Commits](https://github.com/pypa/cibuildwheel/compare/v2.12.1...v2.12.3)
---
updated-dependencies:
- dependency-name: pypa/cibuildwheel
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
James Braza [Wed, 19 Apr 2023 10:24:03 +0000 (03:24 -0700)]
Document black-jupyter hook (#3650)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
dependabot[bot] [Mon, 17 Apr 2023 14:17:11 +0000 (07:17 -0700)]
Bump sphinx-copybutton from 0.5.1 to 0.5.2 in /docs (#3651)
Bumps [sphinx-copybutton](https://github.com/executablebooks/sphinx-copybutton) from 0.5.1 to 0.5.2.
- [Release notes](https://github.com/executablebooks/sphinx-copybutton/releases)
- [Changelog](https://github.com/executablebooks/sphinx-copybutton/blob/master/CHANGELOG.md)
- [Commits](https://github.com/executablebooks/sphinx-copybutton/compare/v0.5.1...v0.5.2)
---
updated-dependencies:
- dependency-name: sphinx-copybutton
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Yilei "Dolee" Yang [Fri, 14 Apr 2023 21:05:08 +0000 (14:05 -0700)]
Fix two more mypyc issues with mypyc v1.2.0. (#3648)
Yilei "Dolee" Yang [Fri, 14 Apr 2023 00:12:05 +0000 (17:12 -0700)]
Explicitly annotate this with `Final[str]` to make it work in mypyc 1.0.0+. (#3645)
Harutaka Kawamura [Mon, 3 Apr 2023 13:56:59 +0000 (22:56 +0900)]
Fix an example for 'Improved parentheses management' in the (future of the) Black code style (#3635)
dependabot[bot] [Mon, 3 Apr 2023 13:55:17 +0000 (06:55 -0700)]
Bump furo from 2023.3.23 to 2023.3.27 in /docs (#3636)
Bumps [furo](https://github.com/pradyunsg/furo) from 2023.3.23 to 2023.3.27.
- [Release notes](https://github.com/pradyunsg/furo/releases)
- [Changelog](https://github.com/pradyunsg/furo/blob/main/docs/changelog.md)
- [Commits](https://github.com/pradyunsg/furo/compare/2023.03.23...2023.03.27)
---
updated-dependencies:
- dependency-name: furo
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Jelle Zijlstra [Wed, 29 Mar 2023 00:53:23 +0000 (18:53 -0600)]
Fixup the changelog (#3628)
Jelle Zijlstra [Wed, 29 Mar 2023 00:46:04 +0000 (18:46 -0600)]
Prepare release 23.3.0 (#3625)