Skip to content

Commit b085473

Browse files
[pre-commit.ci] pre-commit autoupdate (#4702)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/pycqa/flake8: 7.2.0 → 7.3.0](PyCQA/flake8@7.2.0...7.3.0) - [github.com/pre-commit/mirrors-mypy: v1.15.0 → v1.16.1](pre-commit/mirrors-mypy@v1.15.0...v1.16.1) - [github.com/rbubley/mirrors-prettier: v3.5.3 → v3.6.2](rbubley/mirrors-prettier@v3.5.3...v3.6.2) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Create _black_version.pyi * Update pyproject.toml --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: cobalt <61329810+cobaltt7@users.noreply.github.com>
1 parent 262ad62 commit b085473

File tree

5 files changed

+5
-10
lines changed

5 files changed

+5
-10
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ repos:
2929
- id: isort
3030

3131
- repo: https://github.com/pycqa/flake8
32-
rev: 7.2.0
32+
rev: 7.3.0
3333
hooks:
3434
- id: flake8
3535
additional_dependencies:
@@ -39,7 +39,7 @@ repos:
3939
exclude: ^src/blib2to3/
4040

4141
- repo: https://github.com/pre-commit/mirrors-mypy
42-
rev: v1.15.0
42+
rev: v1.16.1
4343
hooks:
4444
- id: mypy
4545
exclude: ^(docs/conf.py|scripts/generate_schema.py)$
@@ -67,7 +67,7 @@ repos:
6767
additional_dependencies: *mypy_deps
6868

6969
- repo: https://github.com/rbubley/mirrors-prettier
70-
rev: v3.5.3
70+
rev: v3.6.2
7171
hooks:
7272
- id: prettier
7373
types_or: [markdown, yaml, json]

CHANGES.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1642,7 +1642,6 @@ and the first release covered by our new
16421642
## 18.9b0
16431643

16441644
- numeric literals are now formatted by _Black_ (#452, #461, #464, #469):
1645-
16461645
- numeric literals are normalized to include `_` separators on Python 3.6+ code
16471646

16481647
- added `--skip-numeric-underscore-normalization` to disable the above behavior and
@@ -1692,7 +1691,6 @@ and the first release covered by our new
16921691
- typing stub files (`.pyi`) now have blank lines added after constants (#340)
16931692

16941693
- `# fmt: off` and `# fmt: on` are now much more dependable:
1695-
16961694
- they now work also within bracket pairs (#329)
16971695

16981696
- they now correctly work across function/class boundaries (#335)

docs/integrations/editors.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ There are several different ways you can use _Black_ from PyCharm:
5353
`File -> Settings -> Tools -> BlackConnect`
5454

5555
1. In `Local Instance (shared between projects)` section:
56-
5756
1. Check `Start local blackd instance when plugin loads`.
5857
1. Press the `Detect` button near `Path` input. The plugin should detect the `blackd`
5958
executable.
@@ -65,7 +64,6 @@ There are several different ways you can use _Black_ from PyCharm:
6564
shortcut.
6665

6766
1. Optionally, to run _Black_ on every file save:
68-
6967
- In `Trigger Settings` section of plugin configuration check
7068
`Trigger when saving changed files`.
7169

@@ -107,14 +105,12 @@ There are several different ways you can use _Black_ from PyCharm:
107105
`File -> Settings -> Tools -> External Tools`
108106

109107
1. Click the + icon to add a new external tool with the following values:
110-
111108
- Name: Black
112109
- Description: Black is the uncompromising Python code formatter.
113110
- Program: \<install_location_from_step_2>
114111
- Arguments: `"$FilePath$"`
115112

116113
1. Format the currently opened file by selecting `Tools -> External Tools -> black`.
117-
118114
- Alternatively, you can set a keyboard shortcut by navigating to
119115
`Preferences or Settings -> Keymap -> External Tools -> External Tools - Black`.
120116

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ show_error_codes = true
234234
show_column_numbers = true
235235

236236
[[tool.mypy.overrides]]
237-
module = ["pathspec.*", "IPython.*", "colorama.*", "tokenize_rt.*", "uvloop.*", "_black_version.*"]
237+
module = ["pathspec.*", "IPython.*", "colorama.*", "tokenize_rt.*", "uvloop.*"]
238238
ignore_missing_imports = true
239239

240240
# CI only checks src/, but in case users are running LSP or similar we explicitly ignore

src/_black_version.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
version: str

0 commit comments

Comments
 (0)