Bump black from 23.11.0 to 23.12.0 (#5912)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
dependabot[bot] 2023-12-12 21:59:10 +00:00 committed by GitHub
parent 04720b8440
commit 8e92bb7958
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View file

@ -3,7 +3,7 @@
# See https://pre-commit.com/hooks.html for more hooks # See https://pre-commit.com/hooks.html for more hooks
repos: repos:
- repo: https://github.com/psf/black-pre-commit-mirror - repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.11.0 rev: 23.12.0
hooks: hooks:
- id: black - id: black
args: args:

View file

@ -203,7 +203,9 @@ def write_platformio_project():
write_platformio_ini(content) write_platformio_ini(content)
DEFINES_H_FORMAT = ESPHOME_H_FORMAT = """\ DEFINES_H_FORMAT = (
ESPHOME_H_FORMAT
) = """\
#pragma once #pragma once
#include "esphome/core/macros.h" #include "esphome/core/macros.h"
{} {}

View file

@ -1,6 +1,6 @@
pylint==3.0.3 pylint==3.0.3
flake8==6.1.0 # also change in .pre-commit-config.yaml when updating flake8==6.1.0 # also change in .pre-commit-config.yaml when updating
black==23.11.0 # also change in .pre-commit-config.yaml when updating black==23.12.0 # also change in .pre-commit-config.yaml when updating
pyupgrade==3.15.0 # also change in .pre-commit-config.yaml when updating pyupgrade==3.15.0 # also change in .pre-commit-config.yaml when updating
pre-commit pre-commit