We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f88af00 commit 705e1acCopy full SHA for 705e1ac
.pre-commit-config.yaml
@@ -17,7 +17,7 @@ repos:
17
- id: end-of-file-fixer
18
- id: trailing-whitespace
19
- repo: https://github.com/abravalheri/validate-pyproject
20
- rev: v0.23
+ rev: v0.24.1
21
hooks:
22
- id: validate-pyproject
23
- repo: https://github.com/adamchainz/blacken-docs
@@ -30,7 +30,7 @@ repos:
30
31
- id: prettier
32
- repo: https://github.com/astral-sh/ruff-pre-commit
33
- rev: v0.9.10
+ rev: v0.11.2
34
35
- id: ruff
36
args: [--fix, --show-fixes]
src/build/__main__.py
@@ -37,7 +37,7 @@
37
'underline': '\33[4m',
38
'reset': '\33[0m',
39
}
40
-_NO_COLORS = {color: '' for color in _COLORS}
+_NO_COLORS = dict.fromkeys(_COLORS, '')
41
42
43
_styles = contextvars.ContextVar('_styles', default=_COLORS)
0 commit comments