Skip to content

Prepare for and hold a pyright/Ruff correction day (suggested date 17th October 2024) #8527

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 tasks done
KathrynBaker opened this issue Oct 2, 2024 · 16 comments
Closed
2 tasks done
Assignees
Labels

Comments

@KathrynBaker
Copy link
Member

KathrynBaker commented Oct 2, 2024

As a developer working on IBEX I want to clear out and correct the legacy pyright/ruff errors that are in the system now that we have instigated these checks as standard so that small/urgent changes don't lead to lots of fixing.

Acceptance Criteria

  • Everyone who can spends as much time as they can on this day fixing these issues
  • The named person on this ticket provides a breakdown of the work needed to facilitate the team undertaking the task (this has to be done before the day is held)

Notes

  • The majoirty of the group are available for the whole of that day, making it a suitable choice for this kind of focussed day
@Tom-Willemsen
Copy link
Contributor

Tom-Willemsen commented Oct 7, 2024

To maximise the benefit of this day, I think we should focus on core/central pieces of code rather than beamline or device-specific stuff. Also try to target repos with higher churn as fixing issues in those repos will have biggest benefit.

Initial repos to target (we likely won't get through all of these):

  • Block server
    • This can likely be split between multiple people
  • Genie_python
    • Some bits already done, remaining bits can be split between multiple people
  • System tests
    • This can likely be split between multiple people
  • Upgrade scripts
  • Install scripts
  • Database server
  • Reflectometry server
  • IOC test framework central utilities
  • Device emulator central utilities started @jackbdoughty
    • EPICS-DeviceEmulator - PR
    • (front facing) lewis - did 3 files that are used often PR
  • Configchecker started @davidkeymer
  • Device generator
  • Top level EPICS scripts e.g. check_scripts (repo checks), build_ioc_startups

@GRyall
Copy link
Member

GRyall commented Oct 16, 2024

I suggest also checking that the device generator generates devices that are compliant (my device from the old generator is not, apologies if this has already been done)

@LowriJenkins
Copy link
Contributor

Some of the genie python files will be done by https://github.com/ISISComputingGroup/genie_python/pull/439/files as well

@davidkeymer
Copy link
Contributor

Some changes in the Config Checker repository: PR

@LowriJenkins
Copy link
Contributor

@LowriJenkins
Copy link
Contributor

Do we want to propose a follow up to this ticket to deal with the area's not dealt with during this one? i.e. Blockserver, system tests, reflectometry server, and top level epics scripts?

@GRyall
Copy link
Member

GRyall commented Oct 23, 2024

Follow on ticket: #8553

@GRyall
Copy link
Member

GRyall commented Nov 1, 2024

Remaining PRs to complete reviews for before this issue can be closed:

All others have been reviewed and merged.

@Chsudeepta
Copy link
Contributor

There are a number of repos which haven't been touched. Also for upgrade, when I created the PR, I wasn't aware that the ruleset I was using and the one builds are using aren't same. So I am doing more change to Upgrade (So the PR is really not ready).

@GRyall
Copy link
Member

GRyall commented Nov 1, 2024

There are a number of repos which haven't been touched.

Yes - that is why there is a follow on ticket. I think this ticket can be considered complete when the work done for the day has been reviewed and merged.

So the PR is really not ready

Understood - my comment was a holding one so it is clear at a glance why the ticket is still in review, not a chase.

@Chsudeepta
Copy link
Contributor

The PR for the upgrade module is now available for review --> PR_UPGRADE

@LowriJenkins
Copy link
Contributor

Are the remaining PR's here still under review? or is this a case of people all thinking someone else is looking into this?

@GRyall
Copy link
Member

GRyall commented Nov 26, 2024

The device generator one has outstanding comments. I briefly looked at the epics-upgrade one, but am not actively reviewing it.

@LowriJenkins
Copy link
Contributor

I'll have a look at the epics upgrade one then

@LowriJenkins
Copy link
Contributor

Just device generator left to do

@GRyall
Copy link
Member

GRyall commented Feb 5, 2025

completion of ISISComputingGroup/IBEX-device-generator#4 has been moved into #8553. All other PRs have been reviewed, so closing this ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

9 participants