https://github.com/SoftwareHeritage/swh-model
Revision 559a283cb095de2b7da173e5995883b0af801f64 authored by Antoine R. Dumont (@ardumont) on 12 November 2020, 09:39:24 UTC, committed by Antoine R. Dumont (@ardumont) on 12 November 2020, 11:39:04 UTC
So parse_swhid raises a ValidationError when that is detected.

Related to T2769
1 parent fb504b4
Raw File
Tip revision: 559a283cb095de2b7da173e5995883b0af801f64 authored by Antoine R. Dumont (@ardumont) on 12 November 2020, 09:39:24 UTC
identifiers.parse_swhid: Make SWHIDs with whitespaces invalid
Tip revision: 559a283
pyproject.toml
[tool.black]
target-version = ['py37']

[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 88
force_sort_within_sections = true
back to top