Commit Graph

7 Commits

Author SHA1 Message Date
Florian La Roche 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
Thomas Gusenleitner 8e04876527 fix(nc) set missing executeable flag on tools/generate_nodeid_header.py (#5090) 2022-05-04 09:02:40 +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 9e7e1956d3 build(core): Don't leak file system information into the amalgamated build 2021-05-28 18:01:28 +02: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
Stefan Profanter fd304ae645 Allow to use NS ID script by adding additional parameter for NS name
This change allows to use the generate_nodeid_header script to create a
header file which contains defines for custom nodesets as shown in the
example.
2018-06-03 19:27:54 +02:00