Skip to content

Commit 575a2f9

Browse files
author
luzpaz
committed
More typos
1 parent 85ea3ed commit 575a2f9

16 files changed

Lines changed: 54 additions & 54 deletions

misc/flawfinder

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ blank_line = re.compile( r'(?m)^\s+$' )
102102
# --- OLDFILENAME OLDTIMESTAMP
103103
# +++ NEWFILENAME NEWTIMESTAMP
104104
# @@ -OLDSTART,OLDLENGTH +NEWSTART,NEWLENGTH @@
105-
# ... Changes where preceeding "+" is add, "-" is remove, " " is unchanged.
105+
# ... Changes where preceding "+" is add, "-" is remove, " " is unchanged.
106106
#
107107
# ",OLDLENGTH" and ",NEWLENGTH" are optional (they default to 1).
108108
# GNU unified diff format doesn't normally output "Index:"; you use

src/exp2python/examples/unitary_schemas/index_attribute.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def fget( self ):
5050
def fset( self, value ):
5151
# Mandatory argument
5252
if value==None:
53-
raise AssertionError('Argument name is mantatory and can not be set to None')
53+
raise AssertionError('Argument name is mandatory and can not be set to None')
5454
if not check_type(value,label):
5555
self._name = label(value)
5656
else:
@@ -64,7 +64,7 @@ def fget( self ):
6464
def fset( self, value ):
6565
# Mandatory argument
6666
if value==None:
67-
raise AssertionError('Argument of_shape is mantatory and can not be set to None')
67+
raise AssertionError('Argument of_shape is mandatory and can not be set to None')
6868
if not check_type(value,product_definition_shape):
6969
self._of_shape = product_definition_shape(value)
7070
else:
@@ -98,7 +98,7 @@ def fget( self ):
9898
def fset( self, value ):
9999
# Mandatory argument
100100
if value==None:
101-
raise AssertionError('Argument base is mantatory and can not be set to None')
101+
raise AssertionError('Argument base is mandatory and can not be set to None')
102102
if not check_type(value,datum_or_common_datum):
103103
self._base = datum_or_common_datum(value)
104104
else:

src/exp2python/examples/unitary_schemas/multiple_rep.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def fget( self ):
9494
def fset( self, value ):
9595
# Mandatory argument
9696
if value==None:
97-
raise AssertionError('Argument name is mantatory and can not be set to None')
97+
raise AssertionError('Argument name is mandatory and can not be set to None')
9898
if not check_type(value,label):
9999
self._name = label(value)
100100
else:
@@ -108,7 +108,7 @@ def fget( self ):
108108
def fset( self, value ):
109109
# Mandatory argument
110110
if value==None:
111-
raise AssertionError('Argument rep_1 is mantatory and can not be set to None')
111+
raise AssertionError('Argument rep_1 is mandatory and can not be set to None')
112112
if not check_type(value,representation):
113113
self._rep_1 = representation(value)
114114
else:
@@ -122,7 +122,7 @@ def fget( self ):
122122
def fset( self, value ):
123123
# Mandatory argument
124124
if value==None:
125-
raise AssertionError('Argument rep_2 is mantatory and can not be set to None')
125+
raise AssertionError('Argument rep_2 is mandatory and can not be set to None')
126126
if not check_type(value,representation):
127127
self._rep_2 = representation(value)
128128
else:
@@ -172,7 +172,7 @@ def fget( self ):
172172
def fset( self, value ):
173173
# Mandatory argument
174174
if value==None:
175-
raise AssertionError('Argument name is mantatory and can not be set to None')
175+
raise AssertionError('Argument name is mandatory and can not be set to None')
176176
if not check_type(value,label):
177177
self._name = label(value)
178178
else:
@@ -186,7 +186,7 @@ def fget( self ):
186186
def fset( self, value ):
187187
# Mandatory argument
188188
if value==None:
189-
raise AssertionError('Argument items is mantatory and can not be set to None')
189+
raise AssertionError('Argument items is mandatory and can not be set to None')
190190
if not check_type(value,SET(1,None,'STRING', scope = schema_scope)):
191191
self._items = SET(value)
192192
else:
@@ -200,7 +200,7 @@ def fget( self ):
200200
def fset( self, value ):
201201
# Mandatory argument
202202
if value==None:
203-
raise AssertionError('Argument context_of_items is mantatory and can not be set to None')
203+
raise AssertionError('Argument context_of_items is mandatory and can not be set to None')
204204
if not check_type(value,representation_context):
205205
self._context_of_items = representation_context(value)
206206
else:
@@ -244,7 +244,7 @@ def fget( self ):
244244
def fset( self, value ):
245245
# Mandatory argument
246246
if value==None:
247-
raise AssertionError('Argument name is mantatory and can not be set to None')
247+
raise AssertionError('Argument name is mandatory and can not be set to None')
248248
if not check_type(value,label):
249249
self._name = label(value)
250250
else:
@@ -258,7 +258,7 @@ def fget( self ):
258258
def fset( self, value ):
259259
# Mandatory argument
260260
if value==None:
261-
raise AssertionError('Argument definition is mantatory and can not be set to None')
261+
raise AssertionError('Argument definition is mandatory and can not be set to None')
262262
if not check_type(value,characterized_definition):
263263
self._definition = characterized_definition(value)
264264
else:
@@ -291,7 +291,7 @@ def fget( self ):
291291
def fset( self, value ):
292292
# Mandatory argument
293293
if value==None:
294-
raise AssertionError('Argument representation_relation is mantatory and can not be set to None')
294+
raise AssertionError('Argument representation_relation is mandatory and can not be set to None')
295295
if not check_type(value,shape_representation_relationship):
296296
self._representation_relation = shape_representation_relationship(value)
297297
else:

