Skip to content

Commit 705e1ac

Browse files
pre-commit: bump repositories (#876)
* pre-commit: bump repositories updates: - [github.com/abravalheri/validate-pyproject: v0.23 → v0.24.1](abravalheri/validate-pyproject@v0.23...v0.24.1) - [github.com/astral-sh/ruff-pre-commit: v0.9.10 → v0.11.2](astral-sh/ruff-pre-commit@v0.9.10...v0.11.2) * [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>
1 parent f88af00 commit 705e1ac

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ repos:
1717
- id: end-of-file-fixer
1818
- id: trailing-whitespace
1919
- repo: https://github.com/abravalheri/validate-pyproject
20-
rev: v0.23
20+
rev: v0.24.1
2121
hooks:
2222
- id: validate-pyproject
2323
- repo: https://github.com/adamchainz/blacken-docs
@@ -30,7 +30,7 @@ repos:
3030
hooks:
3131
- id: prettier
3232
- repo: https://github.com/astral-sh/ruff-pre-commit
33-
rev: v0.9.10
33+
rev: v0.11.2
3434
hooks:
3535
- id: ruff
3636
args: [--fix, --show-fixes]

src/build/__main__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
'underline': '\33[4m',
3838
'reset': '\33[0m',
3939
}
40-
_NO_COLORS = {color: '' for color in _COLORS}
40+
_NO_COLORS = dict.fromkeys(_COLORS, '')
4141

4242

4343
_styles = contextvars.ContextVar('_styles', default=_COLORS)

0 commit comments

Comments
 (0)