pygae/galgebra

View on GitHub
Add `Linear Transformations in GAlgebra.ipynb` from #478 by GSG with minor fixes #782
utensil authored 5e555870
complete00:00:31
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
No errors or warnings found in .codeclimate.json.
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
docker pull codeclimate/codeclimate-bandit:b866
b866: Pulling from codeclimate/codeclimate-bandit
a0e0ef996968: Pulling fs layer
00c69949e211: Pulling fs layer
124b11ffd9dc: Pulling fs layer
74d262bd6915: Pulling fs layer
963a4e0e1415: Pulling fs layer
ea041886215a: Pulling fs layer
3bbf7ff90c63: Pulling fs layer
963a4e0e1415: Waiting
ea041886215a: Waiting
3bbf7ff90c63: Waiting
74d262bd6915: Waiting
00c69949e211: Verifying Checksum
00c69949e211: Download complete
124b11ffd9dc: Verifying Checksum
124b11ffd9dc: Download complete
a0e0ef996968: Verifying Checksum
a0e0ef996968: Download complete
963a4e0e1415: Verifying Checksum
963a4e0e1415: Download complete
a0e0ef996968: Pull complete
00c69949e211: Pull complete
3bbf7ff90c63: Verifying Checksum
3bbf7ff90c63: Download complete
ea041886215a: Download complete
124b11ffd9dc: Pull complete
74d262bd6915: Verifying Checksum
74d262bd6915: Download complete
74d262bd6915: Pull complete
963a4e0e1415: Pull complete
ea041886215a: Pull complete
3bbf7ff90c63: Pull complete
Digest: sha256:b831294279e697e4402c0bd94153247577b1e1297055bac81a8e2922b4dedba5
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-bandit:b866
docker pull codeclimate/codeclimate-pep8:b25
b25: Pulling from codeclimate/codeclimate-pep8
ab6db1bc80d0: Pulling fs layer
bf17e9a1c113: Pulling fs layer
4f8d95c214b1: Pulling fs layer
0de813e89c33: Pulling fs layer
a9696c7f4cd8: Pulling fs layer
51b9219e6e44: Pulling fs layer
e3c7e34cb08c: Pulling fs layer
328f3a57c882: Pulling fs layer
43b5f16a0c84: Pulling fs layer
51b9219e6e44: Waiting
328f3a57c882: Waiting
a9696c7f4cd8: Waiting
43b5f16a0c84: Waiting
e3c7e34cb08c: Waiting
0de813e89c33: Waiting
bf17e9a1c113: Verifying Checksum
bf17e9a1c113: Download complete
4f8d95c214b1: Download complete
ab6db1bc80d0: Download complete
a9696c7f4cd8: Verifying Checksum
a9696c7f4cd8: Download complete
ab6db1bc80d0: Pull complete
e3c7e34cb08c: Verifying Checksum
e3c7e34cb08c: Download complete
51b9219e6e44: Download complete
bf17e9a1c113: Pull complete
4f8d95c214b1: Pull complete
328f3a57c882: Verifying Checksum
328f3a57c882: Download complete
0de813e89c33: Verifying Checksum
0de813e89c33: Download complete
43b5f16a0c84: Verifying Checksum
43b5f16a0c84: Download complete
0de813e89c33: Pull complete
a9696c7f4cd8: Pull complete
51b9219e6e44: Pull complete
e3c7e34cb08c: Pull complete
328f3a57c882: Pull complete
43b5f16a0c84: Pull complete
Digest: sha256:75f70c714bc5f9e65359d45469a1fe7c1b181a15aee8fbabec7e23c65b19d447
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-pep8:b25
docker pull codeclimate/codeclimate-radon:b695
b695: Pulling from codeclimate/codeclimate-radon
e00d546a75ad: Pulling fs layer
21f0a0866768: Pulling fs layer
cd9d3946aa16: Pulling fs layer
2e56add6654f: Pulling fs layer
6c87f215a2be: Pulling fs layer
c2b31566ca3d: Pulling fs layer
2e56add6654f: Waiting
6c87f215a2be: Waiting
c2b31566ca3d: Waiting
21f0a0866768: Verifying Checksum
21f0a0866768: Download complete
e00d546a75ad: Download complete
cd9d3946aa16: Verifying Checksum
cd9d3946aa16: Download complete
e00d546a75ad: Pull complete
6c87f215a2be: Verifying Checksum
6c87f215a2be: Download complete
21f0a0866768: Pull complete
c2b31566ca3d: Verifying Checksum
c2b31566ca3d: Download complete
cd9d3946aa16: Pull complete
2e56add6654f: Verifying Checksum
2e56add6654f: Download complete
2e56add6654f: Pull complete
6c87f215a2be: Pull complete
c2b31566ca3d: Pull complete
Digest: sha256:dfeb7edc634b4e2f851f3c788f7c21bd8bae097d4c66af722c76a6ba51121f98
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-radon:b695
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-04-07T12:44:13.579097 #1]  INFO -- : Skipping file ./doc/_sphinxext/releases_hack.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 20
    def format(self, /, number):
                     ^
