Florian La Roche and Julius Pfrommer
853f148659
refactor(tools): Use pylint suggestions to refactor python code ( #7016 )
...
Use pylint suggestions to refactor python code.
Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com >
Co-authored-by: Julius Pfrommer <jpfr@users.noreply.github.com >
2025-01-15 17:04:26 +01:00
Tomasz Kłoczko
67b25bcb2b
refactor(tools): Drop python<=3.7 support ( #6525 )
...
* drop python<=3.7 support
Filter all python code over `pyupgrade --py38-plus`.
Signed-off-by: Tomasz Kłoczko <kloczek@github.com >
* filter all code over `ruff` as well
Signed-off-by: Tomasz Kłoczko <kloczek@github.com >
---------
Signed-off-by: Tomasz Kłoczko <kloczek@github.com >
2024-06-04 13:54:05 +02:00
Julius Pfrommer
d066fbacc6
refactor(doc): Prepare StatusCode generation for new doc structure
2024-03-18 07:43:54 +01:00
Julius Pfrommer
1b26b5c260
refactor(doc): Remove quotation marks from statuscode descriptions
2024-03-18 07:43:54 +01:00
Julius Pfrommer
4d5ceb378c
Merge remote-tracking branch 'origin/1.3' into merge_13_master_12
2023-03-26 10:21:49 +02:00
Mojca Miklavec
e312f6f048
Explicitly set encoding to UTF-8 when reading statuscodes csv file ( #56929 )
2023-03-19 09:06:10 +01:00
Julius Pfrommer
8a3b84eae5
Merge remote-tracking branch 'origin/1.3' into merge_13_master_6
2022-10-26 13:59:13 +02:00
Joe Riemersma
4091c86e34
fix(core): DataValue statuscodes checks ignore additional information bits ( #5375 )
...
* fix(core): DataValue statuscodes checks ignore additional information bits
* fix(core): Update UA_StatusCode_name to use UA_StatusCode_equal
* fix(core): rename UA_StatusCode_equal to UA_StatusCode_isEqualTop and update function docs
* fix(core): changed statuscode message invlaid status code value to real invalid statuscode
* fix(core): fix windows clang build
2022-10-20 08:38:46 +02:00
Stefan Profanter
73c5bff7cc
fix(build): Use #!/usr/bin/env python3 instead of #!/usr/bin/env python ( #4862 )
...
The newer Ubuntu since 20.04 do not have the `python` binary.
There one explicitly needs to choose between `python2` or `python3`.
See also:
https://askubuntu.com/q/1296790/141958
2021-12-20 12:09:38 +01:00
Julius Pfrommer
8c465268bb
fix(core): Add a workaround for old version of the statuscodes schema
2021-11-11 07:45:27 +01:00
Julius Pfrommer
9e7e1956d3
build(core): Don't leak file system information into the amalgamated build
2021-05-28 18:01:28 +02:00
Götz Görisch
45f739bd61
fix(deps): remove manual UA_STATUSCODE_GOOD generation
2021-02-03 20:35:38 +01:00
Julius Pfrommer
2c66df65d8
Generate StatusCode definitions with nicer docs formatting
2019-04-08 09:42:46 +02:00
Julius Pfrommer
c9c818868f
Move header files to a more unix-like structure
...
This commit drops the 'ua_' prefix and changes the public includes
to the form `#include <open62541/server.h>` instead of the old
`#include <ua_server.h>`
2019-03-21 20:16:31 +01:00
Stefan Profanter
81148ab1eb
Fix various python code quality issues
...
See also https://lgtm.com/projects/g/open62541/open62541/alerts
2018-11-28 16:12:12 +01:00
Julius Pfrommer
d4f40c6790
Remove functionality deprecated after 0.3
2018-04-11 19:40:46 +02:00
Julius Pfrommer
71a2d50101
Generate statuscode and nodeid description from schema files
2018-04-02 01:37:12 +02:00
StalderT
c586ad73f5
fix nodesetcompiler for cpplint
2018-02-05 22:41:09 +01:00
Julius Pfrommer
c4c2c6f316
set executable bit on python scripts
2018-01-06 10:40:42 +01:00
Julius Pfrommer
57eef24151
make generator-tools work with python3
2017-10-29 16:00:00 +01:00
Stefan Profanter
f94a6280f5
Fix compilation with python3 and add python3 to CI
...
Fix #1213
2017-09-16 22:05:13 +02:00
Stefan Profanter
d862b1ee1b
Use correct shebang for python scripts
2017-09-09 00:47:32 +02:00
Julius Pfrommer
9276e89cd0
deprecate UA_StatusCode_explanation; document build options
2017-07-25 00:18:28 +02:00
FlorianPalm
810db94bca
added MPL v2 license to c/h/py files
2017-02-12 08:07:27 +01:00
Lorenz Haas
71e9f80031
Be afraid of premature pessimization, use pre(in|de)crement ;D
2016-11-04 13:27:30 +01:00
Julius Pfrommer
6529137c26
enable statuscode descriptions by default; split functionality across
...
less files
2016-10-14 02:02:12 +02:00