More add-trailing-comma junk, which is not done by the python 3.8

pre-commit add-trailing-comma library.  Hopefully this satisfies
the travis tests for other versions of python!
master
Michael Chisholm 2020-02-07 19:15:59 -05:00
parent bf83ca62b3
commit f86b6e8a66
1 changed files with 13 additions and 13 deletions

View File

@ -17,7 +17,7 @@ from stix2.core import _detect_spec_version
"name": "alice",
"identity_class": "individual",
},
"v20"
"v20",
),
(
{
@ -29,14 +29,14 @@ from stix2.core import _detect_spec_version
"target_ref": "identity--ba18dde2-56d3-4a34-aa0b-fc56f5be568f",
"relationship_type": "targets",
},
"v20"
"v20",
),
(
{
"type": "file",
"name": "notes.txt",
},
"v20"
"v20",
),
(
{
@ -48,7 +48,7 @@ from stix2.core import _detect_spec_version
"statement": "Copyright (c) ACME Corp.",
},
},
"v20"
"v20",
),
(
{
@ -75,7 +75,7 @@ from stix2.core import _detect_spec_version
},
],
},
"v20"
"v20",
),
# STIX 2.1 examples
(
@ -87,7 +87,7 @@ from stix2.core import _detect_spec_version
"modified": "2001-07-01T09:33:17.000Z",
"name": "alice",
},
"v21"
"v21",
),
(
{
@ -100,7 +100,7 @@ from stix2.core import _detect_spec_version
"target_ref": "identity--ba18dde2-56d3-4a34-aa0b-fc56f5be568f",
"relationship_type": "targets",
},
"v21"
"v21",
),
(
{
@ -109,7 +109,7 @@ from stix2.core import _detect_spec_version
"spec_version": "2.1",
"name": "notes.txt",
},
"v21"
"v21",
),
(
{
@ -117,7 +117,7 @@ from stix2.core import _detect_spec_version
"id": "file--5eef3404-6a94-4db3-9a1a-5684cbea0dfe",
"name": "notes.txt",
},
"v21"
"v21",
),
(
{
@ -131,7 +131,7 @@ from stix2.core import _detect_spec_version
"tlp": "green",
},
},
"v21"
"v21",
),
(
{
@ -153,7 +153,7 @@ from stix2.core import _detect_spec_version
},
],
},
"v21"
"v21",
),
# Mixed spec examples
(
@ -180,7 +180,7 @@ from stix2.core import _detect_spec_version
},
],
},
"v21"
"v21",
),
(
{
@ -202,7 +202,7 @@ from stix2.core import _detect_spec_version
},
],
},
"v21"
"v21",
),
],
)