Skip to content

Commit d71b574

Browse files
1. excluded conformance/results/results.html from end-of-file-fixer (interferes with "Assert conformance results are up to date" workflow)
2. ran `pre-commit run -a` which applied "end-of-file-fixer" and "trailing-whitespace" to some files.
1 parent f4f2952 commit d71b574

5 files changed

Lines changed: 2 additions & 4 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ repos:
55
- id: trailing-whitespace
66
exclude: conformance/results/.*/.*\.toml
77
- id: end-of-file-fixer
8+
exclude: conformance/results/results\.html
89
- id: check-yaml
910
- id: check-toml
1011
- id: check-merge-conflict

conformance/tests/enums_definition.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,3 @@ class Color12(Enum):
9090
assert_type(Color12.RED, Literal[Color12.RED])
9191
assert_type(Color12.GREEN, Literal[Color12.GREEN])
9292
Color12.BLUE # E
93-

conformance/tests/overloads_basic.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,3 @@ def map(
5858

5959
def map(func: Any, iter1: Any, iter2: Any = ...) -> Any:
6060
raise NotImplementedError
61-

conformance/tests/overloads_consistency.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,3 @@ def decorated(x: str, /) -> str:
115115
@_deco_2
116116
def decorated(y: bytes, z: bytes) -> bytes:
117117
return b""
118-

docs/spec/callables.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ a function within a type expression. The syntax is
453453

454454
Parameters specified using ``Callable`` are assumed to be positional-only.
455455
The ``Callable`` form provides no way to specify keyword-only parameters,
456-
or default argument values. For these use cases, see the section on
456+
or default argument values. For these use cases, see the section on
457457
`Callback protocols`_.
458458

459459
Meaning of ``...`` in ``Callable``

0 commit comments

Comments
 (0)