Skip to content

Clean ifc_tools.py #1686

Clean ifc_tools.py

Clean ifc_tools.py #1686

Triggered via push February 3, 2025 23:52
Status Success
Total duration 2h 9m 59s
Artifacts 8

CI_master.yml

on: push
Prepare  /  Prepare
7s
Prepare / Prepare
Matrix: Pixi / build_with_pixi
WrapUp  /  WrapUp
4s
WrapUp / WrapUp
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 40 warnings
Lint / Lint
Process completed with exit code 1.
Lint / Lint
Process completed with exit code 1.
Pixi / build_with_pixi (windows-latest)
No files were found with the provided path: D:\a\FreeCAD\FreeCAD/logs/ /var/crash/*FreeCAD*. No artifacts will be uploaded.
Pixi / build_with_pixi (windows-latest)
'=': conversion from 'size_t' to '_Ty', possible loss of data
Pixi / build_with_pixi (windows-latest)
No files were found with the provided path: D:\a\FreeCAD\FreeCAD/report/Pixi-13125214734-windows-latest-report.md. No artifacts will be uploaded.
Ubuntu_20-04 / Build
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Ubuntu_20-04 / Build
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Lint / Lint: src/Mod/BIM/nativeifc/ifc_tools.py#L1464
anumber ==> a number
Lint / Lint: src/Mod/BIM/nativeifc/ifc_tools.py#L1466
anumber ==> a number
Lint / Lint: src/Mod/BIM/nativeifc/ifc_tools.py#L1
would reformat src/Mod/BIM/nativeifc/ifc_tools.py
Lint / Lint: src/Mod/BIM/nativeifc/ifc_tools.py#L459
Line too long (101/100) (line-too-long)
Lint / Lint: src/Mod/BIM/nativeifc/ifc_tools.py#L1207
Unnecessary parens after 'not' keyword (superfluous-parens)
Lint / Lint: src/Mod/BIM/nativeifc/ifc_tools.py#L166
TODO configure version history (fixme)
Lint / Lint: src/Mod/BIM/nativeifc/ifc_tools.py#L241
TODO allow to set this at creation, from the current FreeCAD units schema (fixme)
Lint / Lint: src/Mod/BIM/nativeifc/ifc_tools.py#L246
TODO add user history (fixme)
Lint / Lint: src/Mod/BIM/nativeifc/ifc_tools.py#L912
TODO fix attributes (fixme)
Lint / Lint: src/Mod/BIM/nativeifc/ifc_tools.py#L74
Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
Lint / Lint: src/Mod/BIM/nativeifc/ifc_tools.py#L95
Unused variable 'project' (unused-variable)
Lint / Lint: src/Mod/BIM/nativeifc/ifc_tools.py#L107
Unused variable 'storey' (unused-variable)
Lint / Lint: src/Mod/BIM/nativeifc/ifc_tools.py#L128
Unused variable 'project' (unused-variable)
Pixi / build_with_pixi (ubuntu-latest): src/CXX/Python3/Objects.hxx#L1787
'Py_UNICODE' is deprecated [-Wdeprecated-declarations]
Pixi / build_with_pixi (ubuntu-latest): src/CXX/Python3/Objects.hxx#L1788
'Py_UNICODE' is deprecated [-Wdeprecated-declarations]
Pixi / build_with_pixi (ubuntu-latest): src/CXX/Python3/Objects.hxx#L1983
'Py_UNICODE' is deprecated [-Wdeprecated-declarations]
Pixi / build_with_pixi (ubuntu-latest): src/CXX/Python3/Objects.hxx#L2029
'Py_UNICODE' is deprecated [-Wdeprecated-declarations]
Pixi / build_with_pixi (ubuntu-latest): src/CXX/Python3/Objects.hxx#L1992
'Py_UNICODE' is deprecated [-Wdeprecated-declarations]
Pixi / build_with_pixi (ubuntu-latest): src/CXX/Python3/Objects.hxx#L2014
'Py_UNICODE' is deprecated [-Wdeprecated-declarations]
Windows / Build
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Windows / Build
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Pixi / build_with_pixi (macos-latest): src/3rdParty/libE57Format/src/SourceDestBufferImpl.cpp#L491
implicit conversion from 'const int64_t' (aka 'const long long') to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
Pixi / build_with_pixi (macos-latest): src/3rdParty/libE57Format/src/SourceDestBufferImpl.cpp#L203
implicit conversion from 'const int32_t' (aka 'const int') to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
Pixi / build_with_pixi (macos-latest): src/3rdParty/libE57Format/src/SourceDestBufferImpl.cpp#L215
implicit conversion from 'const uint32_t' (aka 'const unsigned int') to 'float' changes value from 4294967295 to 4294967296 [-Wimplicit-const-int-float-conversion]
Pixi / build_with_pixi (macos-latest): src/3rdParty/libE57Format/src/SourceDestBufferImpl.cpp#L227
implicit conversion from 'const int64_t' (aka 'const long long') to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
Pixi / build_with_pixi (macos-latest): src/3rdParty/libE57Format/src/SourceDestBufferImpl.cpp#L227
implicit conversion from 'const int64_t' (aka 'const long long') to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
Pixi / build_with_pixi (macos-latest): src/CXX/Python3/Objects.hxx#L1787
'Py_UNICODE' is deprecated [-Wdeprecated-declarations]

Artifacts

Produced during runtime
Name Size
Lint-13125214734-Logs
7.05 KB
Pixi-13125214734-macos-latest-Logs
45.7 KB
Pixi-13125214734-macos-latest-report.md
406 Bytes
Pixi-13125214734-ubuntu-latest-Logs
45.8 KB
Pixi-13125214734-ubuntu-latest-report.md
587 Bytes
Prepare-13125214734-Logs
4.69 KB
Ubuntu_20-04-13125214734-Logs
180 KB
Windows-13125214734-Logs
1.65 MB