src/exp2python/examples/unitary_schemas/test_array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def fget( self ):
3535
def fset( self, value ):
3636
# Mandatory argument
3737
if value==None:
38-
raise AssertionError('Argument coords is mantatory and can not be set to None')
38+
raise AssertionError('Argument coords is mandatory and can not be set to None')
3939
if not check_type(value,ARRAY(1,3,'REAL', scope = schema_scope)):
4040
self._coords = ARRAY(value)
4141
else:

src/exp2python/examples/unitary_schemas/test_array_of_array_of_simple_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def fget( self ):
3535
def fset( self, value ):
3636
# Mandatory argument
3737
if value==None:
38-
raise AssertionError('Argument rotation is mantatory and can not be set to None')
38+
raise AssertionError('Argument rotation is mandatory and can not be set to None')
3939
if not check_type(value,ARRAY(1,3,ARRAY(1,3,'REAL', scope = schema_scope))):
4040
self._rotation = ARRAY(value)
4141
else:

src/exp2python/examples/unitary_schemas/test_array_of_simple_types.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def fget( self ):
4343
def fset( self, value ):
4444
# Mandatory argument
4545
if value==None:
46-
raise AssertionError('Argument arr_real is mantatory and can not be set to None')
46+
raise AssertionError('Argument arr_real is mandatory and can not be set to None')
4747
if not check_type(value,ARRAY(1,3,'REAL', scope = schema_scope)):
4848
self._arr_real = ARRAY(value)
4949
else:
@@ -57,7 +57,7 @@ def fget( self ):
5757
def fset( self, value ):
5858
# Mandatory argument
5959
if value==None:
60-
raise AssertionError('Argument arr_string is mantatory and can not be set to None')
60+
raise AssertionError('Argument arr_string is mandatory and can not be set to None')
6161
if not check_type(value,ARRAY(1,3,'STRING', scope = schema_scope)):
6262
self._arr_string = ARRAY(value)
6363
else:
@@ -71,7 +71,7 @@ def fget( self ):
7171
def fset( self, value ):
7272
# Mandatory argument
7373
if value==None:
74-
raise AssertionError('Argument arr_integer is mantatory and can not be set to None')
74+
raise AssertionError('Argument arr_integer is mandatory and can not be set to None')
7575
if not check_type(value,ARRAY(1,None,'INTEGER', scope = schema_scope)):
7676
self._arr_integer = ARRAY(value)
7777
else:

src/exp2python/examples/unitary_schemas/test_derived_attribute.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def fget( self ):
5858
def fset( self, value ):
5959
# Mandatory argument
6060
if value==None:
61-
raise AssertionError('Argument centre is mantatory and can not be set to None')
61+
raise AssertionError('Argument centre is mandatory and can not be set to None')
6262
if not check_type(value,point):
6363
self._centre = point(value)
6464
else:
@@ -72,7 +72,7 @@ def fget( self ):
7272
def fset( self, value ):
7373
# Mandatory argument
7474
if value==None:
75-
raise AssertionError('Argument radius is mantatory and can not be set to None')
75+
raise AssertionError('Argument radius is mandatory and can not be set to None')
7676
if not check_type(value,REAL):
7777
self._radius = REAL(value)
7878
else:
@@ -86,7 +86,7 @@ def fget( self ):
8686
def fset( self, value ):
8787
# Mandatory argument
8888
if value==None:
89-
raise AssertionError('Argument axis is mantatory and can not be set to None')
89+
raise AssertionError('Argument axis is mandatory and can not be set to None')
9090
if not check_type(value,vector):
9191
self._axis = vector(value)
9292
else:

