antonagestam/collectfast

View on GitHub
Pin pre-commit python version (#213) #241
Anton Agestam authored 5df47b94
complete00:00:24
Your first build completed successfully!

Congratulations

Your first build completed successfully!

See the Results

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
docker pull codeclimate/codeclimate-sonar-python:b10
b10: Pulling from codeclimate/codeclimate-sonar-python
709515475419: Pulling fs layer
d1c225ed7c34: Pulling fs layer
887f300163b6: Pulling fs layer
a3ed95caeb02: Pulling fs layer
9b412187b352: Pulling fs layer
8fe915fa1948: Pulling fs layer
65145a386a45: Pulling fs layer
a64dfb9c0f27: Pulling fs layer
59a464ab5a51: Pulling fs layer
47413513c002: Pulling fs layer
9f30da6d3676: Pulling fs layer
9b412187b352: Waiting
a3ed95caeb02: Waiting
8fe915fa1948: Waiting
65145a386a45: Waiting
47413513c002: Waiting
59a464ab5a51: Waiting
9f30da6d3676: Waiting
d1c225ed7c34: Verifying Checksum
d1c225ed7c34: Download complete
a3ed95caeb02: Download complete
9b412187b352: Verifying Checksum
9b412187b352: Download complete
709515475419: Verifying Checksum
709515475419: Download complete
65145a386a45: Verifying Checksum
65145a386a45: Download complete
709515475419: Pull complete
d1c225ed7c34: Pull complete
887f300163b6: Verifying Checksum
887f300163b6: Download complete
59a464ab5a51: Verifying Checksum
59a464ab5a51: Download complete
8fe915fa1948: Verifying Checksum
8fe915fa1948: Download complete
887f300163b6: Pull complete
47413513c002: Verifying Checksum
47413513c002: Download complete
a3ed95caeb02: Pull complete
9b412187b352: Pull complete
a64dfb9c0f27: Verifying Checksum
a64dfb9c0f27: Download complete
9f30da6d3676: Verifying Checksum
9f30da6d3676: Download complete
8fe915fa1948: Pull complete
65145a386a45: Pull complete
a64dfb9c0f27: Pull complete
59a464ab5a51: Pull complete
47413513c002: Pull complete
9f30da6d3676: Pull complete
Digest: sha256:7904831e83e5474cba8a95726a691787d74d669d74a8721f114057ebb4a8943d
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-sonar-python:b10
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
cd9d3946aa16: Verifying Checksum
cd9d3946aa16: Download complete
e00d546a75ad: Download complete
c2b31566ca3d: Verifying Checksum
c2b31566ca3d: Download complete
e00d546a75ad: Pull complete
6c87f215a2be: Verifying Checksum
6c87f215a2be: Download complete
21f0a0866768: Pull complete
cd9d3946aa16: Pull complete
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...
7
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: 24 files indexed
ERROR: Unable to parse file: /code/collectfast/management/commands/collectstatic.py
ERROR: Parse error at line 28 column 18:

   25: Any) -> None:
   26:         super().__init__(*args, **kwargs)
   27:         self.num_copied_files = 0
  -->          self.tasks: List[Task] = []
   29:         self.collectfast_enabled = settings.enabled
   30:         self.strategy: Strategy = DisabledStrategy(Storage())
   31: 

ERROR: Unable to parse file: /code/collectfast/strategies/boto3.py
ERROR: Parse error at line 37 column 17:

   34:         normalized_path = self._normalize_path(prefixed_path)
   35:         logger.debug("Getting file hash", extra={"normalized_path": normalized_path})
   36:         try:
  -->              hash_: str = self.remote_storage.bucket.Object(normalized_path).e_tag
   38:         except botocore.exceptions.ClientError:
   39:             logger.debug(

ERROR: Unable to parse file: /code/collectfast/strategies/base.py
ERROR: Parse error at line 35 column 30:

   28: settings.cache]
   29: logger = logging.getLogger(__name__)
   30: 
   31: 
   32: class Strategy(abc.ABC, Generic[_RemoteStorage]):
   33: 
   34: 
  -->      delete_not_found_exception: ClassVar[Tuple[Type[Exception], ...]] = ()
   36: 
   37:     def __init__(self, remote_storage: _RemoteStorage) ->

ERROR: Unable to parse file: /code/collectfast/settings.py
ERROR: Parse error at line 20 column 5:

   12: settings, key, default)
   13:     if not isinstance(value, type_):
   14:         raise ValueError(
   15:             f"The {key!r} setting must be of type {type_!r}, found {type(value)}"
   16:         )
   17:     return value
   18: 
   19: 
  -->  debug: Final = _get_setting(
   21:     bool, "COLLECTFAST_DEBUG", _get_setting(bool, "DEBUG", False)
   22: )
   23: cache_key_prefix: Final = _get_setting(
   24:     str, "COLLECTFAST_CACHE_KEY_PREFIX", "collectfast06_asset_"

INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 0.185s
INFO: Final Memory: 6M/295M
INFO: ------------------------------------------------------------------------
8
radon
radon engine documentation
View output
Running radon3...