Skip to content

Commit

Permalink
fix: Use ruff to enforce double quotes on patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
tefra committed Jun 29, 2024
1 parent effd696 commit 2144a43
Show file tree
Hide file tree
Showing 42 changed files with 74 additions and 71 deletions.
4 changes: 2 additions & 2 deletions output/instances/saxonData/Assert/assert-simple003.v1.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from output.models.saxon_data.assert_pkg.assert_simple004_xsd.assert_simple004 import N
from output.models.saxon_data.assert_pkg.assert_simple004_xsd.assert_simple004 import Outer
from output.models.saxon_data.assert_pkg.assert_simple003_xsd.assert_simple003 import N
from output.models.saxon_data.assert_pkg.assert_simple003_xsd.assert_simple003 import Outer


obj = Outer(
Expand Down
4 changes: 2 additions & 2 deletions output/instances/saxonData/Assert/assert013.v1.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from output.models.saxon_data.assert_pkg.assert013_xsd.assert013 import Doc
from output.models.saxon_data.assert_pkg.assert013_xsd.assert013 import Temp
from output.models.saxon_data.assert_pkg.assert014_xsd.assert014 import Doc
from output.models.saxon_data.assert_pkg.assert014_xsd.assert014 import Temp
from xsdata.models.datatype import XmlDate
from xsdata.models.datatype import XmlDateTime

Expand Down
4 changes: 2 additions & 2 deletions output/instances/saxonData/Assert/assert016.v1.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from output.models.saxon_data.assert_pkg.assert017_xsd.assert017 import Doc
from output.models.saxon_data.assert_pkg.assert017_xsd.assert017 import Temp
from output.models.saxon_data.assert_pkg.assert016_xsd.assert016 import Doc
from output.models.saxon_data.assert_pkg.assert016_xsd.assert016 import Temp
from xsdata.models.datatype import XmlDate


Expand Down
4 changes: 2 additions & 2 deletions output/instances/saxonData/CTA/cta0009.v01.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from output.models.saxon_data.cta.cta0011_xsd.cta0011 import Chap
from output.models.saxon_data.cta.cta0011_xsd.cta0011 import Doc
from output.models.saxon_data.cta.cta0009_xsd.cta0009 import Chap
from output.models.saxon_data.cta.cta0009_xsd.cta0009 import Doc


obj = Doc(
Expand Down
4 changes: 2 additions & 2 deletions output/instances/saxonData/CTA/cta0009.v02.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from output.models.saxon_data.cta.cta0011_xsd.cta0011 import Chap
from output.models.saxon_data.cta.cta0011_xsd.cta0011 import Doc
from output.models.saxon_data.cta.cta0009_xsd.cta0009 import Chap
from output.models.saxon_data.cta.cta0009_xsd.cta0009 import Doc


obj = Doc(
Expand Down
6 changes: 3 additions & 3 deletions output/instances/saxonData/CTA/cta0014.v01.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from output.models.saxon_data.cta.cta0015_xsd.cta0015 import Doc
from output.models.saxon_data.cta.cta0015_xsd.cta0015 import Event
from output.models.saxon_data.cta.cta0015_xsd.cta0015 import When
from output.models.saxon_data.cta.cta0014_xsd.cta0014 import Doc
from output.models.saxon_data.cta.cta0014_xsd.cta0014 import Event
from output.models.saxon_data.cta.cta0014_xsd.cta0014 import When
from xsdata.models.datatype import XmlDate
from xsdata.models.datatype import XmlDateTime
from xsdata.models.datatype import XmlPeriod
Expand Down
6 changes: 3 additions & 3 deletions output/instances/saxonData/CTA/cta0014.v02.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from output.models.saxon_data.cta.cta0016_xsd.cta0016 import Doc
from output.models.saxon_data.cta.cta0016_xsd.cta0016 import Event
from output.models.saxon_data.cta.cta0016_xsd.cta0016 import When
from output.models.saxon_data.cta.cta0014_xsd.cta0014 import Doc
from output.models.saxon_data.cta.cta0014_xsd.cta0014 import Event
from output.models.saxon_data.cta.cta0014_xsd.cta0014 import When
from xsdata.models.datatype import XmlDate
from xsdata.models.datatype import XmlDateTime
from xsdata.models.datatype import XmlPeriod
Expand Down
6 changes: 3 additions & 3 deletions output/instances/saxonData/CTA/cta0017.v01.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from output.models.saxon_data.cta.cta0017_xsd.cta0017 import Doc
from output.models.saxon_data.cta.cta0017_xsd.cta0017 import Event
from output.models.saxon_data.cta.cta0017_xsd.cta0017 import When
from output.models.saxon_data.cta.cta0020_xsd.cta0020 import Doc
from output.models.saxon_data.cta.cta0020_xsd.cta0020 import Event
from output.models.saxon_data.cta.cta0020_xsd.cta0020 import When
from xsdata.models.datatype import XmlDate


Expand Down
6 changes: 3 additions & 3 deletions output/instances/saxonData/CTA/cta0023.v01.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from output.models.saxon_data.cta.cta0024_xsd.cta0024 import Doc
from output.models.saxon_data.cta.cta0024_xsd.cta0024 import Event
from output.models.saxon_data.cta.cta0024_xsd.cta0024 import When
from output.models.saxon_data.cta.cta0023_xsd.cta0023 import Doc
from output.models.saxon_data.cta.cta0023_xsd.cta0023 import Event
from output.models.saxon_data.cta.cta0023_xsd.cta0023 import When
from xsdata.models.datatype import XmlDate


Expand Down
6 changes: 4 additions & 2 deletions output/instances/saxonData/Complex/complex013.v1.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
from output.models.saxon_data.complex.complex014_xsd.complex014 import Root
from output.models.saxon_data.complex.complex013_xsd.complex013 import Root


obj = Root(
e=''
e=[
'',
]
)
4 changes: 2 additions & 2 deletions output/instances/saxonData/Id/id050.v01.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from output.models.saxon_data.id.id050_xsd.id050 import Doc
from output.models.saxon_data.id.id050_xsd.id050 import EmpType
from output.models.saxon_data.id.id052_xsd.id052 import Doc
from output.models.saxon_data.id.id052_xsd.id052 import EmpType


obj = Doc(
Expand Down
2 changes: 1 addition & 1 deletion output/instances/saxonData/Open/open001.v1.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from output.models.saxon_data.open.open002_xsd.open002 import Doc
from output.models.saxon_data.open.open001_xsd.open001 import Doc
from xsdata.formats.dataclass.models.generics import AnyElement


Expand Down
2 changes: 1 addition & 1 deletion output/instances/saxonData/Open/open001.v2.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from output.models.saxon_data.open.open002_xsd.open002 import Doc
from output.models.saxon_data.open.open001_xsd.open001 import Doc
from xsdata.formats.dataclass.models.generics import AnyElement


Expand Down
2 changes: 1 addition & 1 deletion output/instances/saxonData/Open/open001.v3.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from output.models.saxon_data.open.open002_xsd.open002 import Doc
from output.models.saxon_data.open.open001_xsd.open001 import Doc


obj = Doc(
Expand Down
2 changes: 1 addition & 1 deletion output/instances/saxonData/Open/open005.v1.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from output.models.saxon_data.open.open006_xsd.open006 import Doc
from output.models.saxon_data.open.open005_xsd.open005 import Doc
from xsdata.formats.dataclass.models.generics import AnyElement


Expand Down
2 changes: 1 addition & 1 deletion output/instances/saxonData/Open/open005.v2.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from output.models.saxon_data.open.open006_xsd.open006 import Doc
from output.models.saxon_data.open.open005_xsd.open005 import Doc
from xsdata.formats.dataclass.models.generics import AnyElement


Expand Down
2 changes: 1 addition & 1 deletion output/instances/saxonData/Open/open005.v3.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from output.models.saxon_data.open.open006_xsd.open006 import Doc
from output.models.saxon_data.open.open005_xsd.open005 import Doc
from xsdata.formats.dataclass.models.generics import AnyElement


Expand Down
2 changes: 1 addition & 1 deletion output/instances/saxonData/Open/open005.v4.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from output.models.saxon_data.open.open006_xsd.open006 import Doc
from output.models.saxon_data.open.open005_xsd.open005 import Doc


obj = Doc(
Expand Down
2 changes: 1 addition & 1 deletion output/instances/saxonData/Open/open010.v1.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from output.models.saxon_data.open.open010_xsd.open010 import Doc
from output.models.saxon_data.open.open011_xsd.open011 import Doc
from xsdata.formats.dataclass.models.generics import AnyElement


Expand Down
2 changes: 1 addition & 1 deletion output/instances/saxonData/Open/open027.v1.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from output.models.saxon_data.open.open027_xsd.open027 import Doc
from output.models.saxon_data.open.open031_xsd.open031 import Doc


obj = Doc(
Expand Down
12 changes: 6 additions & 6 deletions output/instances/saxonData/Open/open027.v2.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
from output.models.saxon_data.open.open027_xsd.open027 import Doc
from output.models.saxon_data.open.open031_xsd.open031 import Doc
from xsdata.formats.dataclass.models.generics import AnyElement


obj = Doc(
open_com_element=AnyElement(
qname='{http://open.com/}extra',
text='42'
),
a=[
'',
],
b='',
c='',
d='',
open_com_element=AnyElement(
qname='{http://open.com/}extra',
text='42'
)
d=''
)
2 changes: 1 addition & 1 deletion output/instances/saxonData/Open/open027.v2.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<doc xmlns="">
<ns1:extra xmlns:ns1="http://open.com/">42</ns1:extra>
<a/>
<b/>
<c/>
<d/>
<ns1:extra xmlns:ns1="http://open.com/">42</ns1:extra>
</doc>
12 changes: 6 additions & 6 deletions output/instances/saxonData/Open/open027.v3.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
from output.models.saxon_data.open.open028_xsd.open028 import Doc
from output.models.saxon_data.open.open031_xsd.open031 import Doc
from xsdata.formats.dataclass.models.generics import AnyElement


obj = Doc(
open_com_element=AnyElement(
qname='{http://open.com/}extra',
text='42'
),
a=[
'',
],
b='',
c='',
open_com_element=AnyElement(
qname='{http://open.com/}extra',
text='42'
)
c=''
)
2 changes: 1 addition & 1 deletion output/instances/saxonData/Open/open027.v3.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<doc xmlns="">
<ns1:extra xmlns:ns1="http://open.com/">42</ns1:extra>
<a/>
<b/>
<c/>
<ns1:extra xmlns:ns1="http://open.com/">42</ns1:extra>
</doc>
5 changes: 3 additions & 2 deletions output/instances/saxonData/VC/vc002.v1.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from output.models.saxon_data.vc.vc002_xsd.vc002 import Temp
from output.models.saxon_data.vc.vc007_xsd.vc007 import Temp
from xsdata.models.datatype import XmlDate


obj = Temp(
value='2008-07-28'
value=XmlDate(2008, 7, 28)
)
2 changes: 1 addition & 1 deletion output/instances/saxonData/VC/vc003.v1.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from output.models.saxon_data.vc.vc003_xsd.vc003 import Temp
from output.models.saxon_data.vc.vc004_xsd.vc003 import Temp
from xsdata.models.datatype import XmlDate


Expand Down
2 changes: 1 addition & 1 deletion output/instances/saxonData/VC/vc010.v1.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from output.models.saxon_data.vc.vc013_xsd.vc013 import Temp
from output.models.saxon_data.vc.vc023_xsd.vc023 import Temp


obj = Temp(
Expand Down
2 changes: 1 addition & 1 deletion output/instances/saxonData/Wild/wild003.v1.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from output.models.saxon_data.wild.wild005_xsd.wild005 import Eden
from output.models.saxon_data.wild.wild003_xsd.wild003 import Eden


obj = Eden(
Expand Down
2 changes: 1 addition & 1 deletion output/instances/saxonData/Wild/wild004.v1.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from output.models.saxon_data.wild.wild006_xsd.wild006 import Eden
from output.models.saxon_data.wild.wild004_xsd.wild004 import Eden


obj = Eden(
Expand Down
2 changes: 1 addition & 1 deletion output/instances/saxonData/Wild/wild004.v2.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from output.models.saxon_data.wild.wild006_xsd.wild006 import Eden
from output.models.saxon_data.wild.wild004_xsd.wild004 import Eden
from xsdata.formats.dataclass.models.generics import AnyElement


Expand Down
2 changes: 1 addition & 1 deletion output/instances/saxonData/Wild/wild009.v1.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from output.models.saxon_data.wild.wild011_xsd.wild011inc import Eden
from output.models.saxon_data.wild.wild009_xsd.wild009 import Eden


obj = Eden(
Expand Down
2 changes: 1 addition & 1 deletion output/instances/saxonData/Wild/wild009.v2.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from output.models.saxon_data.wild.wild009_xsd.wild009 import Eden
from output.models.saxon_data.wild.wild011_xsd.wild011inc import Eden


obj = Eden(
Expand Down
2 changes: 1 addition & 1 deletion output/instances/saxonData/Wild/wild010.v1.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from output.models.saxon_data.wild.wild012_xsd.wild012inc import Eden
from output.models.saxon_data.wild.wild010_xsd.wild010 import Eden


obj = Eden(
Expand Down
2 changes: 1 addition & 1 deletion output/instances/saxonData/Wild/wild010.v2.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from output.models.saxon_data.wild.wild012_xsd.wild012inc import Eden
from output.models.saxon_data.wild.wild010_xsd.wild010 import Eden
from xsdata.formats.dataclass.models.generics import AnyElement


Expand Down
2 changes: 1 addition & 1 deletion output/instances/saxonData/Wild/wild045.v2.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from output.models.saxon_data.wild.wild045_xsd.wild045 import Computer
from output.models.saxon_data.wild.wild046_xsd.wild046 import Computer


obj = Computer(
Expand Down
2 changes: 1 addition & 1 deletion output/instances/saxonData/Wild/wild058.v1.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from output.models.saxon_data.wild.wild060_xsd.wild060 import Zing
from output.models.saxon_data.wild.wild058_xsd.wild058 import Zing


obj = Zing(
Expand Down
2 changes: 1 addition & 1 deletion output/instances/saxonData/Wild/wild075.v1.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from output.models.saxon_data.wild.wild076_xsd.wild076 import Root
from output.models.saxon_data.wild.wild077_xsd.wild077 import Root
from xsdata.formats.dataclass.models.generics import AnyElement


Expand Down
2 changes: 1 addition & 1 deletion output/instances/saxonData/XmlVersions/xv100.i.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from output.models.saxon_data.xml_versions.xv100_c_xsd.xv100_c import Doc
from output.models.saxon_data.xml_versions.xv100_i_xsd.xv100_i import Doc


obj = Doc(
Expand Down
2 changes: 1 addition & 1 deletion output/instances/saxonData/Zone/zone001.v02.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from output.models.saxon_data.zone.zone001_xsd.zone001 import Doc
from output.models.saxon_data.zone.zone003_xsd.zone003 import Doc
from xsdata.models.datatype import XmlTime


Expand Down
2 changes: 1 addition & 1 deletion output/instances/saxonData/Zone/zone101.v02.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from output.models.saxon_data.zone.zone102_xsd.zone102 import Doc
from output.models.saxon_data.zone.zone101_xsd.zone101 import Doc
from xsdata.models.datatype import XmlDateTime


Expand Down
2 changes: 1 addition & 1 deletion output/models/ms_data/regex/re_g49_xsd/re_g49.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ class Meta:
"type": "Element",
"namespace": "",
"min_occurs": 1,
"pattern": r"[࿿]",
"pattern": r"[\u0fff]",
},
)
Loading

0 comments on commit 2144a43

Please sign in to comment.