src/exp2python/examples/unitary_schemas/test_entity_where_rule.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def fget( self ):
4848
def fset( self, value ):
4949
# Mandatory argument
5050
if value==None:
51-
raise AssertionError('Argument a is mantatory and can not be set to None')
51+
raise AssertionError('Argument a is mandatory and can not be set to None')
5252
if not check_type(value,REAL):
5353
self._a = REAL(value)
5454
else:
@@ -62,7 +62,7 @@ def fget( self ):
6262
def fset( self, value ):
6363
# Mandatory argument
6464
if value==None:
65-
raise AssertionError('Argument b is mantatory and can not be set to None')
65+
raise AssertionError('Argument b is mandatory and can not be set to None')
6666
if not check_type(value,REAL):
6767
self._b = REAL(value)
6868
else:
@@ -76,7 +76,7 @@ def fget( self ):
7676
def fset( self, value ):
7777
# Mandatory argument
7878
if value==None:
79-
raise AssertionError('Argument c is mantatory and can not be set to None')
79+
raise AssertionError('Argument c is mandatory and can not be set to None')
8080
if not check_type(value,REAL):
8181
self._c = REAL(value)
8282
else:

src/exp2python/examples/unitary_schemas/test_multiple_inheritance.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ def fget( self ):
284284
def fset( self, value ):
285285
# Mandatory argument
286286
if value==None:
287-
raise AssertionError('Argument people is mantatory and can not be set to None')
287+
raise AssertionError('Argument people is mandatory and can not be set to None')
288288
if not check_type(value,SET(1,None,'person', scope = schema_scope)):
289289
self._people = SET(value)
290290
else:
@@ -329,7 +329,7 @@ def fget( self ):
329329
def fset( self, value ):
330330
# Mandatory argument
331331
if value==None:
332-
raise AssertionError('Argument organizations is mantatory and can not be set to None')
332+
raise AssertionError('Argument organizations is mandatory and can not be set to None')
333333
if not check_type(value,SET(1,None,'organization', scope = schema_scope)):
334334
self._organizations = SET(value)
335335
else:
@@ -389,7 +389,7 @@ def fget( self ):
389389
def fset( self, value ):
390390
# Mandatory argument
391391
if value==None:
392-
raise AssertionError('Argument id is mantatory and can not be set to None')
392+
raise AssertionError('Argument id is mandatory and can not be set to None')
393393
if not check_type(value,identifier):
394394
self._id = identifier(value)
395395
else:
@@ -514,7 +514,7 @@ def fget( self ):
514514
def fset( self, value ):
515515
# Mandatory argument
516516
if value==None:
517-
raise AssertionError('Argument name is mantatory and can not be set to None')
517+
raise AssertionError('Argument name is mandatory and can not be set to None')
518518
if not check_type(value,label):
519519
self._name = label(value)
520520
else:
@@ -560,7 +560,7 @@ def fget( self ):
560560
def fset( self, value ):
561561
# Mandatory argument
562562
if value==None:
563-
raise AssertionError('Argument organizational_address_organizations is mantatory and can not be set to None')
563+
raise AssertionError('Argument organizational_address_organizations is mandatory and can not be set to None')
564564
if not check_type(value,SET(1,1,'organization', scope = schema_scope)):
565565
self._organizational_address_organizations = SET(value)
566566
else:
@@ -574,7 +574,7 @@ def fget( self ):
574574
def fset( self, value ):
575575
# Mandatory argument
576576
if value==None:
577-
raise AssertionError('Argument personal_address_people is mantatory and can not be set to None')
577+
raise AssertionError('Argument personal_address_people is mandatory and can not be set to None')
578578
if not check_type(value,SET(1,1,'person', scope = schema_scope)):
579579
self._personal_address_people = SET(value)
580580
else:

src/exp2python/examples/unitary_schemas/test_named_type.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def fget( self ):
5858
def fset( self, value ):
5959
# Mandatory argument
6060
if value==None:
61-
raise AssertionError('Argument line_length is mantatory and can not be set to None')
61+
raise AssertionError('Argument line_length is mandatory and can not be set to None')
6262
if not check_type(value,measure):
6363
self._line_length = measure(value)
6464
else:
@@ -72,7 +72,7 @@ def fget( self ):
7272
def fset( self, value ):
7373
# Mandatory argument
7474
if value==None:
75-
raise AssertionError('Argument other_param is mantatory and can not be set to None')
75+
raise AssertionError('Argument other_param is mandatory and can not be set to None')
7676
if not check_type(value,type3):
7777
self._other_param = type3(value)
7878
else:
@@ -86,7 +86,7 @@ def fget( self ):
8686
def fset( self, value ):
8787
# Mandatory argument
8888
if value==None:
89-
raise AssertionError('Argument and_another is mantatory and can not be set to None')
89+
raise AssertionError('Argument and_another is mandatory and can not be set to None')
9090
if not check_type(value,REAL):
9191
self._and_another = REAL(value)
9292
else:

0 commit comments

Comments
 (0)