Overview
Comment:Format code with black, gofmt, yapf, autopep8, isort, standardrb, standardjs, prettier and rubocop

This commit fixes the style issues introduced in 7ac5cb2 according to the output
from black, gofmt, yapf, autopep8, isort, standardrb, standardjs, prettier and
rubocop.

Details: https://deepsource.io/gh/reduce-algebra/mtt/transform/c3252946-0bd2-48d0-b166-fde2a4487b9e/

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | github/deepsource-transform-1fe15620
Files: files | file ages | folders
SHA3-256: 1dd20df63c46c068ed49e5c50c7377d61570043568dd82e1b21cd291dafb78a6
User & Date: 62050782+deepsource-autofix[bot]@users.noreply.github.com on 2021-04-16 07:13:04
Other Links: branch diff | manifest | tags
Context
2021-04-17
06:05:54
Merge pull request #17 from reduce-algebra/deepsource-transform-1fe15620

Format code with black, gofmt, yapf, autopep8, isort, standardrb, standardjs, prettier and rubocop check-in: 0ade40978e user: trnsz@pobox.com tags: master, trunk

2021-04-16
07:13:10
Restyled by prettier-markdown check-in: 790d705741 user: commits@restyled.io tags: github/restyled/deepsource-transform-1fe15620, trunk
07:13:04
Format code with black, gofmt, yapf, autopep8, isort, standardrb, standardjs, prettier and rubocop

This commit fixes the style issues introduced in 7ac5cb2 according to the output
from black, gofmt, yapf, autopep8, isort, standardrb, standardjs, prettier and
rubocop.

Details: https://deepsource.io/gh/reduce-algebra/mtt/transform/c3252946-0bd2-48d0-b166-fde2a4487b9e/ Leaf check-in: 1dd20df63c user: 62050782+deepsource-autofix[bot]@users.noreply.github.com tags: github/deepsource-transform-1fe15620, trunk

07:11:53
Add .deepsource.toml check-in: 9cc04b860f user: bot@deepsource.io tags: master, trunk
Changes

Modified LICENSE.md from [f1fd536d69] to [7824ce41c5].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
The GNU General Public License, Version 2, June 1991 (GPLv2)
============================================================

> Copyright (C) 1989, 1991 Free Software Foundation, Inc.
> 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA

Everyone is permitted to copy and distribute verbatim copies of this license
document, but changing it is not allowed.

Preamble
--------

The licenses for most software are designed to take away your freedom to share
and change it. By contrast, the GNU General Public License is intended to
guarantee your freedom to share and change free software--to make sure the
software is free for all its users. This General Public License applies to most
of the Free Software Foundation's software and to any other program whose
authors commit to using it. (Some other Free Software Foundation software is
|
<


|




|
<







1

2
3
4
5
6
7
8
9

10
11
12
13
14
15
16
# The GNU General Public License, Version 2, June 1991 (GPLv2)


> Copyright (C) 1989, 1991 Free Software Foundation, Inc.
> 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA

Everyone is permitted to copy and distribute verbatim copies of this license
document, but changing it is not allowed.

## Preamble


The licenses for most software are designed to take away your freedom to share
and change it. By contrast, the GNU General Public License is intended to
guarantee your freedom to share and change free software--to make sure the
software is free for all its users. This General Public License applies to most
of the Free Software Foundation's software and to any other program whose
authors commit to using it. (Some other Free Software Foundation software is
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
obtain patent licenses, in effect making the program proprietary. To prevent
this, we have made it clear that any patent must be licensed for everyone's free
use or not licensed at all.

The precise terms and conditions for copying, distribution and modification
follow.

Terms And Conditions For Copying, Distribution And Modification
---------------------------------------------------------------

**0.** This License applies to any program or other work which contains a notice
placed by the copyright holder saying it may be distributed under the terms of
this General Public License. The "Program", below, refers to any such program or
work, and a "work based on the Program" means either the Program or any
derivative work under copyright law: that is to say, a work containing the
Program or a portion of it, either verbatim or with modifications and/or







|
<







49
50
51
52
53
54
55
56

57
58
59
60
61
62
63
obtain patent licenses, in effect making the program proprietary. To prevent
this, we have made it clear that any patent must be licensed for everyone's free
use or not licensed at all.

The precise terms and conditions for copying, distribution and modification
follow.

## Terms And Conditions For Copying, Distribution And Modification


**0.** This License applies to any program or other work which contains a notice
placed by the copyright holder saying it may be distributed under the terms of
this General Public License. The "Program", below, refers to any such program or
work, and a "work based on the Program" means either the Program or any
derivative work under copyright law: that is to say, a work containing the
Program or a portion of it, either verbatim or with modifications and/or
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
your option offer warranty protection in exchange for a fee.

**2.** You may modify your copy or copies of the Program or any portion of it,
thus forming a work based on the Program, and copy and distribute such
modifications or work under the terms of Section 1 above, provided that you also
meet all of these conditions:

* **a)** You must cause the modified files to carry prominent notices stating
    that you changed the files and the date of any change.

* **b)** You must cause any work that you distribute or publish, that in whole
    or in part contains or is derived from the Program or any part thereof, to
    be licensed as a whole at no charge to all third parties under the terms of
    this License.

