nathan-v/aws_okta_keyman

View on GitHub
Update black from 22.8.0 to 24.4.1 #368
pyup-bot authored 8b8ae29b
complete00:00:17
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-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
a9696c7f4cd8: Waiting
51b9219e6e44: Waiting
e3c7e34cb08c: Waiting
328f3a57c882: Waiting
43b5f16a0c84: Waiting
4f8d95c214b1: Verifying Checksum
4f8d95c214b1: Download complete
bf17e9a1c113: Verifying Checksum
bf17e9a1c113: Download complete
ab6db1bc80d0: Download complete
a9696c7f4cd8: Verifying Checksum
a9696c7f4cd8: Download complete
51b9219e6e44: Verifying Checksum
51b9219e6e44: Download complete
ab6db1bc80d0: Pull complete
e3c7e34cb08c: Download complete
0de813e89c33: Verifying Checksum
0de813e89c33: Download complete
bf17e9a1c113: Pull complete
328f3a57c882: Verifying Checksum
328f3a57c882: Download complete
4f8d95c214b1: Pull 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
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-24T18:00:19.591685 #1]  INFO -- : Skipping file aws_okta_keyman/keyman.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 50
    self.log.info(f"{__desc__} 🔐 v{__version__}")
                                                  ^
SyntaxError: invalid syntax


I, [2024-04-24T18:00:19.632643 #1]  INFO -- : Skipping file aws_okta_keyman/aws.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 62
    LOG.debug(f"Unable to open {self.filename}")
                                              ^
SyntaxError: invalid syntax


I, [2024-04-24T18:00:19.637444 #1]  INFO -- : Skipping file aws_okta_keyman/okta_saml.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 98
    "User-Agent": f"aws_okta_keyman/{__version__}",
                                                 ^
SyntaxError: invalid syntax


I, [2024-04-24T18:00:19.651486 #1]  INFO -- : Skipping file aws_okta_keyman/duo.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 198
    params = f"{params}&passcode={passcode}"
                                           ^
SyntaxError: invalid syntax


I, [2024-04-24T18:00:19.652479 #1]  INFO -- : Skipping file aws_okta_keyman/okta.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 105
    LOG.debug(f"Base URL Set to: {self.base_url}")
                                                ^
SyntaxError: invalid syntax


I, [2024-04-24T18:00:19.670592 #1]  INFO -- : Skipping file aws_okta_keyman/config.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 70
    full_url = f"https://{self.org}.{okta_domain}/{self.appid}"
                                                              ^
SyntaxError: invalid syntax


I, [2024-04-24T18:00:19.683059 #1]  INFO -- : Skipping file setup.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 33
    user_options: List[Tuple[str]] = []
                ^
SyntaxError: invalid syntax
7
pep8
pep8 engine documentation
View output
.github/ aws_okta_keyman/keyman.py aws_okta_keyman/__main__.py aws_okta_keyman/aws_saml.py aws_okta_keyman/metadata.py aws_okta_keyman/aws.py aws_okta_keyman/okta_saml.py aws_okta_keyman/okta.py aws_okta_keyman/duo.py aws_okta_keyman/config.py aws_okta_keyman/__init__.py .circleci/ setup.py