ISISComputingGroup / IBEX

Top level repository for IBEX stories
4 stars 2 forks source link

Review Python coding conventions, update as necessary #8378

Open zsoltkebel opened 1 month ago

zsoltkebel commented 1 month ago

As a developer I would like to have an agreed on central python coding convention definition.

I suggest using ruff for linting as it is super fast and supports linting, formatting. I suggest this file as a starting point: https://github.com/ISISComputingGroup/IBEX-device-generator-new/blob/main/ruff.toml

Acceptance Criteria

What is the acceptance criteria?

Extra Information

Why it is needed?

It is needed to improve our code quality and robustness.

Where required files/links are

How to Test

verbose instructions for reviewer to test changes (Add before making a PR)

Discussed ~1:15 20/06/24

KathrynBaker commented 1 month ago

Is this not covered by https://github.com/ISISComputingGroup/ibex_developers_manual/wiki/Python-conventions? The title is agree, but the acceptance criteria are implement a solution - which don't quite match up.

LowriJenkins commented 6 days ago

is the first acceptence criteria: Review existing page and agree on changes, suggesting holding a meeting for the agree on changes section?

isaachilly commented 6 days ago

I think person doing ticket should make some observations and then some suggestions about the current standards beforehand but I think it may still be quite an involved meeting.

P.S. I assigned & unassigned as I saw another ticket with higher priority but your welcome to crack at it.