juntagrico/juntagrico-billing

View on GitHub
Merge remote-tracking branch 'refs/remotes/origin/main' into 1.6 #118
pascalfree authored 27ed48ce
complete00:00:15
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
No errors or warnings found in .codeclimate.yml.
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
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-22T22:20:52.310556 #1]  INFO -- : Skipping file ./juntagrico_billing/util/pdfbill.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
    f'{text} <link href="{url}">{url}</link>.',
                                             ^
SyntaxError: invalid syntax


I, [2024-04-22T22:20:52.339733 #1]  INFO -- : Skipping file ./juntagrico_billing/util/payment_processor.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 153
    raise PaymentProcessorError(self._(msg) % pinfo.unique_id) from err
                                                                  ^
SyntaxError: invalid syntax


I, [2024-04-22T22:20:52.380237 #1]  INFO -- : Skipping file ./juntagrico_billing/admin/billitem_inline.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 21
    return mark_safe(f'<a href="{link}">{escape(item.item_kind)}</a>')
                                                                    ^
SyntaxError: invalid syntax


I, [2024-04-22T22:20:52.395532 #1]  INFO -- : Skipping file ./juntagrico_billing/admin/bill.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 55
    return f'{bill.amount:8.2f}'
                               ^
SyntaxError: invalid syntax
7
pep8
pep8 engine documentation
View output
juntagrico_billing/locale/ juntagrico_billing/util/ juntagrico_billing/admin/ juntagrico_billing/views.py juntagrico_billing/templates/ juntagrico_billing/views_payment.py juntagrico_billing/tests/ juntagrico_billing/models/ juntagrico_billing/lifecycle/ juntagrico_billing/querysets/ juntagrico_billing/apps.py juntagrico_billing/docs/ juntagrico_billing/config.py juntagrico_billing/__init__.py juntagrico_billing/mailer.py juntagrico_billing/urls.py testsettings.py .github/ manage.py testurls.py/usr/lib/python3.9/site-packages/pycodestyle.py:2665: UserWarning: [pep8] section is deprecated. Use [pycodestyle].
  warnings.warn('[pep8] section is deprecated. Use [pycodestyle].')
8
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/juntagrico_billing/locale/de/LC_MESSAGES/django.mo' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: 68 files indexed
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 0.656s
INFO: Final Memory: 6M/295M
INFO: ------------------------------------------------------------------------