SyntaxError: invalid syntax


I, [2024-04-07T12:44:13.728698 #1]  INFO -- : Skipping file ./galgebra/ga.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 77
    def __missing__(self, key: _K) -> _V:
                             ^
SyntaxError: invalid syntax


I, [2024-04-07T12:44:13.747360 #1]  INFO -- : Skipping file ./galgebra/lt.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 242
    def __init__(self, *args, ga, f=False, mode='g'):
                               ^
SyntaxError: invalid syntax


I, [2024-04-07T12:44:13.751597 #1]  INFO -- : Skipping file ./galgebra/_utils/parser.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 149
    def validate_op_order(op_order: List[str]) -> None:
                                  ^
SyntaxError: invalid syntax


I, [2024-04-07T12:44:13.790978 #1]  INFO -- : Skipping file ./galgebra/dop.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 172
    def __init_from_symbol(self, symbol: Symbol) -> None:
                                       ^
SyntaxError: invalid syntax


I, [2024-04-07T12:44:13.802303 #1]  INFO -- : Skipping file ./galgebra/deprecated.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 29
    def setup(basis, metric=None, coords=None, rframe=False, debug=False, curv=(None, None)) -> list:
                                                                                             ^
SyntaxError: invalid syntax


I, [2024-04-07T12:44:13.811550 #1]  INFO -- : Skipping file ./galgebra/mv.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 85
    def setup(ga: 'Ga') -> Tuple['Mv', List['Mv'], 'Mv']:
                ^
SyntaxError: invalid syntax


I, [2024-04-07T12:44:13.814641 #1]  INFO -- : Skipping file ./galgebra/metric.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 443
    def dg(self) -> List[List[List[Expr]]]:
                 ^
SyntaxError: invalid syntax


I, [2024-04-07T12:44:13.826296 #1]  INFO -- : Skipping file ./galgebra/printer.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 183
    def oprint(*args, dict_mode=False):
                              ^
SyntaxError: invalid syntax


I, [2024-04-07T12:44:13.834163 #1]  INFO -- : Skipping file ./galgebra/atoms.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 49
    def __new__(cls, *args: BasisVectorSymbol) -> Union[
                          ^
SyntaxError: invalid syntax


I, [2024-04-07T12:44:13.845299 #1]  INFO -- : Skipping file ./galgebra/gprinter.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 104
    def gFormat(Fmode: bool = True, Dmode: bool = True, inverse='full'):
                     ^
SyntaxError: invalid syntax
7
bandit
bandit engine documentation
View output
[main]	INFO	profile include tests: None
[main]	INFO	profile exclude tests: None
[main]	INFO	cli include tests: None
[main]	INFO	cli exclude tests: None
[node_visitor]	INFO	Unable to find qualified name for module: setup.py
8
pep8
pep8 engine documentation
View output
.github/ doc/ galgebra/ setup.py
9
radon
radon engine documentation
View output
Running radon3...
10
sonar-python
sonar-python engine documentation
View output
INFO: Java 1.8.0_111-internal Oracle Corporation (64-bit)
INFO: Linux 4.4.0-1128-aws amd64
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/src/app/build/libs/sonarlint-core-2.17.0.899.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/src/app/build/libs/sonarlint-cli-2.1.0.566.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
INFO: Index files
INFO: Invalid character encountered in file '/code/doc/python/ReciprocalBasis.pdf' at line 2 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/doc/python/Dirac.pdf' at line 2 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/doc/python/EMWaves.pdf' at line 2 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/doc/python/SphericalCoordinates.pdf' at line 2 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/doc/python/Ltrans.pdf' at line 2 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/doc/python/LinearTrans.pdf' at line 2 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/doc/python/LtransInst.pdf' at line 2 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/doc/python/submanifold1.pdf' at line 2 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/doc/python/diffops.pdf' at line 2 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/doc/python/Dop.pdf' at line 2 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/doc/python/BACCAB.pdf' at line 2 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/doc/python/submanifold.pdf' at line 2 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/doc/images/wkclifford.jpg' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/doc/images/dhestenes.jpg' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/doc/books/galgebra.pdf' at line 2 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/doc/books/Macdonald/GAlgebraPrimer.pdf' at line 2 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/doc/books/Macdonald/Conformal Model.pdf' at line 2 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/doc/books/bookGA.pdf' at line 2 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: 103 files indexed
ERROR: Unable to parse file: /code/doc/_sphinxext/releases_hack.py
ERROR: Parse error at line 20 column 21:

   16: isdigit():
   17:             release = "v" + release
   18:         return 'https://github.com/%s/tree/%s' % (self._path, release)
   19: 
  -->      def format(self, /, number):
   21:         return self.__mod__(number)
   22: EOF

INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 1.674s
INFO: Final Memory: 8M/417M
INFO: ------------------------------------------------------------------------