* **c)** If the modified program normally reads commands interactively when
    run, you must cause it, when started running for such interactive use in the
    most ordinary way, to print or display an announcement including an
    appropriate copyright notice and a notice that there is no warranty (or
    else, saying that you provide a warranty) and that users may redistribute
    the program under these conditions, and telling the user how to view a copy
    of this License. (Exception: if the Program itself is interactive but does
    not normally print such an announcement, your work based on the Program is
    not required to print an announcement.)

These requirements apply to the modified work as a whole. If identifiable
sections of that work are not derived from the Program, and can be reasonably
considered independent and separate works in themselves, then this License, and
its terms, do not apply to those sections when you distribute them as separate
works. But when you distribute the same sections as part of a whole which is a
work based on the Program, the distribution of the whole must be on the terms of







|
|

|
|
|
|

|
|
|
|
|
|
|
|
|







81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
your option offer warranty protection in exchange for a fee.

**2.** You may modify your copy or copies of the Program or any portion of it,
thus forming a work based on the Program, and copy and distribute such
modifications or work under the terms of Section 1 above, provided that you also
meet all of these conditions:

- **a)** You must cause the modified files to carry prominent notices stating
  that you changed the files and the date of any change.

- **b)** You must cause any work that you distribute or publish, that in whole
  or in part contains or is derived from the Program or any part thereof, to
  be licensed as a whole at no charge to all third parties under the terms of
  this License.

- **c)** If the modified program normally reads commands interactively when
  run, you must cause it, when started running for such interactive use in the
  most ordinary way, to print or display an announcement including an
  appropriate copyright notice and a notice that there is no warranty (or
  else, saying that you provide a warranty) and that users may redistribute
  the program under these conditions, and telling the user how to view a copy
  of this License. (Exception: if the Program itself is interactive but does
  not normally print such an announcement, your work based on the Program is
  not required to print an announcement.)

These requirements apply to the modified work as a whole. If identifiable
sections of that work are not derived from the Program, and can be reasonably
considered independent and separate works in themselves, then this License, and
its terms, do not apply to those sections when you distribute them as separate
works. But when you distribute the same sections as part of a whole which is a
work based on the Program, the distribution of the whole must be on the terms of
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
distribution medium does not bring the other work under the scope of this
License.

**3.** You may copy and distribute the Program (or a work based on it, under
Section 2) in object code or executable form under the terms of Sections 1 and 2
above provided that you also do one of the following:

* **a)** Accompany it with the complete corresponding machine-readable source
    code, which must be distributed under the terms of Sections 1 and 2 above on
    a medium customarily used for software interchange; or,

* **b)** Accompany it with a written offer, valid for at least three years, to
    give any third party, for a charge no more than your cost of physically
    performing source distribution, a complete machine-readable copy of the
    corresponding source code, to be distributed under the terms of Sections 1
    and 2 above on a medium customarily used for software interchange; or,

* **c)** Accompany it with the information you received as to the offer to
    distribute corresponding source code. (This alternative is allowed only for
    noncommercial distribution and only if you received the program in object
    code or executable form with such an offer, in accord with Subsection b
    above.)

