Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 17, 2024
1 parent 785f90b commit 1d80bf1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ METADATA 2.4+ will be used. A user is expected to validate and normalize

```python
if isinstance(metadata.license, str):
metadata.license = packaging.licenses.canonicalize_license_expression(metadata.license)
metadata.license = packaging.licenses.canonicalize_license_expression(
metadata.license
)
```

A backend is also expected to copy entries from `project.licence_files`, which
Expand Down

0 comments on commit 1d80bf1

Please sign in to comment.