Skip to content

Cleaning code

Cleaning code #8

Triggered via pull request January 30, 2024 09:05
Status Failure
Total duration 41s
Billable time 1m
Artifacts

trunk.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 2 warnings
flake8(F841): flextrees/pool/primitives_fedid3.py#L311
[new] local variable 'client_id' is assigned to but never used
ruff(F841): flextrees/pool/primitives_fedid3.py#L311
[new] Local variable `client_id` is assigned to but never used
ruff(F401): flextrees/utils/utils_trees.py#L5
[new] `numpy.lib.math` imported but unused
flake8(F401): flextrees/utils/utils_trees.py#L5
[new] 'numpy.lib.math' imported but unused
flake8(E501): flextrees/utils/utils_trees.py#L133
[new] line too long (80 > 79 characters)
isort: flextrees/datasets/tabular_datasets.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
black: flextrees/pool/aggregators_fedid3.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: flextrees/utils/utils_trees.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
black: flextrees/utils/utils_trees.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
black: flextrees/datasets/tabular_datasets.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: flextrees/pool/aggregators_fedid3.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
black: flextrees/pool/primitives_fedid3.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: flextrees/pool/primitives_fedid3.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
build
Process completed with exit code 1.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/