The source code for a work means the preferred form of the work for making
modifications to it. For an executable work, complete source code means all the
source code for all modules it contains, plus any associated interface
definition files, plus the scripts used to control compilation and installation
of the executable. However, as a special exception, the source code distributed
need not include anything that is normally distributed (in either source or







|
|
|

|
|
|
|
|

|
|
|
|
|







122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
distribution medium does not bring the other work under the scope of this
License.

**3.** You may copy and distribute the Program (or a work based on it, under
Section 2) in object code or executable form under the terms of Sections 1 and 2
above provided that you also do one of the following:

- **a)** Accompany it with the complete corresponding machine-readable source
  code, which must be distributed under the terms of Sections 1 and 2 above on
  a medium customarily used for software interchange; or,

- **b)** Accompany it with a written offer, valid for at least three years, to
  give any third party, for a charge no more than your cost of physically
  performing source distribution, a complete machine-readable copy of the
  corresponding source code, to be distributed under the terms of Sections 1
  and 2 above on a medium customarily used for software interchange; or,

- **c)** Accompany it with the information you received as to the offer to
  distribute corresponding source code. (This alternative is allowed only for
  noncommercial distribution and only if you received the program in object
  code or executable form with such an offer, in accord with Subsection b
  above.)

The source code for a work means the preferred form of the work for making
modifications to it. For an executable work, complete source code means all the
source code for all modules it contains, plus any associated interface
definition files, plus the scripts used to control compilation and installation
of the executable. However, as a special exception, the source code distributed
need not include anything that is normally distributed (in either source or
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
whose distribution conditions are different, write to the author to ask for
permission. For software which is copyrighted by the Free Software Foundation,
write to the Free Software Foundation; we sometimes make exceptions for this.
Our decision will be guided by the two goals of preserving the free status of
all derivatives of our free software and of promoting the sharing and reuse of
software generally.

No Warranty
-----------

**11.** BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE
STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM
"AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE







|
<







232
233
234
235
236
237
238
239

240
241
242
243
244
245
246
whose distribution conditions are different, write to the author to ask for
permission. For software which is copyrighted by the Free Software Foundation,
write to the Free Software Foundation; we sometimes make exceptions for this.
Our decision will be guided by the two goals of preserving the free status of
all derivatives of our free software and of promoting the sharing and reuse of
software generally.

## No Warranty


**11.** BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE
STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM
"AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE

Modified README.md from [4b7da78f0b] to [a41249c324].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# MTT

## Model Transformation Tools

### Bond-graph based modeling tools

MTT is a set of tools for modeling dynamic physical systems using the bond-graph methodology and transforming these models into representations suitable for analysis, control, and simulation.

----

## Introduction

- MTT uses and generates `.m` files for [GNU Octave](https://www.octave.org/).
- MTT is mainly built on the [GNU](https://gnu.org/) set of tools.
- MTT uses the algebraic package [REDUCE](https://reduce-algebra.sourceforge.io/).
- MTT is based on the bond graph language; general bond graph information is available from [The Bond Graph Compendium](https://www2.engr.arizona.edu/~cellier/bg.html) homepage.

----

## Availability

- [GitHub](https://github.com/reduce-algebra/mtt) *(Primary)*
- [GitLab Mirror](https://gitlab.com/reduce-algebra/mtt)
- [SourceHut Mirror](https://git.sr.ht/~trn/mtt)
- [NotABug Mirror](https://notabug.org/reduce-algebra/mtt/)
- [Chisel Mirror](https://chiselapp.com/user/reduce-algebra/repository/mtt)
- [Sourceforge](http://mtt.sf.net) *(Archived)*
  - [MTT Developers Mailing List Archive](https://sourceforge.net/p/mtt/mailman/mtt-developers/?limit=250&style=threaded)
  - [MTT Help Mailing List Archive](https://sourceforge.net/p/mtt/mailman/mtt-help/?limit=250&style=threaded)

----

## License

- GNU General Public License, Version 2, June 1991 (GPLv2)

----

## Issue Tracking

- [GitHub Issues](https://github.com/reduce-algebra/mtt/issues)

----

## Authors

- [Peter Gawthrop](http://www.gawthrop.net/) [\<peter.gawthrop@unimelb.edu.au\>](mailto:peter.gawthrop@unimelb.edu.au)
- [Geraint Paul Bevan](https://www.gcu.ac.uk/cebe/staff/geraint%20bevan/) [\<Geraint.Bevan@gcu.ac.uk\>](mailto:Geraint.Bevan@gcu.ac.uk), [\<geraint@enchant.me.uk\>](mailto:geraint@enchant.me.uk) [*(https://www.enchant.me.uk)*](https://www.enchant.me.uk/)

----








|








|



|




|



|





|





|




|

|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# MTT

## Model Transformation Tools

### Bond-graph based modeling tools

MTT is a set of tools for modeling dynamic physical systems using the bond-graph methodology and transforming these models into representations suitable for analysis, control, and simulation.

---

## Introduction

- MTT uses and generates `.m` files for [GNU Octave](https://www.octave.org/).
- MTT is mainly built on the [GNU](https://gnu.org/) set of tools.
- MTT uses the algebraic package [REDUCE](https://reduce-algebra.sourceforge.io/).
- MTT is based on the bond graph language; general bond graph information is available from [The Bond Graph Compendium](https://www2.engr.arizona.edu/~cellier/bg.html) homepage.

---

## Availability

- [GitHub](https://github.com/reduce-algebra/mtt) _(Primary)_
- [GitLab Mirror](https://gitlab.com/reduce-algebra/mtt)
- [SourceHut Mirror](https://git.sr.ht/~trn/mtt)
- [NotABug Mirror](https://notabug.org/reduce-algebra/mtt/)
- [Chisel Mirror](https://chiselapp.com/user/reduce-algebra/repository/mtt)
- [Sourceforge](http://mtt.sf.net) _(Archived)_
  - [MTT Developers Mailing List Archive](https://sourceforge.net/p/mtt/mailman/mtt-developers/?limit=250&style=threaded)
  - [MTT Help Mailing List Archive](https://sourceforge.net/p/mtt/mailman/mtt-help/?limit=250&style=threaded)

---

## License

- GNU General Public License, Version 2, June 1991 (GPLv2)

---

## Issue Tracking

- [GitHub Issues](https://github.com/reduce-algebra/mtt/issues)

---

## Authors

- [Peter Gawthrop](http://www.gawthrop.net/) [\<peter.gawthrop@unimelb.edu.au\>](mailto:peter.gawthrop@unimelb.edu.au)
- [Geraint Paul Bevan](https://www.gcu.ac.uk/cebe/staff/geraint%20bevan/) [\<Geraint.Bevan@gcu.ac.uk\>](mailto:Geraint.Bevan@gcu.ac.uk), [\<geraint@enchant.me.uk\>](mailto:geraint@enchant.me.uk) [_(https://www.enchant.me.uk)_](https://www.enchant.me.uk/)

---

Modified SECURITY.md from [fc3f096b24] to [a45c510c57].

1
2
3
4
5
6
7
8
9
# Security Information

## Reporting a Vulnerability

Please use email to report any any security vulnerabilities:

- [Peter Gawthrop](http://www.gawthrop.net/) [\<peter.gawthrop@unimelb.edu.au\>](mailto:peter.gawthrop@unimelb.edu.au)
- [Geraint Paul Bevan](https://www.gcu.ac.uk/cebe/staff/geraint%20bevan/) [\<Geraint.Bevan@gcu.ac.uk\>](mailto:Geraint.Bevan@gcu.ac.uk), [\<geraint@enchant.me.uk\>](mailto:geraint@enchant.me.uk) [*(https://www.enchant.me.uk)*](https://www.enchant.me.uk/)
- [Jeffrey H. Johnson](https://prone.ws/) [\<trnsz@pobx.com\>](mailto:trnsz+reduce-algebra-mtt-security@pobox.com)







|

1
2
3
4
5
6
7
8
9
# Security Information

## Reporting a Vulnerability

Please use email to report any any security vulnerabilities:

- [Peter Gawthrop](http://www.gawthrop.net/) [\<peter.gawthrop@unimelb.edu.au\>](mailto:peter.gawthrop@unimelb.edu.au)
- [Geraint Paul Bevan](https://www.gcu.ac.uk/cebe/staff/geraint%20bevan/) [\<Geraint.Bevan@gcu.ac.uk\>](mailto:Geraint.Bevan@gcu.ac.uk), [\<geraint@enchant.me.uk\>](mailto:geraint@enchant.me.uk) [_(https://www.enchant.me.uk)_](https://www.enchant.me.uk/)
- [Jeffrey H. Johnson](https://prone.ws/) [\<trnsz@pobx.com\>](mailto:trnsz+reduce-algebra-mtt-security@pobox.com)

Modified mtt/doc/mtt.html from [bc440472f6] to [1a30bfd2d6].

more than 10,000 changes


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]