Skip to content

[pre-commit.ci] auto fixes from pre-commit.com hooks #69

[pre-commit.ci] auto fixes from pre-commit.com hooks

[pre-commit.ci] auto fixes from pre-commit.com hooks #69

Triggered via push August 30, 2024 21:39
Status Failure
Total duration 2h 9m 51s
Artifacts 8

CI_master.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 67 warnings
Windows / Build
Process completed with exit code 1.
Lint / Lint
Process completed with exit code 1.
Lint / Lint
Process completed with exit code 1.
Lint / Lint
Process completed with exit code 1.
Lint / Lint: src/Mod/BIM/ArchCommands.py#L119
Possibly using variable 'x' before assignment (possibly-used-before-assignment)
Lint / Lint: src/Mod/BIM/ArchCommands.py#L305
The raise statement is not inside an except clause (misplaced-bare-raise)
Lint / Lint: src/Mod/BIM/ArchCommands.py#L310
The raise statement is not inside an except clause (misplaced-bare-raise)
Lint / Lint: src/Mod/BIM/ArchCommands.py#L792
Possibly using variable 'FreeCADGui' before assignment (possibly-used-before-assignment)
Lint / Lint: src/Mod/BIM/ArchCommands.py#L880
Possibly using variable 'QtGui' before assignment (possibly-used-before-assignment)
Lint / Lint: src/Mod/BIM/ArchCommands.py#L992
Possibly using variable 'QtCore' before assignment (possibly-used-before-assignment)
Lint / Lint: src/Mod/BIM/ArchWall.py#L287
Instance of 'list' has no 'fuse' member (no-member)
Lint / Lint: src/Mod/BIM/ArchWall.py#L623
Module 'ArchSketchObject' has no 'sortSketchWidth' member (no-member)
Lint / Lint: src/Mod/BIM/ArchWall.py#L668
Module 'ArchSketchObject' has no 'sortSketchAlign' member (no-member)
Lint / Lint: src/Mod/BIM/ArchWall.py#L876
Possibly using variable 'edgeNum' before assignment (possibly-used-before-assignment)
WrapUp / WrapUp
$GITHUB_STEP_SUMMARY upload aborted, supports content up to a size of 1024k, got 26662k. For more information see: https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-markdown-summary
MacOS_13_Conda_Apple / Build
INFO conda.conda_libmamba_solver.solver:_log_info(352): conda version: 24.3.0 INFO conda.conda_libmamba_solver.solver:_log_info(353): conda-libmamba-solver version: 24.1.0
MacOS_13_Conda_Apple / Build
INFO conda.conda_libmamba_solver.solver:_log_info(354): libmambapy version: 1.5.8 INFO conda.conda_libmamba_solver.solver:_log_info(355): Target prefix: '/Users/runner/work/FreeCAD/FreeCAD/.conda/freecad'
MacOS_13_Conda_Apple / Build
INFO conda.conda_libmamba_solver.solver:_log_info(356): Command: ['/Users/runner/miniconda3/condabin/mamba', 'update', '--prefix', '.conda/freecad', '--file', 'conda/conda-env.yaml']
MacOS_13_Conda_Apple / Build
info libmamba Reading repodata.json file "/var/folders/m4/5dz5h26x329cqq4fx333f8gm0000gn/T/tmpddptg5gc.json" for repo installed
MacOS_13_Conda_Apple / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(264): Download 0 bytes {'User-Agent': 'conda/24.3.0 requests/2.31.0 CPython/3.10.14 Darwin/23.6.0 OSX/14.6.1 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'} INFO conda.gateways.repodata.jlap.fetch:request_url_jlap_state(431): Apply 0 patches 5fef5ecd58e910a9… → 5fef5ecd58e910a9…
MacOS_13_Conda_Apple / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(264): Download 715638 bytes {'User-Agent': 'conda/24.3.0 requests/2.31.0 CPython/3.10.14 Darwin/23.6.0 OSX/14.6.1 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'}
MacOS_13_Conda_Apple / Build
INFO conda.gateways.repodata.jlap.fetch:request_url_jlap_state(431): Apply 0 patches 63cd651a378e2a3f… → 63cd651a378e2a3f…
MacOS_13_Conda_Apple / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(264): Download 2638154 bytes {'User-Agent': 'conda/24.3.0 requests/2.31.0 CPython/3.10.14 Darwin/23.6.0 OSX/14.6.1 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'}
MacOS_13_Conda_Apple / Build
INFO conda.gateways.repodata.jlap.fetch:request_url_jlap_state(431): Apply 0 patches e9fa408210d61dd7… → e9fa408210d61dd7…
MacOS_13_Conda_Apple / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(264): Download 2050706 bytes {'User-Agent': 'conda/24.3.0 requests/2.31.0 CPython/3.10.14 Darwin/23.6.0 OSX/14.6.1 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'}
Ubuntu_22-04_Conda / Build
INFO conda.conda_libmamba_solver.solver:_log_info(352): conda version: 24.3.0 INFO conda.conda_libmamba_solver.solver:_log_info(353): conda-libmamba-solver version: 24.1.0
Ubuntu_22-04_Conda / Build
INFO conda.conda_libmamba_solver.solver:_log_info(354): libmambapy version: 1.5.8 INFO conda.conda_libmamba_solver.solver:_log_info(355): Target prefix: '/home/runner/work/FreeCAD/FreeCAD/.conda/freecad' INFO conda.conda_libmamba_solver.solver:_log_info(356): Command: ['/home/runner/miniconda3/condabin/mamba', 'update', '--prefix', '.conda/freecad', '--file', 'conda/conda-env.yaml']
Ubuntu_22-04_Conda / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(264): Download 715638 bytes {'User-Agent': 'conda/24.3.0 requests/2.31.0 CPython/3.10.14 Linux/6.5.0-1025-azure ubuntu/22.04.4 glibc/2.35 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'}
Ubuntu_22-04_Conda / Build
INFO conda.gateways.repodata.jlap.fetch:request_url_jlap_state(431): Apply 0 patches 63cd651a378e2a3f… → 63cd651a378e2a3f…
Ubuntu_22-04_Conda / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(264): Download 2050706 bytes {'User-Agent': 'conda/24.3.0 requests/2.31.0 CPython/3.10.14 Linux/6.5.0-1025-azure ubuntu/22.04.4 glibc/2.35 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'}
Ubuntu_22-04_Conda / Build
INFO conda.gateways.repodata.jlap.fetch:request_url_jlap_state(431): Apply 0 patches c25462d7872987b0… → c25462d7872987b0…
Ubuntu_22-04_Conda / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(264): Download 1613518 bytes {'User-Agent': 'conda/24.3.0 requests/2.31.0 CPython/3.10.14 Linux/6.5.0-1025-azure ubuntu/22.04.4 glibc/2.35 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'}
Ubuntu_22-04_Conda / Build
INFO conda.gateways.repodata.jlap.fetch:request_url_jlap_state(431): Apply 0 patches c5cc347082717df0… → c5cc347082717df0…
Ubuntu_22-04_Conda / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(264): Download 6356443 bytes {'User-Agent': 'conda/24.3.0 requests/2.31.0 CPython/3.10.14 Linux/6.5.0-1025-azure ubuntu/22.04.4 glibc/2.35 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'}
Ubuntu_22-04_Conda / Build
INFO conda.gateways.repodata.jlap.fetch:request_url_jlap_state(431): Apply 0 patches 30609bc8a6adbcfb… → 30609bc8a6adbcfb…
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.conda_libmamba_solver.solver:_log_info(352): conda version: 24.3.0 INFO conda.conda_libmamba_solver.solver:_log_info(353): conda-libmamba-solver version: 24.1.0
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.conda_libmamba_solver.solver:_log_info(354): libmambapy version: 1.5.8 INFO conda.conda_libmamba_solver.solver:_log_info(355): Target prefix: '/home/runner/work/FreeCAD/FreeCAD/.conda/freecad' INFO conda.conda_libmamba_solver.solver:_log_info(356): Command: ['/home/runner/miniconda3/condabin/mamba', 'update', '--prefix', '.conda/freecad', '--file', 'conda/conda-env-qt6.yaml']
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(264): Download 715638 bytes {'User-Agent': 'conda/24.3.0 requests/2.31.0 CPython/3.10.14 Linux/6.5.0-1025-azure ubuntu/22.04.4 glibc/2.35 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'}
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.gateways.repodata.jlap.fetch:request_url_jlap_state(431): Apply 0 patches 63cd651a378e2a3f… → 63cd651a378e2a3f…
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(264): Download 1613518 bytes {'User-Agent': 'conda/24.3.0 requests/2.31.0 CPython/3.10.14 Linux/6.5.0-1025-azure ubuntu/22.04.4 glibc/2.35 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'}
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.gateways.repodata.jlap.fetch:request_url_jlap_state(431): Apply 0 patches c5cc347082717df0… → c5cc347082717df0…
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(264): Download 2050706 bytes {'User-Agent': 'conda/24.3.0 requests/2.31.0 CPython/3.10.14 Linux/6.5.0-1025-azure ubuntu/22.04.4 glibc/2.35 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'}
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.gateways.repodata.jlap.fetch:request_url_jlap_state(431): Apply 0 patches c25462d7872987b0… → c25462d7872987b0…
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(264): Download 6356443 bytes {'User-Agent': 'conda/24.3.0 requests/2.31.0 CPython/3.10.14 Linux/6.5.0-1025-azure ubuntu/22.04.4 glibc/2.35 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'}
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.gateways.repodata.jlap.fetch:request_url_jlap_state(431): Apply 0 patches 30609bc8a6adbcfb… → 30609bc8a6adbcfb…
Lint / Lint: src/Base/StackWalker.cpp#L900
ptd ==> pdf
Lint / Lint: src/Base/StackWalker.cpp#L901
ptd ==> pdf
Lint / Lint: src/Base/StackWalker.cpp#L902
ptd ==> pdf
Lint / Lint: src/Mod/Part/Gui/DlgProjectionOnSurface.cpp#L1148
placment ==> placement
Lint / Lint: src/Mod/Part/Gui/DlgProjectionOnSurface.cpp#L1149
placment ==> placement
Lint / Lint: src/Mod/Part/Gui/DlgProjectionOnSurface.cpp#L1150
placment ==> placement
Lint / Lint: src/Mod/CAM/PathSimulator/AppGL/GuiDisplay.cpp#L200
bool mouseCursorContained = <-- trailing whitespace
Lint / Lint: src/Mod/CAM/PathSimulator/AppGL/Shader.cpp#L422
FragPos = viewPos.xyz; <-- trailing whitespace
Lint / Lint: src/Mod/CAM/PathSimulator/AppGL/Shader.cpp#L443
{ <-- trailing whitespace
Lint / Lint: src/Mod/CAM/PathSimulator/AppGL/Shader.cpp#L471
const vec2 noiseScale = vec2(800.0/4.0, 600.0/4.0); <-- trailing whitespace
Lint / Lint: src/Mod/CAM/PathSimulator/AppGL/Shader.cpp#L491
samplePos = fragPos + samplePos * radius; <-- trailing whitespace
Lint / Lint: src/Mod/CAM/PathSimulator/AppGL/Shader.cpp#L530
{ <-- trailing whitespace
Lint / Lint: src/Mod/CAM/PathSimulator/AppGL/Shader.cpp#L545
vec3 halfwayDir = normalize(lightDir + viewDir); <-- trailing whitespace
Lint / Lint: src/Mod/CAM/PathSimulator/AppGL/Shader.cpp#L573
{ <-- trailing whitespace
Lint / Lint: src/Mod/CAM/PathSimulator/AppGL/Shader.cpp#L581
vec3 lighting = lightAmbient * Diffuse; <-- trailing whitespace
Lint / Lint: src/Mod/CAM/PathSimulator/AppGL/Shader.cpp#L587
vec3 halfwayDir = normalize(lightDir + viewDir); <-- trailing whitespace
Lint / Lint: src/Mod/CAM/Path/Main/Gui/SimulatorGL.py#L1
would reformat src/Mod/CAM/Path/Main/Gui/SimulatorGL.py
Lint / Lint: src/Mod/Draft/draftgeoutils/offsets.py#L1
would reformat src/Mod/Draft/draftgeoutils/offsets.py
Lint / Lint: src/Mod/AddonManager/AddonManager.py#L1
would reformat src/Mod/AddonManager/AddonManager.py
Lint / Lint: src/Mod/Measure/MeasureCOM.py#L1
would reformat src/Mod/Measure/MeasureCOM.py
Lint / Lint: src/Mod/Draft/draftviewproviders/view_base.py#L1
would reformat src/Mod/Draft/draftviewproviders/view_base.py
Lint / Lint: src/Mod/PartDesign/PartDesignTests/TestShapeBinder.py#L1
would reformat src/Mod/PartDesign/PartDesignTests/TestShapeBinder.py
Lint / Lint: src/Mod/BIM/ArchWall.py#L1
would reformat src/Mod/BIM/ArchWall.py
Lint / Lint: src/Mod/BIM/ArchCommands.py#L1
would reformat src/Mod/BIM/ArchCommands.py
Lint / Lint: src/Mod/AddonManager/AddonManager.py#L1
Missing module docstring (missing-module-docstring)
Lint / Lint: src/Mod/AddonManager/AddonManager.py#L133
Using open without explicitly specifying an encoding (unspecified-encoding)
Lint / Lint: src/Mod/AddonManager/AddonManager.py#L107
Too many branches (16/12) (too-many-branches)
Lint / Lint: src/Mod/AddonManager/AddonManager.py#L161
Too many instance attributes (26/15) (too-many-instance-attributes)
Lint / Lint: src/Mod/AddonManager/AddonManager.py#L226
Using the global statement (global-statement)
Lint / Lint: src/Mod/AddonManager/AddonManager.py#L249
Too many statements (54/50) (too-many-statements)
Lint / Lint: src/Mod/AddonManager/AddonManager.py#L365
Too many branches (16/12) (too-many-branches)
Lint / Lint: src/Mod/AddonManager/AddonManager.py#L504
Missing function or method docstring (missing-function-docstring)
Lint / Lint: src/Mod/AddonManager/AddonManager.py#L548
Missing function or method docstring (missing-function-docstring)
Lint / Lint: src/Mod/AddonManager/AddonManager.py#L559
Missing function or method docstring (missing-function-docstring)
Lint / Lint: src/Gui/Application.cpp#L2146
QTimer::singleShot(0, &mw, SLOT(delayedStartup())); <--Consider using Functor-Based Connections
Lint / Lint: src/Mod/Drawing/Gui/DrawingView.cpp#L221
connect(m_backgroundAction, SIGNAL(toggled(bool)), m_view, SLOT(setViewBackground(bool)));

Artifacts

Produced during runtime
Name Size
Lint-10639490930-Logs Expired
1.79 MB
MacOS_13_Conda_Apple-10639490930-Logs Expired
44.8 KB
Prepare-10639490930-Logs Expired
194 KB
Ubuntu_20-04-10639490930-Logs Expired
180 KB
Ubuntu_22-04_Conda-10639490930-Logs Expired
244 KB
Ubuntu_22-04_Conda-Qt6-10639490930-Logs Expired
245 KB
Ubuntu_22-04_Conda-Qt6-10639490930-report.md Expired
3.76 KB
Windows-10639490930-Logs Expired
594 KB