jamulus icon indicating copy to clipboard operation
jamulus copied to clipboard

CI: Run Python syntax check

Open hoffie opened this issue 2 years ago • 5 comments

What is the current behaviour and why should it be changed?

We've got some Python scripts, but we don't have static code checkers active.

Describe possible approaches

We should have checks for

  • coding style
  • errors which can be detected statically

pyflakes?

Has this feature been discussed and generally agreed?

Roughly via Chat.

hoffie avatar Mar 23 '22 23:03 hoffie

What do the python scripts do? I mean are the part of workflows or what? How do they impact the project?

pljones avatar Mar 24 '22 08:03 pljones

$ find -not -path './libs/*' -name '*.py';
./.github/actions_scripts/analyse_git_reference.py
./tools/get_release_contributors.py
./tools/generate_json_rpc_docs.py

-> They affect the autobuild/releases, the release process and JSON-RPC doc updates.

hoffie avatar Mar 28 '22 08:03 hoffie

👍 OK, so whilst we don't have many, they're embedded in what we do. So yes, we do need to do this. Better to take any hit now from the style check we choose whilst there's not too much to fix...

pljones avatar Mar 28 '22 17:03 pljones

De-Tagged from 3.9.0. I think we should focus on getting the most important stuff in.

ann0see avatar Jun 14 '22 10:06 ann0see

Moving to 3.10.0 as it's notabug.

pljones avatar Aug 29 '22 16:08 pljones

No one assigned. Dropping milestone and moving to Triage.

pljones avatar Apr 19 '23 16:04 pljones

Re added as we have a PR

ann0see avatar Apr 20 '23 06:04 ann0see