]> 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:

etc/vim.git
4 months agoMerge commit 'c58a4f3586473f7476510714698e60835fcb94ef'
martin f. krafft [Tue, 8 Apr 2025 15:01:19 +0000 (17:01 +0200)]
Merge commit 'c58a4f3586473f7476510714698e60835fcb94ef'

4 months agoSquashed '.vim/bundle/vim-markdown/' changes from da5a7ac9..8f6cb3a6
martin f. krafft [Tue, 8 Apr 2025 15:01:19 +0000 (17:01 +0200)]
Squashed '.vim/bundle/vim-markdown/' changes from da5a7ac9..8f6cb3a6

8f6cb3a6 Merge pull request #636 from KSR-Yasuda/bugfix/CodeFenceHandling
7026436c Merge pull request #660 from KSR-Yasuda/bugfix/ContainCodeInHeading
4a3ddd7d Contain `mkdCode` in `mkdHeadingContent`
a657e697 docs: Correct mappings zo/zO and add za/zA (#652)
46add6c3 feat: Add (optin) support for formatting tables without borders (#643)
66ed2e14 Fix jumping to anchor
4e9b4ded docs: fix a couple of small typos in code comments
6b13e98b Highlight strikethrough text in headings
18f3af70 Highlight footnotes in headings
241161e0 Highlight bold italic text in headings
4f87df57 Highlight bold text in headings
2b9e32ec Highlight italics in headings
a6a1bed7 Fix code fence handling
cc82d88e Expand relative path URL using host path separator
5d3d1b6c docs: Mention need to *not* use semver support in plugin managers (#619)
df4be862 Add syntax group that matches a list item checkbox `mkdListItemCheckbox` (#564)
2cb8d9d8 Merge pull request #607 from lggruspe/fix-setextoatx
3bbbaa32 Allow fenced code highlight in liquid (#609)
aa7d685a Fix handling of frontmatter option (#595)
7231fa4b Allow escaped pipe (bar) characters inside TableFormat
67571a1c Fix invalid range in SetexToAtx
b9c5c34a Add failing tests for SetexToAtx
926cb9a3 Add tests for HeaderDecrease and HeaderIncrease
c3f83ebb Remove outdated advice for Vim plugins (#600)
8a0b4341 Fix broken link (#599)
3a964396 Disable code block syntax highlighting when syntax=OFF (#580)
9068655b Fix fenced code block syntax highlighting (#534)
c031a3e6 Avoid trailing comments `-->` turning the comment into a heading (#517)
95e90840 Merge pull request #573 from StarryLeo/revert-commit-18ed14a
21c8a8b2 chore: Clue in linter about ftdetect augroups
f868afae Revert "refactor: Execute autocmd in group scope"
b4dc23e2 Merge pull request #571 from tomtomjhj/table-format
a0467941 Add tests
e82be74d Fix TableFormat for indented tables, version 2
d7038a62 Merge pull request #570 from preservim/add-ci
aca1aaa9 Revert "Fix TableFormat for indented tables (#569)"
9297be2b Merge remote-tracking branch 'origin/master' into add-ci
0eb5bd6d docs(readme): Add CI workflow badges
6d5c19bf test: Make fold test NeoVIM/VIM compatible
ded139ce refactor: Cleanup test script for use with NeoVIM/VIM
90ca3483 chore(ci): Add Vader workflow to run regression tests
60022432 refactor: Make variable scope explicit
18ed14af refactor: Execute autocmd in group scope
9cdd48bc refactor: Use full option names
0888ec7e refactor: Prefer single quoted strings
8f16759b refactor: Use robust operators
0cb62d8d chore(ci): Add Reviewdog workflow to lint PRs
c9236dc3 chore(ci): Add vint workflow to lint vimscript
347e230c chore(tooling): Add vimscript lint configuration
50d42082 Change shortcut: MoveToCurHeader: `]c` -> `]h` (#556)
6e71e44a Markdown_EditUrlUnderCursor falls back to builtin gf (#566)
6fe1a105 Fix TableFormat for indented tables (#569)
9156bba6 Update canonical URL (forwarding in effect from original URL)
3ba557dc Drop obsolete Travis config (Travis dropped most FOSS)
8e5d86f7 Merge pull request #498 from jrwrigh/master
9497be60 fix: Remove debugging echo message
909c0e51 Merge pull request #492 from jrwrigh/master
dfd92dd4 test: Add test for characters after code block lang
23a51468 Merge pull request #497 from AggroBoy/master
9513e82a tweak html tag matching for code blocks
139b6f66 Merge pull request #477 from cdelledonne/insert-toc
cd46012b Merge pull request #472 from kalafut/master
3bb8e9ae Merge pull request #486 from jbriales/master
cb8d46ad Fix tex syntax test for latest syntax
154b1f85 feat: Allow characters after code block language
c1793167 Merge pull request #451 from yous/fix-url
b0081772 Save current cursor position to jumplist before MoveToParentHeader
4528ec64 Add `:InsertToc` and `:InsertNToc` commands
8db8763e Add GetHeaderList() in ftplugin/markdown.vim
583dc6a5 Add 'mdx' to recognized file extensions
c34496a6 Fix mkdInlineURL not to highlight after closing brackets

git-subtree-dir: .vim/bundle/vim-markdown
git-subtree-split: 8f6cb3a6ca4e3b6bcda0730145a0b700f3481b51

4 months agoMerge commit '3e3c8f18c7e13b80a0657d48c3c4fa8f55d9eb68'
martin f. krafft [Tue, 8 Apr 2025 14:55:27 +0000 (16:55 +0200)]
Merge commit '3e3c8f18c7e13b80a0657d48c3c4fa8f55d9eb68'

4 months agoSquashed '.vim/bundle/password-store/' changes from dc759ab3..474a7dfc
martin f. krafft [Tue, 8 Apr 2025 14:55:27 +0000 (16:55 +0200)]
Squashed '.vim/bundle/password-store/' changes from dc759ab3..474a7dfc

474a7dfc cleanup: Remove unneeded autoload guard
e7bb4ab5 fix: fat-fingered cpoptions
33e96717 perf: remove uneeeded ftdetect guard
2aa305fa Adding a default CursorLone
fb41a021 Add a projectionist config
5e34e7aa Shuffling test files
6ed6635c Cleanup gunk in obfuscation
3ed78b66 Add empty test
b0df1566 Better support for cterm obfustaction
73599919 Remove stale, non-working syntax late loading
69938267 Fix Conceal & Reveal

git-subtree-dir: .vim/bundle/password-store
git-subtree-split: 474a7dfc1c49986ed92fa78925963080b673926a

4 months agointegrate pathogen from bundle/subtree
martin f. krafft [Tue, 8 Apr 2025 14:50:49 +0000 (16:50 +0200)]
integrate pathogen from bundle/subtree

4 months agoMerge commit '55bf04470ecc026e71c037f0f35402fdeac66767' as '.vim/bundle/vim-pathogen'
martin f. krafft [Tue, 8 Apr 2025 14:50:09 +0000 (16:50 +0200)]
Merge commit '55bf04470ecc026e71c037f0f35402fdeac66767' as '.vim/bundle/vim-pathogen'

4 months agoSquashed '.vim/bundle/vim-pathogen/' content from commit ac4dd949
martin f. krafft [Tue, 8 Apr 2025 14:50:09 +0000 (16:50 +0200)]
Squashed '.vim/bundle/vim-pathogen/' content from commit ac4dd949

git-subtree-dir: .vim/bundle/vim-pathogen
git-subtree-split: ac4dd9494fa9008754e49dff85bff1b5746c89b4

4 months agoremove unused colour scheme
martin f. krafft [Tue, 8 Apr 2025 14:31:35 +0000 (16:31 +0200)]
remove unused colour scheme

4 months agoremove table macros
martin f. krafft [Tue, 8 Apr 2025 14:30:13 +0000 (16:30 +0200)]
remove table macros

4 months agoadd gnupg script/package
martin f. krafft [Tue, 8 Apr 2025 12:23:37 +0000 (14:23 +0200)]
add gnupg script/package

4 months agomove lbdbq package to mail ftplugin
martin f. krafft [Tue, 8 Apr 2025 12:20:58 +0000 (14:20 +0200)]
move lbdbq package to mail ftplugin

4 months agomove ftplugin scripts from after to normal ftplugin
martin f. krafft [Tue, 8 Apr 2025 12:42:15 +0000 (14:42 +0200)]
move ftplugin scripts from after to normal ftplugin

4 months agoremove tex remnants
martin f. krafft [Tue, 8 Apr 2025 12:17:41 +0000 (14:17 +0200)]
remove tex remnants

4 months agoremove itsalltext
martin f. krafft [Tue, 8 Apr 2025 12:16:15 +0000 (14:16 +0200)]
remove itsalltext

4 months agoclean up broken plugins
martin f. krafft [Tue, 8 Apr 2025 12:07:23 +0000 (14:07 +0200)]
clean up broken plugins

4 months agoenable matchit
martin f. krafft [Tue, 8 Apr 2025 09:54:26 +0000 (11:54 +0200)]
enable matchit

4 months agoenable editorconfig
martin f. krafft [Tue, 8 Apr 2025 09:54:21 +0000 (11:54 +0200)]
enable editorconfig

4 months agoRemove black and flake8
martin f. krafft [Tue, 8 Apr 2025 09:54:09 +0000 (11:54 +0200)]
Remove black and flake8

4 months agoadd thumbsup iab
martin f. krafft [Tue, 4 Feb 2025 18:18:53 +0000 (19:18 +0100)]
add thumbsup iab

4 months agoadd main shortcut
martin f. krafft [Fri, 4 Apr 2025 09:22:12 +0000 (11:22 +0200)]
add main shortcut

4 months agoprevent black from splitting ipdb trace lines
martin f. krafft [Fri, 4 Apr 2025 09:07:33 +0000 (11:07 +0200)]
prevent black from splitting ipdb trace lines

9 months agoadd new mail identities
martin f. krafft [Tue, 5 Nov 2024 21:42:42 +0000 (22:42 +0100)]
add new mail identities

22 months agoMerge commit '882d8795c6ff65c02f2657e596391748d1b6b7f5'
martin f. krafft [Fri, 20 Oct 2023 12:39:05 +0000 (14:39 +0200)]
Merge commit '882d8795c6ff65c02f2657e596391748d1b6b7f5'

22 months agoFix merging implicit multiline strings that have inline comments (#3956)
Henri Holopainen [Fri, 20 Oct 2023 03:09:33 +0000 (06:09 +0300)]
Fix merging implicit multiline strings that have inline comments (#3956)

* Fix test behaviour

* Add new test cases

* Skip merging strings that have inline comments

* Don't merge lines with multiline strings with inline comments

* Changelog entry

* Document implicit multiline string merging rules

* Fix PR number

22 months agoPrepare release 23.10.0 (#3951)
Jelle Zijlstra [Tue, 17 Oct 2023 14:22:24 +0000 (07:22 -0700)]
Prepare release 23.10.0 (#3951)

22 months agoFix parser bug where "type" was misinterpreted as a keyword inside a match (#3950)
Jelle Zijlstra [Tue, 17 Oct 2023 07:59:15 +0000 (00:59 -0700)]
Fix parser bug where "type" was misinterpreted as a keyword inside a match (#3950)

Fixes #3790

Slightly hacky, but I think this is correct and it should also improve performance somewhat.

22 months agoFix grammar for type alias support (#3949)
Jelle Zijlstra [Mon, 16 Oct 2023 17:53:38 +0000 (10:53 -0700)]
Fix grammar for type alias support (#3949)

Fixes #3948

22 months agoTreat raw strings like other docstrings (#3947)
Jelle Zijlstra [Mon, 16 Oct 2023 17:51:51 +0000 (10:51 -0700)]
Treat raw strings like other docstrings (#3947)

Fixes #3944

22 months agoFix long lines with power operator(s) getting splitted before line length (#3942)
Henri Holopainen [Mon, 16 Oct 2023 14:08:21 +0000 (17:08 +0300)]
Fix long lines with power operator(s) getting splitted before line length (#3942)

Fixes #3889

22 months agoMigrate mypy config to pyproject.toml (#3936)
Charles Patel [Mon, 16 Oct 2023 12:24:16 +0000 (07:24 -0500)]
Migrate mypy config to pyproject.toml (#3936)

Co-authored-by: Charles Patel <charles.patel@apkudo.com>
22 months agoCI Test: Deprecating 'Healthcheck.all()' from Hypothesis in fuzz.py (#3945)
rdrll [Mon, 16 Oct 2023 12:13:53 +0000 (05:13 -0700)]
CI Test: Deprecating 'Healthcheck.all()' from Hypothesis in fuzz.py (#3945)

22 months agoFix test that was not being run (#3939)
Jelle Zijlstra [Tue, 10 Oct 2023 03:02:27 +0000 (20:02 -0700)]
Fix test that was not being run (#3939)

22 months agoStandardise newlines after module-level docstrings (#3932)
Daniël van Noord [Tue, 10 Oct 2023 02:34:26 +0000 (04:34 +0200)]
Standardise newlines after module-level docstrings (#3932)

Co-authored-by: jpy-git <josephyoung.jpy@gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
22 months agoReport all stacktraces in verbose mode (#3938)
Shantanu [Tue, 10 Oct 2023 02:15:51 +0000 (19:15 -0700)]
Report all stacktraces in verbose mode (#3938)

Previously these were swallowed (unlike the ones in black/__init__.py)

22 months agoFix cache versioning when BLACK_CACHE_DIR is set (#3937)
Shantanu [Tue, 10 Oct 2023 01:44:36 +0000 (18:44 -0700)]
Fix cache versioning when BLACK_CACHE_DIR is set (#3937)

22 months agoUse inline flags for test cases (#3931)
Jelle Zijlstra [Tue, 10 Oct 2023 01:43:47 +0000 (18:43 -0700)]
Use inline flags for test cases (#3931)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
22 months agoDrop support for parsing Python 2 (#3933)
Shantanu [Mon, 9 Oct 2023 14:02:49 +0000 (07:02 -0700)]
Drop support for parsing Python 2 (#3933)

22 months agoBump pypa/cibuildwheel from 2.16.1 to 2.16.2 (#3934)
dependabot[bot] [Mon, 9 Oct 2023 14:00:49 +0000 (07:00 -0700)]
Bump pypa/cibuildwheel from 2.16.1 to 2.16.2 (#3934)

Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from 2.16.1 to 2.16.2.
- [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.16.1...v2.16.2)

---
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>
22 months agoSet Docker to use 3.11 for now (#3927)
Cooper Lees [Fri, 6 Oct 2023 18:39:20 +0000 (11:39 -0700)]
Set Docker to use 3.11 for now (#3927)

Until we get new aiohttp wheels we need to build with 3.11.
You can see an example of a fail here:

Workaround for #3919 - Will leave it open until we can move to 3.21

22 months agoUpdate output display to job summary (#3914)
Cristiano Salerno [Fri, 6 Oct 2023 17:41:36 +0000 (19:41 +0200)]
Update output display to job summary (#3914)

* Update output display to job summary

* fix: handled exit-code of script

* added changelog message

22 months agoRemove `$`, `>>>` and other prompt prefixes when code copied from the… (#3884)
David Lev [Fri, 6 Oct 2023 01:21:56 +0000 (04:21 +0300)]
Remove `$`, `>>>` and other prompt prefixes when code copied from the… (#3884)

Adding configurations for sphinx-copybutton in conf.py
https://sphinx-copybutton.readthedocs.io/en/latest/use.html#using-regexp-prompt-identifiers

22 months agoexclude tests/data/.* from mypy (#3917)
John Litborn [Fri, 6 Oct 2023 01:15:35 +0000 (03:15 +0200)]
exclude tests/data/.* from mypy (#3917)

22 months agoUpdate link to VS Code formatting instructions (#3921)
Jake Anto [Fri, 6 Oct 2023 01:14:59 +0000 (06:44 +0530)]
Update link to VS Code formatting instructions (#3921)

Update link

22 months agorespect magic trailing commas in return types (#3916)
John Litborn [Wed, 4 Oct 2023 23:42:35 +0000 (01:42 +0200)]
respect magic trailing commas in return types (#3916)

23 months ago[pre-commit.ci] pre-commit autoupdate (#3915)
pre-commit-ci[bot] [Tue, 3 Oct 2023 17:19:53 +0000 (10:19 -0700)]
[pre-commit.ci] pre-commit autoupdate (#3915)

updates:
- [github.com/pre-commit/mirrors-mypy: v1.5.0 → v1.5.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.5.0...v1.5.1)
- [github.com/pre-commit/mirrors-prettier: v3.0.1 → v3.0.3](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.1...v3.0.3)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
23 months agodocs: use LSP for SublimeText 4 (#3913)
Shreya Agarwal [Mon, 2 Oct 2023 14:35:57 +0000 (20:05 +0530)]
docs: use LSP for SublimeText 4 (#3913)

23 months agoBump pypa/cibuildwheel from 2.16.0 to 2.16.1 (#3911)
dependabot[bot] [Mon, 2 Oct 2023 06:40:00 +0000 (23:40 -0700)]
Bump pypa/cibuildwheel from 2.16.0 to 2.16.1 (#3911)

23 months agoFix up changelog (#3910)
Shantanu [Sun, 1 Oct 2023 22:41:32 +0000 (15:41 -0700)]
Fix up changelog (#3910)

23 months agoFix comments getting removed from inside parenthesized strings (#3909)
Eddie Darling [Sun, 1 Oct 2023 22:35:42 +0000 (15:35 -0700)]
Fix comments getting removed from inside parenthesized strings (#3909)

Since the id of the old leaf may be
the key to comments, the new leaf
must adopt the old comments

23 months agoTry newer clang in diff-shades job (#3904)
Jelle Zijlstra [Thu, 28 Sep 2023 16:10:01 +0000 (09:10 -0700)]
Try newer clang in diff-shades job (#3904)

23 months agoadd support for printing the diff of AST trees when running tests (#3902)
John Litborn [Thu, 28 Sep 2023 14:03:24 +0000 (16:03 +0200)]
add support for printing the diff of AST trees when running tests (#3902)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
23 months agoBump pypa/cibuildwheel from 2.15.0 to 2.16.0 (#3901)
dependabot[bot] [Mon, 25 Sep 2023 16:32:58 +0000 (09:32 -0700)]
Bump pypa/cibuildwheel from 2.15.0 to 2.16.0 (#3901)

Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from 2.15.0 to 2.16.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.15.0...v2.16.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>
23 months agoadded the py311 to target-version config (#3898)
Syed Mohammad Ibrahim [Sun, 24 Sep 2023 02:23:03 +0000 (07:53 +0530)]
added the py311 to target-version config (#3898)

23 months agofix indentation of line breaks in long type hints by adding parens (#3899)
John Litborn [Fri, 22 Sep 2023 15:38:51 +0000 (17:38 +0200)]
fix indentation of line breaks in long type hints by adding parens (#3899)

* fix indentation of line breaks in long type hints by adding parentheses, and remove unnecessary parentheses

* add entry in CHANGES.md, make the style change only in preview mode

23 months agoRemove outdated mentions of runtime support of Python 3.7 (#3896)
Eero Vaher [Mon, 18 Sep 2023 17:35:07 +0000 (20:35 +0300)]
Remove outdated mentions of runtime support of Python 3.7 (#3896)

Remove mentions of runtime support of Python 3.7

Runtime support of Python 3.7 was removed in
b4dca26c7d93f930bbd5a7b552807370b60d4298 but a few mentions of it being
supported have remained until now.

23 months agoBump actions/checkout from 3 to 4 (#3893)
dependabot[bot] [Mon, 18 Sep 2023 13:48:27 +0000 (06:48 -0700)]
Bump actions/checkout from 3 to 4 (#3893)

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  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>
23 months agoBump docker/setup-qemu-action from 2 to 3 (#3890)
dependabot[bot] [Mon, 18 Sep 2023 13:48:11 +0000 (06:48 -0700)]
Bump docker/setup-qemu-action from 2 to 3 (#3890)

Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  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>
23 months agoBump docker/setup-buildx-action from 2 to 3 (#3892)
dependabot[bot] [Mon, 18 Sep 2023 13:48:03 +0000 (06:48 -0700)]
Bump docker/setup-buildx-action from 2 to 3 (#3892)

Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  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>
23 months agoBump docker/login-action from 2 to 3 (#3891)
dependabot[bot] [Mon, 18 Sep 2023 13:47:43 +0000 (06:47 -0700)]
Bump docker/login-action from 2 to 3 (#3891)

Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/login-action
  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>
23 months agoBump docker/build-push-action from 4 to 5 (#3894)
dependabot[bot] [Mon, 18 Sep 2023 13:47:26 +0000 (06:47 -0700)]
Bump docker/build-push-action from 4 to 5 (#3894)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  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>
23 months agoBump sphinx from 7.2.5 to 7.2.6 in /docs (#3895)
dependabot[bot] [Mon, 18 Sep 2023 13:47:02 +0000 (06:47 -0700)]
Bump sphinx from 7.2.5 to 7.2.6 in /docs (#3895)

Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 7.2.5 to 7.2.6.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES.rst)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v7.2.5...v7.2.6)

---
updated-dependencies:
- dependency-name: sphinx
  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>
23 months agoDocument disabling E704 (#3888)
Shantanu [Wed, 13 Sep 2023 07:40:41 +0000 (00:40 -0700)]
Document disabling E704 (#3888)

Linking #3887

23 months agomypyc build improvements (#3881)
Shantanu [Mon, 11 Sep 2023 20:36:37 +0000 (13:36 -0700)]
mypyc build improvements (#3881)

Build in separate jobs. This makes it clearer if e.g. a single Python
version is failing. It also potentially gets you more parallelism.

Build everything on push to master.

Only build Linux 3.8 and 3.11 wheels on PRs.

23 months agoBump docutils from 0.19 to 0.20.1 in /docs (#3699)
dependabot[bot] [Mon, 11 Sep 2023 20:20:36 +0000 (13:20 -0700)]
Bump docutils from 0.19 to 0.20.1 in /docs (#3699)

Bumps [docutils](https://docutils.sourceforge.io/) from 0.19 to 0.20.1.

23 months agoBump sphinx from 7.2.3 to 7.2.5 in /docs (#3882)
dependabot[bot] [Mon, 11 Sep 2023 20:19:57 +0000 (13:19 -0700)]
Bump sphinx from 7.2.3 to 7.2.5 in /docs (#3882)

Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 7.2.3 to 7.2.5.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v7.2.3...v7.2.5)

23 months agoFix broken url in editors.md (#3885)
Simon Alinder [Mon, 11 Sep 2023 16:47:47 +0000 (18:47 +0200)]
Fix broken url in editors.md (#3885)

* Fix broken url in editors.md

Update a link pointing to the Arch Linux repos.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
23 months agoBump actions/checkout from 3 to 4 (#3883)
dependabot[bot] [Mon, 11 Sep 2023 16:34:36 +0000 (09:34 -0700)]
Bump actions/checkout from 3 to 4 (#3883)

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  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>
23 months agoPrepare release 23.9.1 (#3878)
Jelle Zijlstra [Mon, 11 Sep 2023 00:35:41 +0000 (17:35 -0700)]
Prepare release 23.9.1 (#3878)

23 months agomypyc builds on PRs, skip mypyc wheels for 3.12 (#3870)
Shantanu [Sun, 10 Sep 2023 23:47:08 +0000 (16:47 -0700)]
mypyc builds on PRs, skip mypyc wheels for 3.12 (#3870)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
23 months agoPickle raw tuples in FileData cache (#3877)
Jelle Zijlstra [Sun, 10 Sep 2023 23:16:24 +0000 (16:16 -0700)]
Pickle raw tuples in FileData cache (#3877)

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
23 months agoRe-export black.Mode (#3875)
Jelle Zijlstra [Sun, 10 Sep 2023 23:12:20 +0000 (16:12 -0700)]
Re-export black.Mode (#3875)

23 months agoIgnore aiohttp DeprecationWarning for 3.12 (#3876)
Jelle Zijlstra [Sun, 10 Sep 2023 22:45:13 +0000 (15:45 -0700)]
Ignore aiohttp DeprecationWarning for 3.12 (#3876)

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
23 months agoUpgrade to Furo 2023.9.10 to fix docs build (#3873)
Hugo van Kemenade [Sun, 10 Sep 2023 21:36:25 +0000 (15:36 -0600)]
Upgrade to Furo 2023.9.10 to fix docs build (#3873)

23 months agoAdd mypyc test marks to new tests that patch (#3871)
Shantanu [Sun, 10 Sep 2023 14:53:27 +0000 (07:53 -0700)]
Add mypyc test marks to new tests that patch (#3871)

This is enough for me to get a clean test run on Python 3.9 with mypyc.
I have not been able to repro the pickle failures on either Linux or
macOS.

23 months agoBump RTD Python version from 3.8 to 3.11 (#3868)
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+.

23 months agoAdd classifier for 3.12 (#3866)
Shantanu [Sat, 9 Sep 2023 05:16:25 +0000 (22:16 -0700)]
Add classifier for 3.12 (#3866)

23 months agoUpgrade mypy (#3864)
Jelle Zijlstra [Sat, 9 Sep 2023 05:16:15 +0000 (22:16 -0700)]
Upgrade mypy (#3864)

23 months agoPrepare release 23.9.0 (#3863)
Jelle Zijlstra [Sat, 9 Sep 2023 03:24:49 +0000 (20:24 -0700)]
Prepare release 23.9.0 (#3863)

23 months agoBlank line between nested and function def in stub files. (#3862)
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>
23 months agoAvoid removing whitespace for walrus operators within subscripts (#3823)
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>
23 months agoAdd Black PyCharm 2023.2 integration instructions (#3839)
Jonas Haag [Fri, 8 Sep 2023 01:35:07 +0000 (03:35 +0200)]
Add Black PyCharm 2023.2 integration instructions (#3839)

23 months agoblackd: fix mishandling of single character input (#3558)
KotlinIsland [Thu, 7 Sep 2023 07:11:50 +0000 (17:11 +1000)]
blackd: fix mishandling of single character input (#3558)

23 months agoApply ignore logic before symlink resolution (#3846)
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

2 years agoMove coverage configurations to `pyproject.toml` (#3858)
Johnny.H [Sun, 3 Sep 2023 02:46:23 +0000 (10:46 +0800)]
Move coverage configurations to `pyproject.toml` (#3858)

2 years agoBump furo from 2023.7.26 to 2023.8.19 in /docs + sphinx to 7.2.3 (#3848)
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>
2 years agoFix download badge link (#3853)
Kjell-Magnus [Tue, 22 Aug 2023 19:40:10 +0000 (21:40 +0200)]
Fix download badge link (#3853)

2 years agoImprove handling of root to get_sources (#3847)
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

2 years agoRemove tox pin (#3844)
Marc Mueller [Sat, 19 Aug 2023 15:09:59 +0000 (17:09 +0200)]
Remove tox pin (#3844)

2 years agoImprove caching by comparing file hashes as fallback for mtime and size (#3821)
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>
2 years agoPin tox to fix CI (#3843)
Shantanu [Sat, 19 Aug 2023 01:32:47 +0000 (18:32 -0700)]
Pin tox to fix CI (#3843)

2 years ago[pre-commit.ci] pre-commit autoupdate (#3837)
pre-commit-ci[bot] [Wed, 16 Aug 2023 07:01:21 +0000 (00:01 -0700)]
[pre-commit.ci] pre-commit autoupdate (#3837)

2 years agoMake pre-commit do less (#3838)
Shantanu [Tue, 15 Aug 2023 13:51:26 +0000 (06:51 -0700)]
Make pre-commit do less (#3838)

2 years agoBump pypa/cibuildwheel from 2.14.1 to 2.15.0 (#3836)
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)

2 years agoRemove ENV_PATH on Black action completion (#3759)
Christian Proud [Tue, 8 Aug 2023 18:12:05 +0000 (02:12 +0800)]
Remove ENV_PATH on Black action completion (#3759)

2 years ago[pre-commit.ci] pre-commit autoupdate (#3833)
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>
2 years agoMore concise formatting for dummy implementations (#3796)
Shantanu [Fri, 4 Aug 2023 02:11:21 +0000 (19:11 -0700)]
More concise formatting for dummy implementations (#3796)

2 years agoDocument pre-commit mirror (#3828)
Shantanu [Fri, 4 Aug 2023 01:46:08 +0000 (18:46 -0700)]
Document pre-commit mirror (#3828)

2 years ago[pre-commit.ci] pre-commit autoupdate (#3825)
pre-commit-ci[bot] [Tue, 1 Aug 2023 08:48:21 +0000 (01:48 -0700)]
[pre-commit.ci] pre-commit autoupdate (#3825)

2 years agoBump furo from 2023.5.20 to 2023.7.26 in /docs (#3824)
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>
2 years agoAdd Lyft to organizations using black (#3818)
Aneesh Agrawal [Thu, 27 Jul 2023 21:50:51 +0000 (17:50 -0400)]
Add Lyft to organizations using black (#3818)