Skip to content
Snippets Groups Projects
Commit 2c231b63 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

Fix black formatting

parent 5bbcd09c
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ class PubspecMapping(YamlMapping, SingleFileIntrinsicMapping):
"name",
"issue_tracker",
"platforms",
"license"
"license",
# license will only be used with the SPDX Identifier
]
uri_fields = ["homepage"]
......
......@@ -109,7 +109,7 @@ def test_detect_metadata_package_nuspec(filename):
def test_normalize_license_multiple_licenses_or_delimiter():
raw_content = raw_content = b"""<?xml version="1.0" encoding="utf-8"?>
raw_content = b"""<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<license type="expression">BitTorrent-1.0 or GPL-3.0-with-GCC-exception</license>
......@@ -132,7 +132,7 @@ def test_normalize_license_multiple_licenses_or_delimiter():
def test_normalize_license_unsupported_delimiter():
raw_content = raw_content = b"""<?xml version="1.0" encoding="utf-8"?>
raw_content = b"""<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<license type="expression">(MIT)</license>
......@@ -151,7 +151,7 @@ def test_normalize_license_unsupported_delimiter():
def test_copyrightNotice_absolute_uri_property():
raw_content = raw_content = b"""<?xml version="1.0" encoding="utf-8"?>
raw_content = b"""<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<copyright>Copyright 2017-2022</copyright>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment