Skip to content

Fix various typos throughout the codebase #229

Fix various typos throughout the codebase

Fix various typos throughout the codebase #229

Triggered via push July 7, 2024 15:08
Status Success
Total duration 32m 5s
Artifacts 7

CI_master.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 66 warnings
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/Assembly/CommandCreateView.py#L78
Possibly using variable 'Gui' before assignment (possibly-used-before-assignment)
Lint / Lint: src/Mod/Assembly/CommandCreateView.py#L423
Possibly using variable 'QtCore' before assignment (possibly-used-before-assignment)
Lint / Lint: src/Mod/Assembly/CommandCreateView.py#L446
Possibly using variable 'QMenu' before assignment (possibly-used-before-assignment)
Lint / Lint: src/Mod/BIM/nativeifc/ifc_tools.py#L193
Possibly using variable 'person' before assignment (possibly-used-before-assignment)
Lint / Lint: src/Mod/BIM/nativeifc/ifc_tools.py#L194
Possibly using variable 'organisation' before assignment (possibly-used-before-assignment)
Lint / Lint: src/Mod/BIM/nativeifc/ifc_tools.py#L1097
Possibly using variable 'tempshape' before assignment (possibly-used-before-assignment)
Lint / Lint: src/Mod/BIM/nativeifc/ifc_tools.py#L1185
Possibly using variable 'uprel' before assignment (possibly-used-before-assignment)
Lint / Lint: src/Mod/CAM/Path/Main/Gui/SimulatorGL.py#L61
Possibly using variable 'FreeCADGui' before assignment (possibly-used-before-assignment)
Lint / Lint: src/Mod/CAM/Path/Main/Gui/SimulatorGL.py#L73
Possibly using variable 'QtGui' before assignment (possibly-used-before-assignment)
Lint / Lint: src/Mod/CAM/Path/Main/Gui/SimulatorGL.py#L88
Possibly using variable 'QtCore' before assignment (possibly-used-before-assignment)
Lint / Lint
Process completed with exit code 1.
Lint / Lint: src/Mod/BIM/nativeifc/ifc_tools.py#L1201
anumber ==> a number
Lint / Lint: src/Mod/BIM/nativeifc/ifc_tools.py#L1203
anumber ==> a number
Lint / Lint: src/Mod/Measure/UtilsMeasure.py#L34
priorized ==> prioritized
Lint / Lint: src/Mod/BIM/utils/convertPsets.py#L23
"""This script converts a xml file containing pset definitions to a csv file. <-- trailing whitespace
Lint / Lint: src/Mod/CAM/Path/Main/Gui/SimulatorGL.py#L103
# sometimes a flat circle is without edge, so return edge with <-- trailing whitespace
Lint / Lint: src/Mod/CAM/Path/Main/Gui/SimulatorGL.py#L108
return edge, p2, p1 <-- trailing whitespace
Lint / Lint: src/Mod/CAM/Path/Main/Gui/SimulatorGL.py#L133
#the algo is based on locating the side edge that OCC creates on any revolved object <-- trailing whitespace
Lint / Lint: src/Mod/CAM/Path/Main/Gui/SimulatorGL.py#L180
<-- trailing whitespace
Lint / Lint: src/Mod/Part/parttests/ColorTransparencyTest.py#L49
<-- trailing whitespace
Lint / Lint: src/Mod/Robot/App/kdl_cp/joint.hpp#L133
/** <-- trailing whitespace
Lint / Lint: src/Mod/Robot/App/kdl_cp/joint.hpp#L134
* Request the Vector corresponding to the axis of a revolute joint. <-- trailing whitespace
Lint / Lint: src/Mod/Robot/App/kdl_cp/joint.hpp#L135
* <-- trailing whitespace
Lint / Lint: src/Mod/Robot/App/kdl_cp/joint.hpp#L136
* @return Vector. e.g (1,0,0) for RotX etc. <-- 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/CAM/Tests/TestLinuxCNCPost.py#L1
would reformat src/Mod/CAM/Tests/TestLinuxCNCPost.py
Lint / Lint: src/Mod/Measure/UtilsMeasure.py#L1
would reformat src/Mod/Measure/UtilsMeasure.py
Lint / Lint: src/Mod/Assembly/CommandCreateView.py#L1
would reformat src/Mod/Assembly/CommandCreateView.py
Lint / Lint: src/Mod/Part/parttests/ColorTransparencyTest.py#L1
would reformat src/Mod/Part/parttests/ColorTransparencyTest.py
Lint / Lint: src/Mod/Draft/draftgeoutils/offsets.py#L1
would reformat src/Mod/Draft/draftgeoutils/offsets.py
Lint / Lint: src/Mod/BIM/nativeifc/ifc_tools.py#L1
would reformat src/Mod/BIM/nativeifc/ifc_tools.py
Lint / Lint: src/Mod/Assembly/CommandCreateView.py#L161
Line too long (101/100) (line-too-long)
Lint / Lint: src/Mod/Assembly/CommandCreateView.py#L183
Line too long (110/100) (line-too-long)
Lint / Lint: src/Mod/Assembly/CommandCreateView.py#L188
Line too long (109/100) (line-too-long)
Lint / Lint: src/Mod/Assembly/CommandCreateView.py#L251
Line too long (125/100) (line-too-long)
Lint / Lint: src/Mod/Assembly/CommandCreateView.py#L350
Line too long (101/100) (line-too-long)
Lint / Lint: src/Mod/Assembly/CommandCreateView.py#L395
Line too long (110/100) (line-too-long)
Lint / Lint: src/Mod/Assembly/CommandCreateView.py#L400
Line too long (109/100) (line-too-long)
Lint / Lint: src/Mod/Assembly/CommandCreateView.py#L1
Missing module docstring (missing-module-docstring)
Lint / Lint: src/Mod/Assembly/CommandCreateView.py#L38
Import "import UtilsAssembly" should be placed at the top of the module (wrong-import-position)
Lint / Lint: src/Mod/Assembly/CommandCreateView.py#L39
Import "import Preferences" should be placed at the top of the module (wrong-import-position)
Lint / Lint: src/Gui/ParamHandler.h#L78
Single-parameter constructors should be marked explicit. [runtime/explicit] [5]
Lint / Lint: src/Gui/ParamHandler.h#L96
Single-parameter constructors should be marked explicit. [runtime/explicit] [5]
Lint / Lint: src/Mod/Assembly/Gui/ViewProviderAssembly.cpp#L620
Missing reference in range-for with non trivial type (std::basic_string<char>) [-Wclazy-range-loop-reference]
Lint / Lint: src/Mod/Measure/App/MeasureBase.cpp#L82
Missing reference in range-for with non trivial type (Py::Object) [-Wclazy-range-loop-reference]
Lint / Lint: src/Mod/Measure/App/MeasureBase.cpp#L137
Missing reference in range-for with non trivial type (Py::Object) [-Wclazy-range-loop-reference]
Lint / Lint: src/Gui/ParamHandler.h#L41
2 adjacent parameters of 'ParamKey' of similar type ('const char *') are easily swapped by mistake [bugprone-easily-swappable-parameters]
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
MacOS_13_Conda_Apple / Build
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 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.5.0 OSX/14.5 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 5fef5ecd58e910a9… → 5fef5ecd58e910a9…
MacOS_13_Conda_Apple / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(264): Download 714628 bytes {'User-Agent': 'conda/24.3.0 requests/2.31.0 CPython/3.10.14 Darwin/23.5.0 OSX/14.5 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 ebc6f293b9ac2e16… → ebc6f293b9ac2e16…
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.5.0 OSX/14.5 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 c25462d7872987b0… → c25462d7872987b0…
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 714628 bytes {'User-Agent': 'conda/24.3.0 requests/2.31.0 CPython/3.10.14 Linux/6.5.0-1022-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 ebc6f293b9ac2e16… → ebc6f293b9ac2e16…
Ubuntu_22-04_Conda / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(264): Download 1611887 bytes {'User-Agent': 'conda/24.3.0 requests/2.31.0 CPython/3.10.14 Linux/6.5.0-1022-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 35ca94a416fc6622… → 35ca94a416fc6622…
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-1022-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 6230084 bytes {'User-Agent': 'conda/24.3.0 requests/2.31.0 CPython/3.10.14 Linux/6.5.0-1022-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 bc5d95d686497f84… → bc5d95d686497f84…
Windows_Conda / Build
INFO conda.core.link:__init__(210): initializing UnlinkLinkTransaction with target_prefix: C:\Users\runneradmin\miniconda3 unlink_precs: link_precs: conda-forge/win-64::miniforge_console_shortcut-1.0-h57928b3_0 conda-forge/win-64::ca-certificates-2024.2.2-h56e8100_0 conda-forge/noarch::pybind11-abi-4-hd8ed1ab_3 conda-forge/win-64::python_abi-3.10-4_cp310 conda-forge/noarch::tzdata-2024a-h0c530f3_0 conda-forge/win-64::ucrt-10.0.22621.0-h57928b3_0 conda-forge/win-64::vc14_runtime-14.38.33130-h82b7239_18 conda-forge/win-64::vc-14.3-hcf57466_18 conda-forge/win-64::vs2015_runtime-14.38.33130-hcb4865c_18 conda-forge/win-64::bzip2-1.0.8-hcfcfb64_5 conda-forge/win-64::fmt-10.2.1-h181d51b_0 conda-forge/win-64::libffi-3.4.2-h8ffe710_5 conda-forge/win-64::libiconv-1.17-hcfcfb64_2 conda-forge/win-64::libsqlite-3.45.2-hcfcfb64_0 conda-forge/win-64::libzlib-1.2.13-hcfcfb64_5 conda-forge/win-64::lz4-c-1.9.4-hcfcfb64_0 conda-forge/win-64::lzo-2.10-he774522_1000 conda-forge/win-64::openssl-3.2.1-hcfcfb64_1 conda-forge/win-64::reproc-14.2.4.post0-hcfcfb64_1 conda-forge/win-64::tk-8.6.13-h5226925_1 conda-forge/win-64::xz-5.2.6-h8d14728_0 conda-forge/win-64::yaml-cpp-0.8.0-h63175ca_0 conda-forge/win-64::krb5-1.21.2-heb0366b_0 conda-forge/win-64::libsolv-0.7.28-h12be248_2 conda-forge/win-64::libssh2-1.11.0-h7dfc565_0 conda-forge/win-64::libxml2-2.12.6-hc3477c8_1 conda-forge/win-64::python-3.10.14-h4de0772_0_cpython conda-forge/win-64::reproc-cpp-14.2.4.post0-h63175ca_1 conda-forge/win-64::zstd-1.5.5-h12be248_0 conda-forge/win-64::libarchive-3.7.2-h313118b_1 conda-forge/win-64::libcurl-8.7.1-hd5e4a3a_0 conda-forge/win-64::menuinst-2.0.2-py310h00ffb61_0 conda-forge/noarch::archspec-0.2.3-pyhd8ed1ab_0 conda-forge/noarch::boltons-24.0.0-pyhd8ed1ab_0 conda-forge/win-64::brotli-python-1.1.0-py310h00ffb61_1 conda-forge/noarch::charset-normalizer-3.3.2-pyhd8ed1ab_0 conda-forge/noarch::distro-1.9.0-pyhd8ed1ab_0 conda-forge/win-64::jsonpointer-2.4-py310h5588dad_3 conda-forge/win-64::libmamba-1.5.8-h3f09ed1_0 conda-forge/noarch::packaging-24.0-pyhd8ed1ab_0 conda-forge/noarch::platformdirs-4.2.0-pyhd8ed1ab_0 conda-forge/noarch::pluggy-1.4.0-pyhd8ed1ab_0 conda-forge/win-64::pycosat-0.6.6-py310h8d17308_0 conda-forge/win-64::ruamel.yaml.clib-0.2.8-py310h8d17308_0 conda-forge/noarch::setuptools-69.5.1-pyhd8ed1ab_0 conda-forge/noarch::truststore-0.8.0-pyhd8ed1ab_0 conda-forge/noarch::jsonpatch-1.33-pyhd8ed1ab_0 conda-forge/win-64::libmambapy-1.5.8-py310h04f2035_0 conda-forge/win-64::ruamel.yaml-0.18.6-py310h8d17308_0 conda-forge/noarch::certifi-2024.2.2-pyhd8ed1ab_0 conda-forge/noarch::colorama-0.4.6-pyhd8ed1ab_0 conda-forge/noarch::tqdm-4.66.2-pyhd8ed1ab_0 conda-forge/noarch::conda-libmamba-solver-24.1.0-pyhd8ed1ab_0 conda-forge/noarch::idna-3.6-pyhd8ed1ab_0 conda-forge/noarch::pycparser-2.22-pyhd8ed1ab_0 conda-forge/win-64::cffi-1.16.0-py310h8d17308_0 conda-forge/win-64::zstandard-0.22.0-py310h0009e47_0 conda-forge/noarch::conda-package-handling-2.2.0-pyh38be061_0 conda-forge/noarch::conda-package-streaming-0.9.0-pyhd8ed1ab_0 conda-forge/noarch::requests-2.31.0-pyhd8ed1ab_0 conda-forge/win-64::conda-24.3.0-py310h5588dad_0 conda-forge/win-64::mamba-1.5.8-py310hd9d798f_0 conda-forge/noarch::wheel-0.43.0-pyhd8ed1ab_1 conda-forge/noarch::win_inet_pton-1.1.0-pyhd8ed1ab_6 conda-forge/noarch::pip-24.0-pyhd8ed1ab_0 conda-forge/noarch::pysocks-1.7.1-pyh0701188_6 conda-forge/noarch::urllib3-2.2.1-pyhd8ed1ab_0
Windows_Conda / Build
INFO conda.core.link:_execute_actions(998): ===> LINKING PACKAGE: conda-forge::ca-certificates-2024.2.2-h56e8100_0 <=== prefix=C:\Users\runneradmin\miniconda3 source=C:\Users\runneradmin\miniconda3\pkgs\ca-certificates-2024.2.2-h56e8100_0
Windows_Conda / Build
INFO conda.core.link:_execute_actions(998): ===> LINKING PACKAGE: conda-forge::pybind11-abi-4-hd8ed1ab_3 <=== prefix=C:\Users\runneradmin\miniconda3 source=C:\Users\runneradmin\miniconda3\pkgs\pybind11-abi-4-hd8ed1ab_3
Windows_Conda / Build
INFO conda.core.link:_execute_actions(998): ===> LINKING PACKAGE: conda-forge::python_abi-3.10-4_cp310 <=== prefix=C:\Users\runneradmin\miniconda3 source=C:\Users\runneradmin\miniconda3\pkgs\python_abi-3.10-4_cp310
Windows_Conda / Build
INFO conda.core.link:_execute_actions(998): ===> LINKING PACKAGE: conda-forge::tzdata-2024a-h0c530f3_0 <=== prefix=C:\Users\runneradmin\miniconda3 source=C:\Users\runneradmin\miniconda3\pkgs\tzdata-2024a-h0c530f3_0
Windows_Conda / Build
INFO conda.core.link:_execute_actions(998): ===> LINKING PACKAGE: conda-forge::ucrt-10.0.22621.0-h57928b3_0 <=== prefix=C:\Users\runneradmin\miniconda3 source=C:\Users\runneradmin\miniconda3\pkgs\ucrt-10.0.22621.0-h57928b3_0
Windows_Conda / Build
INFO conda.core.link:_execute_actions(998): ===> LINKING PACKAGE: conda-forge::vc14_runtime-14.38.33130-h82b7239_18 <=== prefix=C:\Users\runneradmin\miniconda3 source=C:\Users\runneradmin\miniconda3\pkgs\vc14_runtime-14.38.33130-h82b7239_18
Windows_Conda / Build
INFO conda.core.link:_execute_actions(998): ===> LINKING PACKAGE: conda-forge::vc-14.3-hcf57466_18 <=== prefix=C:\Users\runneradmin\miniconda3 source=C:\Users\runneradmin\miniconda3\pkgs\vc-14.3-hcf57466_18
Windows_Conda / Build
INFO conda.core.link:_execute_actions(998): ===> LINKING PACKAGE: conda-forge::vs2015_runtime-14.38.33130-hcb4865c_18 <=== prefix=C:\Users\runneradmin\miniconda3 source=C:\Users\runneradmin\miniconda3\pkgs\vs2015_runtime-14.38.33130-hcb4865c_18
Windows_Conda / Build
INFO conda.core.link:_execute_actions(998): ===> LINKING PACKAGE: conda-forge::bzip2-1.0.8-hcfcfb64_5 <=== prefix=C:\Users\runneradmin\miniconda3 source=C:\Users\runneradmin\miniconda3\pkgs\bzip2-1.0.8-hcfcfb64_5

Artifacts

Produced during runtime
Name Size
Lint-9828279143-Logs Expired
35.4 KB
MacOS_13_Conda_Apple-9828279143-Logs Expired
43.4 KB
Prepare-9828279143-Logs Expired
7.66 KB
Ubuntu_20-04-9828279143-Logs Expired
177 KB
Ubuntu_22-04_Conda-9828279143-Logs Expired
237 KB
Windows-9828279143-Logs Expired
1.74 MB
Windows_Conda-9828279143-Logs Expired
1.44 MB