Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ repos:
args: []
additional_dependencies: [pyparsing, nox, orjson, 'pytest<9', tomli, tomli_w, types-invoke, httpx]

- repo: https://github.com/codespell-project/codespell
rev: "v2.4.1"
- repo: https://github.com/crate-ci/typos
rev: v1.40.0
hooks:
- id: codespell
additional_dependencies:
- tomli; python_version<'3.11'
- id: typos
args: []
15 changes: 10 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,16 @@ dev = [{ include-group = "test" }]
include = ["tests/", "docs/", "CHANGELOG.rst"]
exclude = ["docs/_build", "tests/manylinux/build-hello-world.sh", "tests/musllinux/build.sh", "tests/hello-world.c", "tests/__pycache__", "build/__pycache__"]

[tool.codespell]
ignore-words-list = [
"dynamc",
"notin"
]
[tool.typos.default.extend-identifiers]
iMatix = "iMatix"
ANDed = "ANDed"
ORed = "ORed"

[tool.typos.default.extend-words]
dynamc = "dynamc"
notin = "notin"
nd = "nd"
tou = "tou"

[tool.coverage.run]
branch = true
Expand Down
2 changes: 1 addition & 1 deletion src/packaging/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class RawMetadata(TypedDict, total=False):

# Metadata 2.3 - PEP 685
# No new fields were added in PEP 685, just some edge case were
# tightened up to provide better interoptability.
# tightened up to provide better interoperability.

# Metadata 2.4 - PEP 639
license_expression: str
Expand Down
Loading