lint_code_with_ruff
Passed Started
by
@rmaslowski

Radosław Masłowski
1Running with gitlab-runner 17.1.0 (fe451d5a)2 on hive-builder-6 (docker) 48-core 3960x, 256G kdzxVnB9, system ID: s_198a644e6def4Using Docker executor with image registry.gitlab.syncad.com/hive/hive/ci-base-image@sha256:080b16fd53013aeb9b89b00a8dfc90fecf886173f46448b05f45cee376c43330 ...5Using locally found image version due to "if-not-present" pull policy6Using docker image sha256:22db3b20c43f895d457e90deb840cf62527b6e9c07af7c4b216060f13b234d54 for registry.gitlab.syncad.com/hive/hive/ci-base-image@sha256:080b16fd53013aeb9b89b00a8dfc90fecf886173f46448b05f45cee376c43330 with digest registry.gitlab.syncad.com/hive/hive/ci-base-image@sha256:080b16fd53013aeb9b89b00a8dfc90fecf886173f46448b05f45cee376c43330 ...8Running on runner-kdzxvnb9-project-434-concurrent-1 via hive-builder-6...10Fetching changes with git depth set to 20...11Initialized empty Git repository in /builds/hive/helpy/.git/12Created fresh repository.13Checking out 5fe4e80a as detached HEAD (ref is rm-msgspec-refactor_helpy_removed)...14Updating/initializing submodules recursively with git depth set to 20...15Submodule 'hive' (https://gitlab-ci-token:[MASKED]@gitlab.syncad.com/hive/hive.git) registered for path 'hive'16Synchronizing submodule url for 'hive'17Cloning into '/builds/hive/helpy/hive'...19 * branch ed702f86d3a1ae567b2d2e1d0d7240a187223964 -> FETCH_HEAD20Submodule path 'hive': checked out 'ed702f86d3a1ae567b2d2e1d0d7240a187223964'21Submodule 'libraries/chain/compression_dictionaries' (https://gitlab-ci-token:[MASKED]@gitlab.syncad.com/hive/compression_dictionaries.git) registered for path 'hive/libraries/chain/compression_dictionaries'22Submodule 'secp256k1-zkp' (https://github.com/ElementsProject/secp256k1-zkp.git) registered for path 'hive/libraries/fc/vendor/secp256k1-zkp'23Submodule 'websocketpp' (https://github.com/zaphoyd/websocketpp.git) registered for path 'hive/libraries/fc/vendor/websocketpp'24Submodule 'libraries/vendor/rocksdb' (https://github.com/facebook/rocksdb.git) registered for path 'hive/libraries/vendor/rocksdb'25Submodule 'libraries/vendor/zstd' (https://github.com/facebook/zstd.git) registered for path 'hive/libraries/vendor/zstd'26Submodule 'test_tools' (https://gitlab-ci-token:[MASKED]@gitlab.syncad.com/hive/test-tools.git) registered for path 'hive/tests/python/hive-local-tools/test-tools'27Submodule 'tests_api' (https://gitlab-ci-token:[MASKED]@gitlab.syncad.com/hive/tests_api.git) registered for path 'hive/tests/python/hive-local-tools/tests_api'28Cloning into '/builds/hive/helpy/hive/libraries/chain/compression_dictionaries'...29Cloning into '/builds/hive/helpy/hive/libraries/fc/vendor/secp256k1-zkp'...30Cloning into '/builds/hive/helpy/hive/libraries/fc/vendor/websocketpp'...31Cloning into '/builds/hive/helpy/hive/libraries/vendor/rocksdb'...32Cloning into '/builds/hive/helpy/hive/libraries/vendor/zstd'...33Cloning into '/builds/hive/helpy/hive/tests/python/hive-local-tools/test-tools'...34Cloning into '/builds/hive/helpy/hive/tests/python/hive-local-tools/tests_api'...36 * branch c1f015c79533854cc11b661a078255dcfef09f00 -> FETCH_HEAD37Submodule path 'hive/libraries/chain/compression_dictionaries': checked out 'c1f015c79533854cc11b661a078255dcfef09f00'39 * branch d22774e248c703a191049b78f8d04f37d6fcfa05 -> FETCH_HEAD40Submodule path 'hive/libraries/fc/vendor/secp256k1-zkp': checked out 'd22774e248c703a191049b78f8d04f37d6fcfa05'41Submodule path 'hive/libraries/fc/vendor/websocketpp': checked out '1b11fd301531e6df35a6107c1e8665b1e77a2d8e'43 * branch bf2c335184de16a3cc1787fa97ef9f22f7114238 -> FETCH_HEAD44Submodule path 'hive/libraries/vendor/rocksdb': checked out 'bf2c335184de16a3cc1787fa97ef9f22f7114238'46 * branch e47e674cd09583ff0503f0f6defd6d23d8b718d3 -> FETCH_HEAD47Submodule path 'hive/libraries/vendor/zstd': checked out 'e47e674cd09583ff0503f0f6defd6d23d8b718d3'48Submodule path 'hive/tests/python/hive-local-tools/test-tools': checked out 'b863404626f7c0ee3fed27ef60cdb16d7fa2e660'49Submodule path 'hive/tests/python/hive-local-tools/tests_api': checked out 'c0d3b4169eeb206c6f0a16d9eda2871b04f7f71d'50Updated submodules51Synchronizing submodule url for 'hive'52Synchronizing submodule url for 'hive/libraries/chain/compression_dictionaries'53Synchronizing submodule url for 'hive/libraries/fc/vendor/secp256k1-zkp'54Synchronizing submodule url for 'hive/libraries/fc/vendor/websocketpp'55Synchronizing submodule url for 'hive/libraries/vendor/rocksdb'56Synchronizing submodule url for 'hive/libraries/vendor/zstd'57Synchronizing submodule url for 'hive/tests/python/hive-local-tools/test-tools'58Synchronizing submodule url for 'hive/tests/python/hive-local-tools/tests_api'59Entering 'hive'60Entering 'hive/libraries/chain/compression_dictionaries'61Entering 'hive/libraries/fc/vendor/secp256k1-zkp'62Entering 'hive/libraries/fc/vendor/websocketpp'63Entering 'hive/libraries/vendor/rocksdb'64Entering 'hive/libraries/vendor/zstd'65Entering 'hive/tests/python/hive-local-tools/test-tools'66Entering 'hive/tests/python/hive-local-tools/tests_api'67Entering 'hive'68Entering 'hive/libraries/chain/compression_dictionaries'69Entering 'hive/libraries/fc/vendor/secp256k1-zkp'70Entering 'hive/libraries/fc/vendor/websocketpp'71Entering 'hive/libraries/vendor/rocksdb'72Entering 'hive/libraries/vendor/zstd'73Entering 'hive/tests/python/hive-local-tools/test-tools'74Entering 'hive/tests/python/hive-local-tools/tests_api'76Using docker image sha256:22db3b20c43f895d457e90deb840cf62527b6e9c07af7c4b216060f13b234d54 for registry.gitlab.syncad.com/hive/hive/ci-base-image@sha256:080b16fd53013aeb9b89b00a8dfc90fecf886173f46448b05f45cee376c43330 with digest registry.gitlab.syncad.com/hive/hive/ci-base-image@sha256:080b16fd53013aeb9b89b00a8dfc90fecf886173f46448b05f45cee376c43330 ...77$ if [ -z "${PYPROJECT_DIR}" ]; then PYPROJECT_DIR="$(pwd)"; else echo "using - ${PYPROJECT_DIR}"; fi78using - /builds/hive/helpy/tests/local-tools79$ poetry -C "${PYPROJECT_DIR}" env use python380Creating virtualenv local-tools-bLHyDZ5_-py3.10 in /home/hived_admin/.cache/pypoetry/virtualenvs81Using virtualenv: /home/hived_admin/.cache/pypoetry/virtualenvs/local-tools-bLHyDZ5_-py3.1082$ source $(poetry -C "${PYPROJECT_DIR}" env info --path)/bin/activate83$ python3 -V84Python 3.10.1285$ poetry -C "${PYPROJECT_DIR}" -V86Poetry (version 1.7.1)87$ pip list88Package Version89---------- -------90pip 23.3.191setuptools 69.0.292[notice] A new release of pip is available: 23.3.1 -> 25.0.193[notice] To update, run: pip install --upgrade pip94$ poetry -C "${PYPROJECT_DIR}" install95Installing dependencies from lock file96Package operations: 54 installs, 0 updates, 0 removals97 • Installing exceptiongroup (1.2.2)98 • Installing idna (3.10)99 • Installing sniffio (1.3.1)100 • Installing typing-extensions (4.12.2)101 • Installing anyio (4.4.0)102 • Installing certifi (2024.8.30)103 • Installing h11 (0.14.0)104 • Installing hpack (4.0.0)105 • Installing frozenlist (1.4.1)106 • Installing hyperframe (6.0.1)107 • Installing multidict (6.1.0)108 • Installing aiosignal (1.3.1)109 • Installing async-timeout (4.0.3)110 • Installing charset-normalizer (2.0.12)111 • Installing distlib (0.3.8)112 • Installing attrs (24.2.0)113 • Installing httpcore (0.16.3)114 • Installing iniconfig (2.0.0)115 • Installing filelock (3.16.1)116 • Installing packaging (24.1)117 • Installing h2 (4.1.0)118 • Installing pydantic (1.10.18)119 • Installing rfc3986 (1.5.0)120 • Installing platformdirs (4.3.6)121 • Installing msgspec (0.18.6)122 • Installing six (1.16.0)123 • Installing pluggy (1.5.0)124 • Installing urllib3 (1.26.20)125 • Installing tomli (2.0.1)126 • Installing yarl (1.11.1)127 • Installing aiohttp (3.9.1)128 • Installing cfgv (3.4.0)129 • Installing execnet (2.1.1)130 • Installing httpx (0.23.3)131 • Installing loguru (0.7.2)132 • Installing mypy-extensions (1.0.0)133 • Installing pytest (7.2.0)134 • Installing pyyaml (6.0.2)135 • Installing requests (2.27.1)136 • Installing types-urllib3 (1.26.25.14)137 • Installing python-dateutil (2.8.2)138 • Installing identify (2.6.1)139 • Installing nodeenv (1.9.1)140 • Installing schemas (0.0.1.dev343+1a8a111)141 • Installing virtualenv (20.26.5)142 • Installing mypy (1.10.0)143 • Installing pre-commit (2.21.0)144 • Installing pytest-asyncio (0.21.0)145 • Installing ruff (0.4.9)146 • Installing types-python-dateutil (2.8.19.14)147 • Installing types-pyyaml (6.0.12.4)148 • Installing types-requests (2.31.0.2)149 • Installing pytest-xdist (3.1.0)150 • Installing beekeepy (0.0.0 /builds/hive/helpy/beekeepy)151Installing the current project: local-tools (0.0.0)152$ pip list153Package Version Editable project location154--------------------- -------------------- ------------------------------------155aiohttp 3.9.1156aiosignal 1.3.1157anyio 4.4.0158async-timeout 4.0.3159attrs 24.2.0160beekeepy 0.0.1.dev20+5fe4e80 /builds/hive/helpy/beekeepy161certifi 2024.8.30162cfgv 3.4.0163charset-normalizer 2.0.12164distlib 0.3.8165exceptiongroup 1.2.2166execnet 2.1.1167filelock 3.16.1168frozenlist 1.4.1169h11 0.14.0170h2 4.1.0171hpack 4.0.0172httpcore 0.16.3173httpx 0.23.3174hyperframe 6.0.1175identify 2.6.1176idna 3.10177iniconfig 2.0.0178local-tools 0.0.0 /builds/hive/helpy/tests/local-tools179loguru 0.7.2180msgspec 0.18.6181multidict 6.1.0182mypy 1.10.0183mypy-extensions 1.0.0184nodeenv 1.9.1185packaging 24.1186pip 23.3.1187platformdirs 4.3.6188pluggy 1.5.0189pre-commit 2.21.0190pydantic 1.10.18191pytest 7.2.0192pytest-asyncio 0.21.0193pytest-xdist 3.1.0194python-dateutil 2.8.2195PyYAML 6.0.2196requests 2.27.1197rfc3986 1.5.0198ruff 0.4.9199schemas 0.0.1.dev343+1a8a111200setuptools 69.0.2201six 1.16.0202sniffio 1.3.1203tomli 2.0.1204types-python-dateutil 2.8.19.14205types-PyYAML 6.0.12.4206types-requests 2.31.0.2207types-urllib3 1.26.25.14208typing_extensions 4.12.2209urllib3 1.26.20210virtualenv 20.26.5211yarl 1.11.1212[notice] A new release of pip is available: 23.3.1 -> 25.0.1213[notice] To update, run: pip install --upgrade pip214$ if [ -z "${PYPROJECT_CONFIG_PATH}" ]; then MAYBE_EXPLICIT_CONFIG=""; else MAYBE_EXPLICIT_CONFIG="--config ${PYPROJECT_CONFIG_PATH}"; fi215$ echo -e "${TXT_BLUE}Linting all sources with Ruff (check)...${TXT_CLEAR}" && ruff ${MAYBE_EXPLICIT_CONFIG} ${PACKAGES_TO_CHECK}216Linting all sources with Ruff (check)...217warning: `ruff <path>` is deprecated. Use `ruff check <path>` instead.218All checks passed!219$ echo -e "${TXT_BLUE}Linting all sources with Ruff (diff)...${TXT_CLEAR}" && ruff --diff ${MAYBE_EXPLICIT_CONFIG} ${PACKAGES_TO_CHECK}220Linting all sources with Ruff (diff)...221warning: `ruff <path>` is deprecated. Use `ruff check <path>` instead.223Job succeeded